Vehicle teleport help
#4

Use IsPlayerInRangeOfPoint. Like this:

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;
Cheers.
Reply


Messages In This Thread
Vehicle teleport help - by Guso - 25.12.2009, 18:30
Re: Vehicle teleport help - by DeathOnaStick - 25.12.2009, 18:31
Re: Vehicle teleport help - by Guso - 25.12.2009, 18:32
Re: Vehicle teleport help - by DeathOnaStick - 25.12.2009, 18:36

Forum Jump:


Users browsing this thread: 1 Guest(s)