10.01.2010, 20:09
Hi, i got bored and decided to improve my pawn skills so i went trying and studying and came up with a car rental system
So, if you already have a /help command this adds a line to it with the teleport to the rental area, which is /carrental if you dont have /help yet, it creates it with the teleport line.
After teleporting there you can enter a vehicle and rent it, or if you dont have enough cash, dont rent it. after you leave a rented vehicle, it destroys itself, spawning back at the rental agency.
Its good for RP's. Enjoy!!
Link:
.pwnhttp://solidfiles.com/d/XTxY
.amxhttp://solidfiles.com/d/AZfJ
pastebin http://pawn.pastebin.com/f49d9279b
You can modify this script if for personal use, do not publish this as your own, or publish an edited version of this as your own.
Edited Versions for Personal Use only!! By The Way, Use at your own risk, so dont blame me if it crashes your server, which i doubt. but... xD
Version 1.2
So i made it destroy the vehicles on FilterScriptExit, as i had in mind before it was sugested, but anyways thanks for the sugestion and i increased beagle price, because it was way to cheap,if this is too be used in RP server!
Link: http://solidfiles.com/d/xdr7
So, if you already have a /help command this adds a line to it with the teleport to the rental area, which is /carrental if you dont have /help yet, it creates it with the teleport line.
After teleporting there you can enter a vehicle and rent it, or if you dont have enough cash, dont rent it. after you leave a rented vehicle, it destroys itself, spawning back at the rental agency.
Its good for RP's. Enjoy!!
Link:
.pwnhttp://solidfiles.com/d/XTxY
.amxhttp://solidfiles.com/d/AZfJ
pastebin http://pawn.pastebin.com/f49d9279b
You can modify this script if for personal use, do not publish this as your own, or publish an edited version of this as your own.
Edited Versions for Personal Use only!! By The Way, Use at your own risk, so dont blame me if it crashes your server, which i doubt. but... xD
Version 1.2
So i made it destroy the vehicles on FilterScriptExit, as i had in mind before it was sugested, but anyways thanks for the sugestion and i increased beagle price, because it was way to cheap,if this is too be used in RP server!
Link: http://solidfiles.com/d/xdr7