15.07.2011, 19:09
That's incorrect.
And now the regeneration part:
pawn Код:
//global vars:
new count, drugtimer;
//command
drugtimer = SetTimer("Regeneration",2000,false);
pawn Код:
public Regeneration() {
if(count == 15) return KillTimer(drugtimer);
//whatever is in here
count++;
return 1;
}