SA-MP Forums

Go Back   SA-MP Forums > SA-MP Scripting and Plugins > Filterscripts

Reply
 
Thread Tools Display Modes
Old 09/12/2017, 05:29 PM   #1
jasperschellekens
Gangsta
 
jasperschellekens's Avatar
 
Join Date: Dec 2016
Location: Gehenna
Posts: 682
Reputation: 43
Default Simple trucking filterscript

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

Attached Files
File Type: amx JaspersTruckingScript.amx (188.2 KB, 34 views)
File Type: pwn JaspersTruckingScript.pwn (182.9 KB, 83 views)

Last edited by jasperschellekens; 30/12/2017 at 04:52 PM.
jasperschellekens is offline   Reply With Quote
Old 12/12/2017, 01:34 PM   #2
DonaldDuck
Banned
 
Join Date: Jun 2017
Location: Phillipines
Posts: 361
Reputation: 91
Default Re: Simple trucking filterscript

Nicely done.
DonaldDuck is offline   Reply With Quote
Old 12/12/2017, 02:08 PM   #3
Trancedock
Little Clucker
 
Join Date: Nov 2017
Posts: 8
Reputation: 0
Default Re: Simple trucking filterscript

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.
Trancedock is offline   Reply With Quote
Old 12/12/2017, 02:10 PM   #4
willbedie
Huge Clucker
 
willbedie's Avatar
 
Join Date: Feb 2016
Location: Albania
Posts: 416
Reputation: 26
Default Re: Simple trucking filterscript

Good job man
willbedie is online now   Reply With Quote
Old 12/12/2017, 03:21 PM   #5
RogueDrifter
High-roller
 
RogueDrifter's Avatar
 
Join Date: Dec 2017
Location: SA-MP Drifting world.
Posts: 1,142
Reputation: 344
Default Re: Simple trucking filterscript

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.
__________________
Quote:
I'm not using the forum to release stuff anymore, if you want updates for my releases or to check my new releases check the links below >
Quote:
Originally Posted by Escobar ⚠
Life sucked me in and shat me on the cruel world.

[Github]:Link [Gists]:Link [Forum]:Link [Server]:Link [Discord]:Link


RogueDrifter is offline   Reply With Quote
Old 12/12/2017, 05:48 PM   #6
jasperschellekens
Gangsta
 
jasperschellekens's Avatar
 
Join Date: Dec 2016
Location: Gehenna
Posts: 682
Reputation: 43
Default Re: Simple trucking filterscript

Thanks all
@RogueDrifter might add your suggestions.
jasperschellekens is offline   Reply With Quote
Old 12/12/2017, 06:20 PM   #7
Xeon™
Banned
 
Join Date: Jul 2017
Location: Earth
Posts: 498
Reputation: 96
Default Re: Simple trucking filterscript

could you post a pastebin link?
Xeon™ is offline   Reply With Quote
Old 13/12/2017, 01:22 PM   #8
jasperschellekens
Gangsta
 
jasperschellekens's Avatar
 
Join Date: Dec 2016
Location: Gehenna
Posts: 682
Reputation: 43
Default Re: Simple trucking filterscript

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

https://pastebin.com/5kmJKzDf
jasperschellekens is offline   Reply With Quote
Old 13/12/2017, 07:12 PM   #9
Xeon™
Banned
 
Join Date: Jul 2017
Location: Earth
Posts: 498
Reputation: 96
Default Re: Simple trucking filterscript

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

https://pastebin.com/5kmJKzDf
Thanks, good job.
Xeon™ is offline   Reply With Quote
Old 15/12/2017, 06:17 AM   #10
Kaperstone
Banned
 
Join Date: May 2011
Location: Russia
Posts: 3,348
Reputation: 824
Default Re: Simple trucking filterscript

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/
Kaperstone is offline   Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
[FilterScript] Simple DM FilterScript MiGu3X Filterscripts 20 17/03/2014 08:58 PM
[Map] Simple, But good for trucking! [FoR]EveR Maps 3 29/08/2013 06:24 PM
[FilterScript] My first simple FilterScript! Rudy_ Filterscripts 11 08/12/2011 02:42 PM
[FilterScript] Simple Filterscript GAMER_PS2 Filterscripts 12 03/12/2011 09:35 AM


All times are GMT. The time now is 01:46 AM.


Powered by vBulletin® Version 3.8.6
Copyright ©2000 - 2018, Jelsoft Enterprises Ltd.