Car Coords?
#1

How do i get the Coordinates of like the back of the car?
Reply
#2

https://sampwiki.blast.hk/wiki/Function:GetVehiclePos

Then you want to subtract the right coordinate and experiment a bit until you found the correct spot.

An example
pawn Код:
GetVehiclePos(vehicleid, X, Y, Z);

if(IsPlayerInRangeOfPoint(playerid, 4.0 , X - 2, Y, Z)) {
// Code
}
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)