SA-MP Forums

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

Reply
 
Thread Tools Display Modes
Old 19/01/2017, 10:37 PM   #1
JaKe Elite
High-roller
 
JaKe Elite's Avatar
 
Join Date: Apr 2012
Location: Philippines
Posts: 3,685
Reputation: 485
Post Parking Meters [Good for RP]

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

PHP Code:
#define             CASH_PER_MINUTES            10        // $10 per minutes 
If you don't want to have $10 as the default cash for parking meters, per minute.

Screenshots




Required Plugins/Include

sscanf2 - Originally by ******
streamer - by Incognito
zcmd - by Zeex

Download

Pastebin
__________________


making a comeback soon
JaKe Elite is offline   Reply With Quote
Old 20/01/2017, 01:47 AM   #2
muzammilfreeman
Huge Clucker
 
muzammilfreeman's Avatar
 
Join Date: Dec 2014
Location: In The World Of Roleplay.
Posts: 242
Reputation: 44
Default Re: Parking Meters [Good for RP]

Sounds, great for RP servers. Nice work man!
__________________
Server Information:

SA-MP: samp.ne-rp.net
FORUMS: www.ne-rp.net/forums
TeamSpeak3: ts.ne-rp.net
UCP: cp.ne-rp.net
Shop: shop.ne-rp.net

JOIN NOW TO EXPLORE AMAZING FEATURES[STABLE 40+ DAILY PLAYERBASE]
muzammilfreeman is offline   Reply With Quote
Old 21/01/2017, 01:31 AM   #3
Riccardomen
Little Clucker
 
Join Date: Aug 2012
Posts: 21
Reputation: 1
Default Re: Parking Meters [Good for RP]

Nice i love it
Riccardomen is offline   Reply With Quote
Old 21/01/2017, 09:29 AM   #4
OTACON
Banned
 
Join Date: Dec 2010
Location: mongolia
Posts: 4,930
Reputation: 569
Default Respuesta: Parking Meters [Good for RP]

Easy, originality.

+10 rep.
OTACON is offline   Reply With Quote
Old 25/01/2017, 07:24 PM   #5
mdavid
Little Clucker
 
mdavid's Avatar
 
Join Date: Dec 2013
Location: Ukraine
Posts: 10
Reputation: 4
Default Re: Parking Meters [Good for RP]

after /createparkmeter nothing happends...

updated all plugins and includes...compiled the pwn file anyways it has no effect... any ideas why it is not working?
__________________
mdavid is offline   Reply With Quote
Old 25/01/2017, 07:30 PM   #6
PaRking
Banned
 
Join Date: Jan 2017
Location: 198.100.144.190:9865
Posts: 38
Reputation: 12
Default Re: Parking Meters [Good for RP]

my name xD good fs + rep
PaRking is offline   Reply With Quote
Old 26/01/2017, 12:37 PM   #7
JaKe Elite
High-roller
 
JaKe Elite's Avatar
 
Join Date: Apr 2012
Location: Philippines
Posts: 3,685
Reputation: 485
Default Re: Parking Meters [Good for RP]

Lol, thanks for the feedback guys.

Quote:
Originally Posted by mdavid View Post
after /createparkmeter nothing happends...

updated all plugins and includes...compiled the pwn file anyways it has no effect... any ideas why it is not working?
Does it said something when you use it on the chat or does server_log report any errors? (Make sure to recompile the script too when updating the plugins/includes)
__________________


making a comeback soon
JaKe Elite is offline   Reply With Quote
Old 26/01/2017, 02:42 PM   #8
Ultraz
Huge Clucker
 
Ultraz's Avatar
 
Join Date: Aug 2016
Location: Egypt
Posts: 254
Reputation: 22
Default Re: Parking Meters [Good for RP]

Very nice script JaKe nice to see your scripts again
Ultraz is offline   Reply With Quote
Old 26/01/2017, 09:30 PM   #9
JaKe Elite
High-roller
 
JaKe Elite's Avatar
 
Join Date: Apr 2012
Location: Philippines
Posts: 3,685
Reputation: 485
Default Re: Parking Meters [Good for RP]

I know I could have lowered the string cells and all but yeah that is kind of my habbit, thank you for the heads up. I will tryna lowering the cell sizes from now on my other scripts, This script is made during these times when I was bored.
__________________


making a comeback soon
JaKe Elite is offline   Reply With Quote
Old 26/01/2017, 10:04 PM   #10
Hubble
Banned
 
Join Date: Jan 2017
Posts: 9
Reputation: 0
Default Re: Parking Meters [Good for RP]

Can I create video with it system for the Spanish Comunity? Pleasee!
Hubble 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
[Map] Turtles and Deers - Parking/Cages [Good for RP] IDarkness Maps 31 19/09/2014 07:42 PM
mileage in meters Skibi184 Scripting Help 2 17/04/2014 10:30 PM
[Map] HQ parking good for RP servers Hazko Maps 1 15/07/2013 05:42 AM
Mapped Parking Meters Problem Jay_Dixon Scripting Help 2 23/01/2013 10:54 PM


All times are GMT. The time now is 03:58 AM.


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