30.07.2011, 18:59
2. You're using like this : if(ON BOAT -OR- IN POS -OR- etc etc)
So when you're on boat, it's returning it, even if your in a plane at that location, its returning the message and the functions you have after that message.
So when you're on boat, it's returning it, even if your in a plane at that location, its returning the message and the functions you have after that message.
pawn Код:
if(IsPlayerInRangeOfPoint(playerid, 5.0, -2230.2192, 2438.6248, 2.4934) || IsPlayerInRangeOfPoint(playerid, 5.0, -2214.2671, 2423.2520, 2.4970) || IsPlayerInRangeOfPoint(playerid, 5.0, -2249.8706, 2418.3701, 2.4971) || IsPlayerInRangeOfPoint(playerid, 5.0, -2234.0686, 2402.3960, 2.4899))
{
if(IsPlayerOnBoat(playerid))