13.05.2011, 15:51
Hello!
Okay, that ^ is a start, but not all.
on top under includes and stuff :
OnGameModeInit
This comes anywhere outside other publics.
OnGameModeExit..
Should work just fine. :P
Okay, that ^ is a start, but not all.
on top under includes and stuff :
pawn Код:
new KillTimer;
pawn Код:
KillTimer = SetTimer("KillTimer", 5000, 0);
pawn Код:
forward KillTimer();
public KillTimer()
{
new Float:HP;
GetPlayerHealth(playerid, HP);
SetPlayerHealth(playerid, HP -5);
}
//Other stuff..
pawn Код:
KillTimer(KillTimer);