Capture zones
#7

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
Код:
captimer = SetTimer("capturetimer",30000,false);
> OnPlayerLeaveCheckpoint kill the timer
Код:
KillTimer(captimer);
> If the timer is over, use
Код:
forward capturetimer(playerid);
public capturetimer(playerid)
{ 
 // set armor, score and health here
}
Reply


Messages In This Thread
Capture zones - by Iron3man - 31.03.2013, 11:43
Re: Capture zones - by Red_Dragon. - 31.03.2013, 11:47
Re: Capture zones - by Iron3man - 31.03.2013, 12:00
Re: Capture zones - by Iron3man - 01.04.2013, 03:45
Re: Capture zones - by Azazelo - 01.04.2013, 03:52
Re: Capture zones - by Iron3man - 01.04.2013, 04:54
AW: Capture zones - by [AK]Nazgul - 01.04.2013, 06:03
Re: Capture zones - by Sting. - 01.04.2013, 06:41
Re: Capture zones - by Iron3man - 01.04.2013, 15:12
Re: Capture zones - by Iron3man - 01.04.2013, 15:53

Forum Jump:


Users browsing this thread: 3 Guest(s)