[FilterScript] [JOB] Dynamic Garbage Collector
#1

Introduction
Hello. This is a simple job that is entirely dynamic and based on if people work or not on it. Currently there is only 1 part implemented of this system, I am working on the second part of it which will allow players to drive the trash to a factory to get it burned and earn more cash.


How it works

:Server Sided:
-Upon server start/restart/filterscript load trashcans will be spawned with random amount of trash in them
-From 1-10 trash will be filled to every trashcan every 4 minutes
-Price of trash will change every 5 minutes. Price is float therefore it can be for example 1.22$ or 4.35$. Price can be minimum 1.00$ and maximum 5.00$ for each unit of trash. So the price is entirely dynamic and changes every 5 minutes so its best to keep your trash on you and sell at X time to earn more.
-Factory (dumpyard) can hold maximum 10.000 trash at the time

:Player Sided:
Step 1: Walk to some container located in Los Santos (there are 21 spawned at the moment) and type /emptycan. You can have maximum 200 trash on you, therefore you can pick trash from more containers before selling the trash.
Step 2: Once ready go to the trash yard at Los Santos and sell the trash. If the factory is full you wont be able to sell the trash.
Step 3: Depending on your skill you will be charged certain Tax. If you progress to a higher rank there will be less tax. Simple as that!


Commands (v.1.0 only, see my posts on the thread for more)
Current commands are
-/collecttrash <- used to empty a container if there is any trash in it
-/selltrash is used to sell your trash at the LS dumpyard
-/mytrash is used will show you your statistics. If you want to save them, just open up the script and there are notes telling you what to save from it.


Credits
****** for many stuff
Zeex for ZCMD
Incognito for the streamer
Twinki for scripting

Installation
Add filterscripts SAMP_Release into your server.cfg
Add plugins streamer into your server.cfs and add streamer.dll or streamer.so (so for linux) to your plugins folder. Streamer can be found here (https://sampforum.blast.hk/showthread.php?tid=102865)
Add ZCMD.inc to your pawno/include folder. ZCMD can be found here (http://www.filedropper.com/showdownload.php/zcmd)


Download
v.1.1: http://pastebin.com/gRd5yf8n
v.1.1: http://www.filedropper.com/showdownl...ilterscripts_1

v.1.0 http://www.filedropper.com/filterscripts
v.1.0 http://pastebin.com/xeNnPU3R


Screenshots
http://i.imgur.com/0qEi8Vp.png
http://i.imgur.com/OYJK5pB.jpg
http://s32.postimg.org/8ro9ebnlt/sa_mp_004.png
http://s32.postimg.org/8u3jnf1vl/sa_mp_005.png
Reply


Messages In This Thread
[JOB] Dynamic Garbage Collector - by TwinkiDaBoss - 21.05.2016, 17:00
Re: [JOB] Dynamic Garbage Collector - by TwinkiDaBoss - 21.05.2016, 17:47
Respuesta: [JOB] Dynamic Garbage Collector - by Z0MBERTH - 21.05.2016, 21:13
Re: Respuesta: [JOB] Dynamic Garbage Collector - by TwinkiDaBoss - 21.05.2016, 23:14
Respuesta: [JOB] Dynamic Garbage Collector - by wharlos - 22.05.2016, 00:38
Re: Respuesta: [JOB] Dynamic Garbage Collector - by TwinkiDaBoss - 22.05.2016, 01:01
Re: [JOB] Dynamic Garbage Collector - by Learn - 25.12.2016, 23:56
Re: [JOB] Dynamic Garbage Collector - by coool - 27.12.2016, 09:14
Re: [JOB] Dynamic Garbage Collector - by N0FeaR - 28.08.2017, 18:49
Re: [JOB] Dynamic Garbage Collector - by Astonish - 31.08.2017, 20:32
Re: [JOB] Dynamic Garbage Collector - by BadJih - 05.09.2017, 17:59
Re: [JOB] Dynamic Garbage Collector - by KaisAggarwal - 05.09.2017, 18:57

Forum Jump:


Users browsing this thread: 1 Guest(s)