SA-MP Forums Archive
[Question] Truck Loads - 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)
+--- Thread: [Question] Truck Loads (/showthread.php?tid=317629)



[Question] Truck Loads - tony_fitto - 12.02.2012

Hey Guys,

I've been working on some trucking missions for my game mode, but there are one thing I never understanded or figure out if it works in SA:MP at all.

If I attach a trailer to my truck and drive over to the HQ to load my truck up, is it possible to make the trailer heavyer to make the truck much slower when I drive it so it's like more realistic when you have a full load or not.

-Best Regards
Tony,


Re: [Question] Truck Loads - 2KY - 12.02.2012

You can use SetPlayerVelocity for this, take a look at a speed limiter filterscript for an example.