13.04.2019, 19:10
Por favor, alguйm me ajuda?
Nгo sou expert, mas creio eu que a linha do erro й esta:
Se necessitar da public completa, sу avisar que posto...
pawn Code:
[16:05:57] [debug] AMX backtrace:
[16:05:57] [debug] #0 0008e60c in public UpdateCar@INFO (0) from GM.amx
[16:05:57] [debug] Run time error 4: "Array index out of bounds"
[16:05:57] [debug] Attempted to read/write array element at negative index -400
pawn Code:
format(String, sizeof(String), "%s", carName[GetVehicleModel(GetPlayerVehicleID(playerid))-400]);