Is player near a vehicle ID.
#1

How can I say hello if the person is near a Vehicle with the ID 408.
Reply
#2

Maybe
pawn Код:
new Float:XXO, Float:YXO, Float:ZXO;
GetVehiclePos(408, XXO, YXO, ZXO);
if(IsPlayerInRangeOfPoint(playerid, 5.0, XXO, YXO, ZXO))
{
//do something
}
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)