29.07.2014, 06:39
You need to check the rent car id since /rentcar rents any vehicle the driver drives
under OnPlayerExitVehicle,
so it's basicly because the code checking if a player is in a vehicle while he's leaving a vehicle..
pawn Код:
if(GetPlayerState(playerid) == 2 && IsPlayerInVehicle(playerid, rentCAR[i]))
pawn Код:
if(rentingVehicle[playerid] == 1)
