Downloads containing Mutant.mut

Downloads
Name Author Game Mode Rating
JJ2 1.23 vanilla: Miscellaneous stuff Violet CLM Multiple N/A Download file

File preview

void onLevelBegin() {
	if (jjIsServer) {
		if (jjGameCustom != GAME::RT)
			jjChat("/rt");
		if (jjMaxHealth != 2 || jjStartHealth != 2)
			jjChat("/smhealth 2");
		jjChat("/hfk on");
		jjChat("/hfkhealthinc 1");
		jjChat("/nocarrots on");
	}
}
void onPlayer(jjPLAYER@ play) {
	if (play !is jjTokenOwner)
		for (int i = 1; i <= 9; ++i)
			play.powerup[i] = false;
	else
		for (int i = 1; i <= 9; ++i)
			if (jjWeapons[i].allowed) {
				int max = jjWeapons[i].maximum;
				if (max < 0) max = 50;
				play.ammo[i] = max;
			}
}