16.06.2010, 05:50
im guessing its these
== File_VehicleOwner[MAX_PLAYERS] is out of bounds
there MAX_PLAYERS should be playerid at a guess
Code:
if (GetPlayerName(playerid, name, MAX_PLAYER_NAME) == File_VehicleOwner[MAX_PLAYERS]) { IsVehicleOwnerInCar[playerid] = 1; } else if (GetPlayerName(playerid, name, MAX_PLAYER_NAME) == File_VehicleOwner[MAX_PLAYERS] ) { IsVehicleOwnerInCar[playerid] = 0; }
there MAX_PLAYERS should be playerid at a guess