2 Vehicle File Errors. Please help! [array index out of bounds]
#9

im guessing its these

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; }
== File_VehicleOwner[MAX_PLAYERS] is out of bounds

there MAX_PLAYERS should be playerid at a guess
Reply


Messages In This Thread

Forum Jump:


Users browsing this thread: 2 Guest(s)