SA-MP Forums Archive
{HELP}Renting car system - 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: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+---- Forum: Help Archive (https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: {HELP}Renting car system (/showthread.php?tid=123730)



{HELP}Renting car system - MatthewGarrowo - 27.01.2010

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?


Re: {HELP}Renting car system - Eazy_Efolife - 27.01.2010

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



Re: {HELP}Renting car system - mansonh - 27.01.2010

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



Re: {HELP}Renting car system - MatthewGarrowo - 27.01.2010

still odnt understand


Re: {HELP}Renting car system - wangdata - 27.01.2010

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


Re: {HELP}Renting car system - MatthewGarrowo - 28.01.2010

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


Re: {HELP}Renting car system - mansonh - 28.01.2010

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



Re: {HELP}Renting car system - Norn - 28.01.2010

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.


Re: {HELP}Renting car system - MatthewGarrowo - 29.01.2010

wow can someone acully make it more clearer


Re: {HELP}Renting car system - 02manchestera - 29.01.2010

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