The Death Timer!!
#3

Hello!

Okay, that ^ is a start, but not all.


on top under includes and stuff :
pawn Код:
new KillTimer;
OnGameModeInit
pawn Код:
KillTimer = SetTimer("KillTimer", 5000, 0);
This comes anywhere outside other publics.
pawn Код:
forward KillTimer();
public KillTimer()
{
new Float:HP;
GetPlayerHealth(playerid, HP);
SetPlayerHealth(playerid, HP -5);
}

//Other stuff..
OnGameModeExit..

pawn Код:
KillTimer(KillTimer);
Should work just fine. :P
Reply


Messages In This Thread
The Death Timer!! - by Swiftz - 13.05.2011, 15:42
Re: The Death Timer!! - by Hobod - 13.05.2011, 15:44
Re: The Death Timer!! - by [SU]Balli - 13.05.2011, 15:51
Re: The Death Timer!! - by __ - 13.05.2011, 15:54
Re: The Death Timer!! - by Laronic - 13.05.2011, 15:59
Re: The Death Timer!! - by __ - 13.05.2011, 16:01
Re: The Death Timer!! - by Laronic - 13.05.2011, 16:03
Re: The Death Timer!! - by Swiftz - 13.05.2011, 16:12
Re: The Death Timer!! - by Laronic - 13.05.2011, 16:14
Re: The Death Timer!! - by Swiftz - 13.05.2011, 16:19

Forum Jump:


Users browsing this thread: 7 Guest(s)