SA-MP Forums Archive
Simple question - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Server (https://sampforum.blast.hk/forumdisplay.php?fid=6)
+--- Forum: Server Support (https://sampforum.blast.hk/forumdisplay.php?fid=19)
+--- Thread: Simple question (/showthread.php?tid=552560)



Simple question - AdytzaSS - 25.12.2014

Hello guys , how can i check if the car is in point x,y,z ?


Re: Simple question - JaydenJason - 25.12.2014

Quote:
Originally Posted by AdytzaSS
Посмотреть сообщение
Hello guys , how can i check if the car is in point x,y,z ?
Код:
if(IsPlayerInRangeOfPoint(playerid, range, x, y, z)) && if(playerState == PLAYER_STATE_DRIVER)
If I'm right


Re: Simple question - AdytzaSS - 25.12.2014

How can i verify if a trailer is attached to a car ?