[FilterScript] Simple trucking filterscript - 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: Filterscripts (
https://sampforum.blast.hk/forumdisplay.php?fid=17)
+--- Thread: [FilterScript] Simple trucking filterscript (
/showthread.php?tid=646048)
Simple trucking filterscript -
jasperschellekens - 09.12.2017
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
Re: Simple trucking filterscript -
DonaldDuck - 12.12.2017
Nicely done.
Re: Simple trucking filterscript -
Trancedock - 12.12.2017
Quote:
Originally Posted by jasperschellekens
Code:
// This script is protected by the Copyright law. //
// This script may NEVER be redistrubuted without permission. //
|
Funny.
Gj btw.
Re: Simple trucking filterscript -
solstice_ - 12.12.2017
Good job man
Re: Simple trucking filterscript -
RogueDrifter - 12.12.2017
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.
Re: Simple trucking filterscript -
jasperschellekens - 12.12.2017
Thanks all
@RogueDrifter might add your suggestions.
Re: Simple trucking filterscript -
Xeon™ - 12.12.2017
could you post a pastebin link?
Re: Simple trucking filterscript -
jasperschellekens - 13.12.2017
Quote:
Originally Posted by Xeon™
could you post a pastebin link?
|
Specially did that for you Xeon.
https://pastebin.com/5kmJKzDf
Re: Simple trucking filterscript -
Xeon™ - 13.12.2017
Quote:
Originally Posted by jasperschellekens
|
Thanks, good job.
Re: Simple trucking filterscript -
Kaperstone - 15.12.2017
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/