SA-MP Forums

Go Back   SA-MP Forums > SA-MP Scripting and Plugins > Filterscripts

Thread Tools Display Modes
Old 22/12/2012, 12:25 PM   #1
Join Date: Dec 2012
Posts: 112
Reputation: 22
Default jRental - Rentable cars | 1 Rental = 1 Line |

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);

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.

- 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.

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

22/12/2012 - Initial release.

Click me.
- No mirrors needed.

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

If you'd like me to add any more information, please say so.
Jernu is offline   Reply With Quote
Old 22/12/2012, 12:26 PM   #2
Little Clucker
Join Date: Sep 2012
Posts: 2
Reputation: 1
Default Re: jRental - Rentable cars | 1 Rental = 1 Line |

I'll test it.
MiniShark is offline   Reply With Quote

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
[FilterScript] adm_Rent | Create easy rental vehicles! | 1 line: 1 rental car admantis Filterscripts 21 10/07/2014 02:32 PM
Rental Cars Sasoft Scripting Help 3 22/08/2012 04:58 PM
Rentable cars are drivable without rent Deal-or-die Help Archive 3 03/11/2010 09:12 AM
How to make my rental cars save when player exit Steven82 Help Archive 0 05/05/2010 08:53 PM

All times are GMT. The time now is 07:30 PM.

Powered by vBulletin® Version 3.8.6
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.