If isplayerinrangeofpoint
#3

Quote:
Originally Posted by Oficer
Посмотреть сообщение
Код:
CMD: testing(playerid, params[])
        {
              if(IsPlayerInRangeOfPoint(playerid, 5, 2102.4290, 2257.4309, 11.0234)) //(playerid, id, x, y, z)
                {
                        ShowModelSelectionMenu(playerid, skinlist, "skins");

                }
                else 
                {
                        SendClientMessage(playerid, 0xFF3333FF, "Error");
                }
                return 1;
}
How I can add more IsPlayerInRangeOfPoint ? for example: if(IsPlayerInRangeOfPoint(playerid, 5, 2368.8657, 1983.3940, 10.8203)) ?
use ||

PHP код:
if(IsPlayerInRangeOfPoint(playerid52102.42902257.430911.0234) || IsPlayerInRangeOfPoint(playerid52368.86571983.394010.8203)) 
or

Quote:
Originally Posted by ISmokezU
Посмотреть сообщение
Could make an array with all of the locations then check in that one state if their in range of the positions in the array else ...
Reply


Messages In This Thread
If isplayerinrangeofpoint - by Oficer - 25.11.2016, 21:34
Re: If isplayerinrangeofpoint - by ISmokezU - 25.11.2016, 21:37
Re: If isplayerinrangeofpoint - by Alvitr - 25.11.2016, 21:44
Re: If isplayerinrangeofpoint - by Oficer - 25.11.2016, 21:48

Forum Jump:


Users browsing this thread: 1 Guest(s)