SA-MP Forums Archive
[Help]pwn errors - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: [Help]pwn errors (/showthread.php?tid=550641)



[Help]pwn errors - juanse44447 - 14.12.2014

Hi guys.

I have a problem with my gm, and is as follows.

This is the code, or line.

Код:
default: for(new i; i < 4; i++) if(partid == vehicleMods[model - 400][GetVehicleComponentType(partid)][i]) {
                return 1;
            }
and this is the error.

Код:
C:\Users\Juan1226\Desktop\xD\gamemodes\HistoryRP.pwn(64712) : error 017: undefined symbol"vehicleMods"
C:\Users\Juan1226\Desktop\xD\gamemodes\HistoryRP.pwn(64712) : warning 215: expression has no effect
C:\Users\Juan1226\Desktop\xD\gamemodes\HistoryRP.pwn(64712) : error 001: expected token: ";", but found "]"
C:\Users\Juan1226\Desktop\xD\gamemodes\HistoryRP.pwn(64712) : error 001: expected token: ";", but found "]"
C:\Users\Juan1226\Desktop\xD\gamemodes\HistoryRP.pwn(64712) : fatal error 107: too many error messages on one line

Compilation aborted.Pawn compiler 3.2.3664              Copyright © 1997-2006, ITB CompuPhase


5 Errors.
Anyone know how to fix it ?.


I need help


Re: [Help]pwn errors - Mic_H - 14.12.2014

Does VehicleMods[] exist?


Respuesta: Re: [Help]pwn errors - juanse44447 - 14.12.2014

Fixed, thank you very much.

They can close the topic.