[FilterScript] Simple trucking filterscript
#1

Simple Trucking filterscript
Hello there,
I did create a simple trucking system which is perfectly as a roleplay server job.
Feel free to use it and edit it to your needs.

You need the following plugins/includes for this script.
#include <a_samp>
#include <streamer>
#include <zcmd>
#include <sscanf2>

Code:
// This script is protected by the Copyright law.                             //
// This script may NEVER be redistrubuted without permission.                 //
This work is licensed under a Creative Commons Attribution-NonCommercial-NoDerivatives 4.0 International License.
Features
- Each delivery weights X kg's and max truck weight is 40 tons.
- About 12 trucking depots ALL over the map
- Feature for cops to check your weight. /checkweight
- Feature for cops to seize the cargo(destroy it) only works if truck is overloaded. More then 40k is overloaded. /seizecargo
- Option to detach trailer /detach
- Option to view the vehicles cargo. /cargo
- Trailers placed at trucking locations thanks to DutchBoy
- This job can be done using 4 different vehicles
403 - Linerunner , requires trailer attached to truck
514 - Petroltruck, requires trailer attached to truck
515 - Roadtrain, requires trailer attached to truck
573 - Duneride no trailer required.

Things you should change:

/seizecargo and /checkcargo should be cop commands.
You should add something in the commands like:
if(!IsPlayerCop(playerid)return SendClientMessage(playerid,GREY,"You are not a cop");
Or however your cop system works, this is different for everyone.

Screenshots
http://losangeles-roleplay.com/trucking/1.png
http://losangeles-roleplay.com/trucking/2.png
http://losangeles-roleplay.com/trucking/3.png
http://losangeles-roleplay.com/trucking/4.png
http://losangeles-roleplay.com/trucking/5.png

Download
Pastebin

Reply
#2

Nicely done.
Reply
#3

Quote:
Originally Posted by jasperschellekens
View Post
Code:
// This script is protected by the Copyright law.                             //
// This script may NEVER be redistrubuted without permission.                 //
Funny.

Gj btw.
Reply
#4

Good job man
Reply
#5

Gj mate looks good, will test it once i'm home.
EDIT: i have a few suggestions to take away the simple typical delivery system that's everywhere, try adding a timer to the destination points and test it yourself to make it possible & sharp, also textdraws for timer/weight/reward etc... but overall well done +REP.
Reply
#6

Thanks all
@RogueDrifter might add your suggestions.
Reply
#7

could you post a pastebin link?
Reply
#8

Quote:
Originally Posted by Xeon™
View Post
could you post a pastebin link?
Specially did that for you Xeon.

https://pastebin.com/5kmJKzDf
Reply
#9

Quote:
Originally Posted by jasperschellekens
View Post
Specially did that for you Xeon.

https://pastebin.com/5kmJKzDf
Thanks, good job.
Reply
#10

Quote:

// This script is protected by the Copyright law. //
// This script may NEVER be redistrubuted without permission. //

Specify a license
https://choosealicense.com/
https://choosealicense.com/licenses/
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)