Safe zone
#2

your assigning them to 100 everytime the timer is called.. make a array like InArea[MAX_PLAYERS] and make it 1 if their in and 0 if their not, then in the else side, if InArea[playerid] == 1 give them 100 and set InArea[playerid] = 0. that way when they leave it sets it to 100 then will not give them anymore health while outside the area. Dont forget to make InArea[playerid] == 1 when they reenter.
Reply


Messages In This Thread
Safe zone - by fiordas - 15.02.2009, 20:04
Re: Safe zone - by Pghpunkid - 15.02.2009, 20:07
Re: Safe zone - by Salmon - 15.02.2009, 20:09
Re: Safe zone - by fiordas - 15.02.2009, 20:31
Re: Safe zone - by Pghpunkid - 15.02.2009, 20:36
Re: Safe zone - by fiordas - 15.02.2009, 20:38
Re: Safe zone - by [RP]Rav - 15.02.2009, 20:43
Re: Safe zone - by fiordas - 15.02.2009, 20:47

Forum Jump:


Users browsing this thread: 3 Guest(s)