Multiple IsPlayerInRangeOfPoint
#2

Simply use a traditionnal "or" ("||")

PHP код:

if(IsPlayerInRangeOfPoint(playerid5.0, -363.6000100,932.7000100,12.2000000) || IsPlayerInRangeOfPoint(playerid5.0, -449.7998000,897.7998000,5.0000000)) return SCM(playerid, -1"you're in a 5.0 unities range of a gate !"); 
But for multiple checks, get prepared to a "input line too long (after subsitution)" error.
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: 4 Guest(s)