SA-MP Forums Archive
Error 017 & 001 & 029 & 107 - 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: Error 017 & 001 & 029 & 107 (/showthread.php?tid=639991)



Error 017 & 001 & 029 & 107 - BadJih - 26.08.2017

I need help guys

C:\Users\x\Desktop\SA-MP SCRIPTING\x.pwn(9727) : error 017: undefined symbol "PlayerHasDeagleLaser"
C:\Users\x\Desktop\SA-MP SCRIPTING\x.pwn(9727) : warning 215: expression has no effect
C:\Users\x\Desktop\SA-MP SCRIPTING\x.pwn(9727) : error 001: expected token: ";", but found "]"
C:\Users\x\Desktop\SA-MP SCRIPTING\x.pwn(9727) : error 029: invalid expression, assumed zero
C:\Users\x\Desktop\SA-MP SCRIPTING\x.pwn(9727) : fatal error 107: too many error messages on one line


Line 9725 :: PlayerHasAKLaser[playerid] = 0;
Line 9726 :: PlayerHasSpasLaser[playerid] = 0;
Line 9727 :: PlayerHasDeagleLaser[playerid] = 0; !!!!


Re: Error 017 & 001 & 029 & 107 - 10MIN - 26.08.2017

You forgot to put new PlayerHasDeagleLaser[MAX_PLAYERS] in the top of the script.


Re: Error 017 & 001 & 029 & 107 - BadJih - 26.08.2017

Quote:
Originally Posted by 10MIN
Посмотреть сообщение
You forgot to put new PlayerHasDeagleLaser[MAX_PLAYERS] in the top of the script.
Thanks dude, it work i did added Playerhaslaser[MAX_PLAYERS]
i forget Deagle