Car nos locker ERROR
#1

IllegalCarNitroIde(carmodel) {

new illegalvehs[29] = { 581, 523, 462, 521, 463, 522, 461, 448, 468, 586, 509, 481, 510, 472, 473, 493, 595, 484, 430, 453, 452, 446, 454, 590, 569, 537, 538, 570, 449 };

foreach(illegalvehs, I) { //line 553

if (carmodel == illegalvehs[I])
return true;

}

return false;
}

C:\Users\Rodri\Desktop\SDCTDM~RPx.pwn(553) : error 017: undefined symbol "illegalvehs@YSII_Ag"
C:\Users\Rodri\Desktop\SDCTDM~RPx.pwn(553) : error 017: undefined symbol "illegalvehs@YSII_Ag"
C:\Users\Rodri\Desktop\SDCTDM~RPx.pwn(553) : error 029: invalid expression, assumed zero
C:\Users\Rodri\Desktop\SDCTDM~RPx.pwn(553) : fatal error 107: too many error messages on one line

I got this error, how i can i solve it?
Thanks To all repliers
Rodrigo Dionigi.
Reply
#2

Quote:
Originally Posted by Rodri99
Посмотреть сообщение
IllegalCarNitroIde(carmodel) {

new illegalvehs[29] = { 581, 523, 462, 521, 463, 522, 461, 448, 468, 586, 509, 481, 510, 472, 473, 493, 595, 484, 430, 453, 452, 446, 454, 590, 569, 537, 538, 570, 449 };

foreach(illegalvehs, I) { //line 553

if (carmodel == illegalvehs[I])
return true;

}

return false;
}

C:\Users\Rodri\Desktop\SDCTDM~RPx.pwn(553) : error 017: undefined symbol "illegalvehs@YSII_Ag"
C:\Users\Rodri\Desktop\SDCTDM~RPx.pwn(553) : error 017: undefined symbol "illegalvehs@YSII_Ag"
C:\Users\Rodri\Desktop\SDCTDM~RPx.pwn(553) : error 029: invalid expression, assumed zero
C:\Users\Rodri\Desktop\SDCTDM~RPx.pwn(553) : fatal error 107: too many error messages on one line

I got this error, how i can i solve it?
Thanks To all repliers
Rodrigo Dionigi.
Try doing it with
Код:
new veh;
veh = GetVehicleModel(illeagalvehs);
rest is up to you!
Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)