[FilterScript] Trucking Sidejob
#1

Trucker Sidejob. This basically allows you to type /startjob whenever you enter defined vehicle and it will act as a trucking job until you have completed the necessary objectives. This was a learning curve for me and can be used as an example to newbies of how it /can/ be done. I don't claim this to be efficient or anything, I doubt it actually is, but whatever. I have added necessary comments explaining the functions for whoever it benefits. Made this in about 20-30 minutes from zero. Functions may not work properly as it has not been tested, only compiled, but I'd rather give this away instead of binning it.

Features:
- Defined trucking vehicles
- If player enters trucking vehicle, let them know they can start a trucking job
- When starting a trucking job, redirect them to a random checkpoint (8 in total - 3 in LS, 2 in SF, 3 in LV)
- When entering the checkpoint - give them a message that "the goods have been loaded" and make a new CP
- When entering the new CP, players get a random money amount (between 1-5000) and a message saying how much they earned

I think that covers it. This command also uses zcmd.inc for it's commands. Also; I would love feedback on this code, any suggestions and tips are welcome! (:

Download link: https://hostr.co/oUMRD8RkRDQu
(Tell me if it's down so I can re-upload it. Like I said, I don't know if it functions at all, but questions can be sent to me)
Reply


Messages In This Thread
Trucking Sidejob - by Mionee - 14.01.2014, 09:11
Re: Trucking Sidejob - by Mattakil - 15.01.2014, 05:07
Re: Trucking Sidejob - by Mionee - 15.01.2014, 05:08
Re: Trucking Sidejob - by John_Harper - 16.01.2014, 14:32
Re: Trucking Sidejob - by NTVbeleza - 05.04.2014, 04:09
Re: Trucking Sidejob - by Mionee - 05.04.2014, 04:19
Re: Trucking Sidejob - by ParadiseRP - 05.04.2014, 12:16
Re: Trucking Sidejob - by Warmonger1984 - 05.04.2014, 13:57

Forum Jump:


Users browsing this thread: 1 Guest(s)