Car Renting System?
#1

Can someone make me a template for a renting system?

Example;

When you are at a Dealership there could be cars wguch I will add, All's I need is a template?

Thanks, Luis
Reply
#2

If i've got time i'll make a template tommaro, im gonna sleep now and it'll take like 30mins-1hr so i'll work on one tommaro
Reply
#3

To be honest, there are some vehicle renting filterscripts out there, one called

pawn Код:
Vehicle Hire System
And sutff, just use the search function

Or just wait for Hash to give you a template.
Reply
#4

Bump!!!!!
Reply
#5

Quote:
Originally Posted by -Luis
Посмотреть сообщение
Bump!!!!!
The message you have entered is too short. Please lengthen your message to at least 8 characters.
Reply
#6

i would also like this.
Reply
#7

Psuedo-code:
If car is rentable, display the "type /rent to rent" message. If they type that, make a code so the vehicle knows its rented. Only let them start the engine if they own the car.
Reply
#8

umm im making one but it has rent for 24 hours months minites things like that im not sure if you want that if not just script it similar to house car but you lose it on disconnect
Reply
#9

pawn Код:
new IsRentable[MAX_VEHICLES],
    RentedVehicle[MAX_PLAYERS];
When spawning the vehicle:
pawn Код:
IsRentable[vehicleid] = 1; // Rentable
When someone enters it:
pawn Код:
if(IsRentable[vehicleid])
{
    Send messages and shit
}
And when someone rents it:
pawn Код:
IsRentable[vehicleid] = 1;
RentedVehicle[playerid] = vehicleid;
And OnPlayerDisconnect:
pawn Код:
if(RentedVehicle[playerid])
{
    IsRentable[RentedVehicle[playerid]] = 1;
    RentedVehicle[playerid] = 0;
}
Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)