SA-MP Forums Archive
Truck driver - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+---- Forum: Help Archive (https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: Truck driver (/showthread.php?tid=189930)



Truck driver - Osviux - 13.11.2010

I have created a truck driver job. Everything works fine. I enter a truck and a CheckPoint appears, but I want that a checkpoint would appear then, when a player hooks a trailor. How to do this?


Re: Truck driver - armyoftwo - 13.11.2010

Use this to check if the vehicle has a trailer IsTrailerAttachedToVehicle(vehicleid)
put everything under 1 sec timer and then check if the vehicle has a trailer and then show the CP


Re: Truck driver - Osviux - 13.11.2010

Ok, just what i need, thanks.