25.09.2018, 07:07
Does it set the game mode text in OnGameModeInit? There is a run time error in this callback and breaks the code execution.
It is likely related to vehicles as the upper bound is 2000 (MAX_VEHICLES) and the invalid value is 65535 (INVALID_VEHICLE_ID).
Even if it is not compiled with -d3 flag, it is easy to spot the details. The first is modelid which is 0 (valid are between 400 and 611) and the vehicle creation functions returns INVALID_VEHICLE_ID in this case.
Do you load vehicles from a database/files?
Debug info: https://github.com/Zeex/samp-plugin-...ith-debug-info
Compile your script again, upload and start the server. Crashdetect plugin can print lines now and names of functions.
It is likely related to vehicles as the upper bound is 2000 (MAX_VEHICLES) and the invalid value is 65535 (INVALID_VEHICLE_ID).
Код:
[debug] #0 000570fc in ?? (0, 1143219782, -1007058944, 1098978427, 1043140182, 0, 0, 900, 11, 0) from sancarson.amx (vehicletype, Float:x, Float:y, Float:z, Float:rotation, color1, color2, respawn_delay,...)
Do you load vehicles from a database/files?
Debug info: https://github.com/Zeex/samp-plugin-...ith-debug-info
Compile your script again, upload and start the server. Crashdetect plugin can print lines now and names of functions.