SA-MP Forums Archive
getvehicletrailer - 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: getvehicletrailer (/showthread.php?tid=215457)



getvehicletrailer - shadowdog - 23.01.2011

hello,

i have a problem with a trucker script im currently making:
i have these 5 types of jobs:
Код:
Oil, Package, A, B, C
and then when someone walks into the job pickup they will get a checkpoint to drive to,

here's the problem:
i cant figure out how to work with getvehicletrailer.
it should be like this

Код:
job = trailer

Oil = 584
Package = 591
A = 435
B = 591
C = 450
now, when someone enters the checkpoint of the job, it should check if it has the right trailer.

i dont really know how to explain this but i hope you understand