30.05.2014, 16:42
Okay, my point is like Konstantinos said, checking for different points and do different things. My thing is, I have multiple gates.
Yes, I can do this, but the problem is, what if they're not in range anymore? How do I reclose them?
pawn Код:
if (IsPlayerInRangeOfPoint(playerid, range, x, y, z))
{
// code..
}
else if (IsPlayerInRangeOfPoint(playerid, range, x, y, z))
{
// code..
}
else if (IsPlayerInRangeOfPoint(playerid, range, x, y, z))
{
// code..
}