27.06.2016, 20:14
https://github.com/Zeex/samp-plugin-...etect/releases
https://github.com/Zeex/samp-plugin-...ith-debug-info
Load crashdetect plugin, re-compile your scripts with debug info, start the server and when you get output with [debug] in server log, post them here.
I'll point out two things for now, just for future reference:
If TrySell[playerid][2] is not between 0 and the size of CarInfo, run time error 4.
If player is not in vehicle, GetVehicleModel returns 0 and subtracting 400 from it, it tries to access element at negative index; hence run time error 4.
https://github.com/Zeex/samp-plugin-...ith-debug-info
Load crashdetect plugin, re-compile your scripts with debug info, start the server and when you get output with [debug] in server log, post them here.
I'll point out two things for now, just for future reference:
Код:
CarInfo[TrySell[playerid][2]][cOwner]
Код:
vehName[GetVehicleModel(GetPlayerVehicleID(playerid))-400]