17.06.2014, 17:49
Quote:
The error means that the array has size of 2 so the valid indexes are 0 and 1. Any other value will cause run time error 4.
It'd be helpful if you could post the whole code (that you use "i" as index in the array) and show the results of crashdetect with -d3 flag: https://github.com/Zeex/samp-plugin-...ith-debug-info it will print the line caused it. |
pawn Код:
if(!sscanf(params, "ds[10]dd", vehicleid, setedit, type, var))
In the switch if you would've filled in 1 or 2 it would have this at the error'ing array;
Код:
(var-1)
So this topic can be deleted, was my own fault!
Best regards,
Jesse