Multiple IsPlayerInRangeOfPoint
#1

pawn Код:
//first gate
        if(IsPlayerInRangeOfPoint(playerid, 5.0, -363.6000100,932.7000100,12.2000000))
        {
                     SendClientMessage(playerid, -1, "lel!!!!!!!!!!!!!!!");
        }
        else
        {
                     SendClientMessage(playerid, -1, "le!!!!!!!!!!!!!!l");
        }
//second gate
        if(IsPlayerInRangeOfPoint(playerid, 5.0, -449.7998000,897.7998000,5.0000000))
        {
                     SendClientMessage(playerid, -1, "lel!!!!!");
        }
                else
                {
                     SendClientMessage(playerid, -1, "lel");
                }
I did put this on my OnPlayerUpdate, how do I check multiple IsPlayerInRangeOfPoint?
I can't do it on using the statement "else" on OnPlayerUpdate.
Reply


Messages In This Thread
Multiple IsPlayerInRangeOfPoint - by TheSimpleGuy - 30.05.2014, 16:28
Re : Multiple IsPlayerInRangeOfPoint - by S4t3K - 30.05.2014, 16:38
Re: Multiple IsPlayerInRangeOfPoint - by Konstantinos - 30.05.2014, 16:40
Re: Multiple IsPlayerInRangeOfPoint - by TheSimpleGuy - 30.05.2014, 16:42
Re : Multiple IsPlayerInRangeOfPoint - by S4t3K - 30.05.2014, 16:44
Re: Multiple IsPlayerInRangeOfPoint - by TheSimpleGuy - 30.05.2014, 16:46
Re : Multiple IsPlayerInRangeOfPoint - by S4t3K - 30.05.2014, 16:48
Re: Multiple IsPlayerInRangeOfPoint - by TheSimpleGuy - 30.05.2014, 16:51

Forum Jump:


Users browsing this thread: 6 Guest(s)