Some help with trucker mission script - 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: Some help with trucker mission script (
/showthread.php?tid=485995)
Some help with trucker mission script -
DeTix - 06.01.2014
Hello, I looked at this:
https://sampforum.blast.hk/showthread.php?tid=340517 and modified it a bit.
But the first one bug is: When im using like a flatbed without trailer i get the message "You need to be in a Trucker vehicle"...
And i want the enum to generate random missions, how can i do that?
Here is it:
http://pastebin.com/rcVYcYRp
Re: Some help with trucker mission script -
DeTix - 06.01.2014
Nobody?
Re: Some help with trucker mission script -
offon - 06.01.2014
Add the ID of the Flatbed to the function which checks if you are in the specific vehicle. Also, by mission you mean go from point A to point B?
If so, use the debug, when you start the game go to point A, type /save A and repeat with point B. Then add the coordinates to the mission Enum. Not sure how it works in that script tho, I am on my Smartphone so I don't have much type.
Hope I helped.