IsPlayerInArea help
#7

Do it like this:

Make an global bool (example: new bool:PlayerIsInArea[MAX_PLAYERS] = false;)
Then, with "AreaCheck", it'll check if the player is in the area. If the player is in the area, AND the 'PlayerIsInArea[playerid]' is false, send the player an message and set it to true. If he's in the area, and the bool is true, he won't send the message.
And as last: if the player is not in the area, and the bool is true, send an message that he left and set the bool back to false
Reply


Messages In This Thread
IsPlayerInArea help - by [BFT]eagles22 - 07.01.2011, 02:18
Re: IsPlayerInArea help - by Alex_Valde - 07.01.2011, 02:22
Re: IsPlayerInArea help - by [BFT]eagles22 - 07.01.2011, 02:26
Re: IsPlayerInArea help - by admantis - 07.01.2011, 02:35
Re: IsPlayerInArea help - by [WF]Demon - 07.01.2011, 02:37
Re: IsPlayerInArea help - by [BFT]eagles22 - 07.01.2011, 04:05
Re: IsPlayerInArea help - by Kwarde - 07.01.2011, 04:42
Re: IsPlayerInArea help - by [BFT]eagles22 - 08.01.2011, 15:29
Re: IsPlayerInArea help - by Kwarde - 08.01.2011, 16:42
Re: IsPlayerInArea help - by [BFT]eagles22 - 08.01.2011, 17:43

Forum Jump:


Users browsing this thread: 1 Guest(s)