[FilterScript] jRental - Rentable cars | 1 Rental = 1 Line | - Printable Version
+- SA-MP Forums Archive (
https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (
https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Filterscripts (
https://sampforum.blast.hk/forumdisplay.php?fid=17)
+--- Thread: [FilterScript] jRental - Rentable cars | 1 Rental = 1 Line | (
/showthread.php?tid=401294)
jRental - Rentable cars | 1 Rental = 1 Line | -
Jernu - 22.12.2012
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.
Re: jRental - Rentable cars | 1 Rental = 1 Line | -
MiniShark - 22.12.2012
I'll test it.