30.04.2011, 18:44
adm_Rent
Oh, so I was bored and I made this in 20 mins.
What is this?
With adm_Rent you can create easily rental vehicles, this can help you to develop your roleplay server and system, the rent cost is flexible and customizable.
How to add rental cars?
You can create rental vehicles with the following function:
Place that code under OnFilterScriptInit allocated in this code and that will be all!
Commands
There are various commands in this script:
/rentcar : rent a vehicle for the defined cost
/unrentcar : unrent your vehicle
/exitrental : used to exit a rental vehicle if you're frozen
/addrental : commands for admins to generate a 'CreateRentalVehicle' function
Features
- Auto unrent on disconnect
- Easy to change rent cost
- Easy to add rental vehicles
- Can't rent someone's else vehicle
- Utilizes zcmd for faster commands
If you encounter any bug simply report it here, also if you have any questions..
Download
http://pastebin.com/Zp8ZKsg8
Download the link, add your rental vehicles and compile!
Oh, so I was bored and I made this in 20 mins.
What is this?
With adm_Rent you can create easily rental vehicles, this can help you to develop your roleplay server and system, the rent cost is flexible and customizable.
How to add rental cars?
You can create rental vehicles with the following function:
pawn Code:
CreateRentalVehicle(modelid, x, y, z, angle, color1, color2);
Commands
There are various commands in this script:
/rentcar : rent a vehicle for the defined cost
/unrentcar : unrent your vehicle
/exitrental : used to exit a rental vehicle if you're frozen
/addrental : commands for admins to generate a 'CreateRentalVehicle' function
Features
- Auto unrent on disconnect
- Easy to change rent cost
- Easy to add rental vehicles
- Can't rent someone's else vehicle
- Utilizes zcmd for faster commands
If you encounter any bug simply report it here, also if you have any questions..
Download
http://pastebin.com/Zp8ZKsg8
Download the link, add your rental vehicles and compile!