19.01.2017, 22:37
It took me about 10-15 minutes to work on this script, The reason why I made this script; I don't know, perhaps I am bored or something? Well anyways, I can't use this script on anything since I am not running a roleplay server. The idea of this script came from the roleplay server I am playing on, they had this system 2 years ago but they removed it.
Basically, You create a parking meter (The object's rotation Z always depends on where you are facing when you created the parking meter) - After created the parking meter you may now use it with /insertparkmeter, You can also erase the parking meter without having a problem. That is all about it, there are no other complex stuffs beside that (however this script uses SQLite)
Commands
* /createparkmeter = Inserts a new parking meter (Automatically assigns the ID, starting ID is #0 = The rotation Z of the object always depends on where your character is facing to)
* /eraseparkmeter [ID] = Erases the parking meter ID inserted in the parameter
* /insertparkmeter [minutes] = Sets a new parking minute (CASH_PER_MINUTE per minutes, default CASH_PER_MINUTE is $10)
Notes
You might wanna change this
If you don't want to have $10 as the default cash for parking meters, per minute.
Screenshots
![](http://i.imgur.com/OvHkkrS.jpg)
![](http://i.imgur.com/tlEbDUr.jpg)
Required Plugins/Include
sscanf2 - Originally by ******
streamer - by Incognito
zcmd - by Zeex
Download
Pastebin
Basically, You create a parking meter (The object's rotation Z always depends on where you are facing when you created the parking meter) - After created the parking meter you may now use it with /insertparkmeter, You can also erase the parking meter without having a problem. That is all about it, there are no other complex stuffs beside that (however this script uses SQLite)
Commands
* /createparkmeter = Inserts a new parking meter (Automatically assigns the ID, starting ID is #0 = The rotation Z of the object always depends on where your character is facing to)
* /eraseparkmeter [ID] = Erases the parking meter ID inserted in the parameter
* /insertparkmeter [minutes] = Sets a new parking minute (CASH_PER_MINUTE per minutes, default CASH_PER_MINUTE is $10)
Notes
You might wanna change this
PHP Code:
#define CASH_PER_MINUTES 10 // $10 per minutes
Screenshots
![](http://i.imgur.com/OvHkkrS.jpg)
![](http://i.imgur.com/tlEbDUr.jpg)
Required Plugins/Include
sscanf2 - Originally by ******
streamer - by Incognito
zcmd - by Zeex
Download
Pastebin