[FilterScript] jRental - Rentable cars | 1 Rental = 1 Line |
#1

Hello SA:MPers. I've made a Car rental system which is very easy to use. When you're ingame you type /addrental in the game, it'll send a printf to the console, giving you the required information to add under OnFilterScriptInit.
pawn Code:
"CreateRental(%d, %f, %f, %f, %f, %d, %d);", iModel, X, Y, Z, Angle, -1, -1);
Code:
iModel = Vehicle Model
X - Vehicle pos
Y - Vehicle pos
Z - Vehicle pos
A - Vehicle Angle
Pictures aren't a big requirement because theres not much to show.

Features:
- Auto unrent on disconnect
- Easy to add rental vehicles
- Can't rent someone's else vehicle
- Change rental price at the top of the script.

Commands:
- /rentcar
- /unrentcar
- /exitrental
- /addrental(RCON Only)

Code:
22/12/2012 - Initial release.
Download:
Click me.
- No mirrors needed.

Credits:
- Zeek :: ZCMD.
- Jernu :: Script.

If you'd like me to add any more information, please say so.
Reply


Messages In This Thread
jRental - Rentable cars | 1 Rental = 1 Line | - by Jernu - 22.12.2012, 12:25
Re: jRental - Rentable cars | 1 Rental = 1 Line | - by MiniShark - 22.12.2012, 12:26

Forum Jump:


Users browsing this thread: 1 Guest(s)