SA-MP Forums Archive
garbage collector job - 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: garbage collector job (/showthread.php?tid=662116)



garbage collector job - luise120 - 24.12.2018

Hello Community, i am trying to make a garbage collector job and i want to make that if someone enter to a dumpster truck and type the command he can only complete the job with that truck until he finish the job also if the player tries to complete the job with another vehicle with the player having a job in progress or with a vehicle who has a job in progress with other player, the script kick the player who enter the vehicle of the truck he tries to enter.

When the player finish the job, the vehicle won't have a job in progress until someone enters and type the command to begin the job.

P.S: sorry for the noob question i just have 4 days in samp scripting .

Link of my code: https://pastebin.com/1VHVh90u