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 for this script.
#include <a_samp>
#include <streamer>
#include <zcmd>
#include <sscanf2>
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
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 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. //
- 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