All pastes #140238 Raw Edit

Stuff

public text v1 · immutable
#140238 ·published 2006-08-20 10:11 UTC
rendered paste body
SetTimer("GenerateHP()", 60000, 1);

public GenerateHP() {
	new Float:phealth;
	for(new z = 0; z < MAX_PLAYERS; z++ ) {
	    if(gTeam[z] == SAILOR) {
	        if(GetPlayerHealth(z, phealth) >= 90 ) {
	            SetPlayerHealth(z, 100);
			else if(GetPlayerHealth(z, phealth) <= 90 ) {
			    SetPlayerHealth(z, phealth+10);
		}
	}
}