19.04.2014, 12:02
I guess it's because of this:
If pBoxer[playerid] is -1, it will cause the run time error. However, without the debug info - it's not 100%.
Check if pBoxer[playerid] is not -1 and then use it inside BoxerBid array.
pawn Код:
profit = (percent * BoxerBid[pBoxer[playerid]]) / 10000;
Check if pBoxer[playerid] is not -1 and then use it inside BoxerBid array.