23.11.2013, 13:31
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 Код:
"CreateRental(%d, %f, %f, %f, %f, %d, %d);", iModel, X, Y, Z, Angle, -1, -1);
Код:
iModel = Vehicle Model X - Vehicle pos Y - Vehicle pos Z - Vehicle pos A - Vehicle Angle
- 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)
Код:
22/12/2012 - Initial release.
Solidfiles
Pastebin
Credits:
- Wayland - Script
- Zeek - ZCMD