Stock errors from crashdetect +REP
#3

Quote:
Originally Posted by Konstantinos
Посмотреть сообщение
If the value of [I]PlayerVehicleInfo[playerid][pvModelId] is 0 and not between 400 and 611, the run time error 4 will be caused at the same negative index.

You can check if the value is 0 and skip it (inside the loop):
pawn Код:
if (!PlayerVehicleInfo[playerid][i][pvModelId]) continue;
Thanks! +REP
Reply


Messages In This Thread
Stock errors from crashdetect +REP - by Lidor124 - 15.06.2014, 19:04
Re: Stock errors from crashdetect +REP - by Konstantinos - 15.06.2014, 19:15
Re: Stock errors from crashdetect +REP - by Lidor124 - 16.06.2014, 09:04

Forum Jump:


Users browsing this thread: 2 Guest(s)