25.12.2009, 18:36
Use IsPlayerInRangeOfPoint. Like this:
Cheers.
pawn Код:
new Float:vX, Float:vY, Float:vZ;
GetVehiclePos(GetPlayerVehicleID(playerid), vX, vY, vZ);
if(IsPlayerInRangeOfPoint(*some ID*, 1.0, vX, vY, vZ)) //Do Something;