{HELP}Renting car system
#1

hello i have made a renting car system but everytime i get out of my car it wants me to rerent it again how do i put it so i dont have to keep rerenting it?
Reply
#2

Код:
new CarRented[MAX_VEHICLES];
Then when you rent the vehicle add:
Код:
CarRented[GetPlayerVehicleID(playerid)] = 1;
Reply
#3

Quote:
Originally Posted by Compton's Eazy E
Vehicle Ownership
  • Carsystem by GermanReallife-Team by ping - Download
  • Seif Vehicle by Seif_ - Download
  • Vehicle Ownership by MenaceX^ - Download
  • BlackFoX's CarOwnership System v.7.2 by BlackFoX_UD_ - Download
  • Car Ownership & Trunk Storing System by Xalphox - Download
  • Vehicle Ownership System by Zezombia - Download
Reply
#4

still odnt understand
Reply
#5

I think he means create a variable to remember if the car has been rented or not, and then use it in a if statement
Reply
#6

can someone just show me how or post the partim suppose to put in i go into a rent car rent it then drive somewhere and get out then when i get back in it wants me to rerent how do i fix it
Reply
#7

Quote:
Originally Posted by mansonh
Quote:
Originally Posted by Compton's Eazy E
Vehicle Ownership
  • Carsystem by GermanReallife-Team by ping - Download
  • Seif Vehicle by Seif_ - Download
  • Vehicle Ownership by MenaceX^ - Download
  • BlackFoX's CarOwnership System v.7.2 by BlackFoX_UD_ - Download
  • Car Ownership & Trunk Storing System by Xalphox - Download
  • Vehicle Ownership System by Zezombia - Download
Reply
#8

Quote:
Originally Posted by Compton's Eazy E
Код:
new RentedBy[MAX_VEHICLES];
Then when you rent the vehicle add:
Код:
RentedBy[GetPlayerVehicleID(playerid)] = playerid;
Then just use INVALID_VEHICLE_ID as default.
Reply
#9

wow can someone acully make it more clearer
Reply
#10

Think what he means is wear does he add it but u dnt get everything for free on here lol
Reply


Forum Jump:


Users browsing this thread: 6 Guest(s)