01.04.2013, 06:03
It's not hard
> get the coords of the capture point
> place a checkpoint there(Use a streamer if you need more than one checkpoint at a time)
> OnPlayerEnterCheckpoint set a timer of 30 seconds
> OnPlayerLeaveCheckpoint kill the timer
> If the timer is over, use
> get the coords of the capture point
> place a checkpoint there(Use a streamer if you need more than one checkpoint at a time)
> OnPlayerEnterCheckpoint set a timer of 30 seconds
Код:
captimer = SetTimer("capturetimer",30000,false);
Код:
KillTimer(captimer);
Код:
forward capturetimer(playerid); public capturetimer(playerid) { // set armor, score and health here }