PHP код:
[18:21:55] [debug] Run time error 4: "Array index out of bounds"
[18:21:55] [debug] Attempted to read/write array element at negative index -400
[18:21:55] [debug] AMX backtrace:
В чем проблема ?PHP код:
format(string,sizeof(string),"%s",VehicleNames[GetVehicleModel(GetPlayerVehicleID(playerid)-400)]);
PlayerTextDrawSetString(playerid,vehicle_speed[playerid][2],string);