SA-MP Forums Archive
Rental - 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: Rental (/showthread.php?tid=95750)



Rental - Hot - 04.09.2009

In my rental script how can i set that the player current vehicle doesn't have owner?

i already tried:

Code:
new Veh;
Veh = GetPlayerVehicleID(playerid);

Veh = VehicleHasOwner = 1;
but gives me erros! can someone help meh?


Re: Rental - Chaprnks - 04.09.2009

pawn Code:
new Veh;
new VehicleHasOwner[MAX_VEHICLES];

Veh = GetPlayerVehicleID(playerid);
VehicleHasOwner[Veh] = 1;