06.04.2011, 18:30
Hi, i have problem, i dont know how to create, that check or player is in point or not of 5 coordinates.
Sorry, my bad english
Sorry, my bad english
stock IsPlayerInMyRange(playerid)
{
if(IsPlayerInRangeOfPoint(playerid, RANGE, X, Y, Z)) {
return true;
}
if(IsPlayerInRangeOfPoint(playerid, RANGE, X, Y, Z)) {
return true;
}
if(IsPlayerInRangeOfPoint(playerid, RANGE, X, Y, Z)) {
return true;
}
if(IsPlayerInRangeOfPoint(playerid, RANGE, X, Y, Z)) {
return true;
}
if(IsPlayerInRangeOfPoint(playerid, RANGE, X, Y, Z)) {
return true;
}
return false;
}
if(IsPlayerInMyRange(playerid)) {
//Functions
}