SA-MP Forums Archive
[help] 19 error O_O - 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)
+---- Forum: Help Archive (https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: [help] 19 error O_O (/showthread.php?tid=246179)



[help] 19 error O_O - JOKERBOY - 03.04.2011

PAWN CODE : http://pastebin.com/eysH1SLX

ERRORS :

Код:
C:\Users\GABRIEL\Desktop\samp03csvr_R2-2_win32\filterscripts\saves.pwn(30) : warning 201: redefinition of constant/macro (symbol "PLAYER_MAIN")
C:\Users\GABRIEL\Desktop\samp03csvr_R2-2_win32\filterscripts\saves.pwn(31) : error 021: symbol already defined: "PLAYER_NAME"
C:\Users\GABRIEL\Desktop\samp03csvr_R2-2_win32\filterscripts\saves.pwn(67) : error 017: undefined symbol "SETTINGS_MAIN"
C:\Users\GABRIEL\Desktop\samp03csvr_R2-2_win32\filterscripts\saves.pwn(67) : error 009: invalid array size (negative, zero or out of bounds)
C:\Users\GABRIEL\Desktop\samp03csvr_R2-2_win32\filterscripts\saves.pwn(69) : error 009: invalid array size (negative, zero or out of bounds)
C:\Users\GABRIEL\Desktop\samp03csvr_R2-2_win32\filterscripts\saves.pwn(70) : error 021: symbol already defined: "gPlayerInfo"
C:\Users\GABRIEL\Desktop\samp03csvr_R2-2_win32\filterscripts\saves.pwn(78) : warning 217: loose indentation
C:\Users\GABRIEL\Desktop\samp03csvr_R2-2_win32\filterscripts\saves.pwn(88) : warning 217: loose indentation
C:\Users\GABRIEL\Desktop\samp03csvr_R2-2_win32\filterscripts\saves.pwn(88) : error 017: undefined symbol "POCKET_MONEY"
C:\Users\GABRIEL\Desktop\samp03csvr_R2-2_win32\filterscripts\saves.pwn(89) : error 017: undefined symbol "JAIL_COMMANDS"
C:\Users\GABRIEL\Desktop\samp03csvr_R2-2_win32\filterscripts\saves.pwn(90) : error 017: undefined symbol "ANNOUNCE_SECONDS"
C:\Users\GABRIEL\Desktop\samp03csvr_R2-2_win32\filterscripts\saves.pwn(91) : error 017: undefined symbol "PASS_MIN"
C:\Users\GABRIEL\Desktop\samp03csvr_R2-2_win32\filterscripts\saves.pwn(92) : error 017: undefined symbol "PASS_MAX"
C:\Users\GABRIEL\Desktop\samp03csvr_R2-2_win32\filterscripts\saves.pwn(188) : warning 217: loose indentation
C:\Users\GABRIEL\Desktop\samp03csvr_R2-2_win32\filterscripts\saves.pwn(192) : warning 217: loose indentation
C:\Users\GABRIEL\Desktop\samp03csvr_R2-2_win32\filterscripts\saves.pwn(220) : warning 217: loose indentation
C:\Users\GABRIEL\Desktop\samp03csvr_R2-2_win32\filterscripts\saves.pwn(221) : warning 217: loose indentation
C:\Users\GABRIEL\Desktop\samp03csvr_R2-2_win32\filterscripts\saves.pwn(236) : warning 217: loose indentation
C:\Users\GABRIEL\Desktop\samp03csvr_R2-2_win32\filterscripts\saves.pwn(265) : error 029: invalid expression, assumed zero
C:\Users\GABRIEL\Desktop\samp03csvr_R2-2_win32\filterscripts\saves.pwn(266) : error 021: symbol already defined: "OnPlayerCommandText"
C:\Users\GABRIEL\Desktop\samp03csvr_R2-2_win32\filterscripts\saves.pwn(414) : error 017: undefined symbol "PASS_MIN"
C:\Users\GABRIEL\Desktop\samp03csvr_R2-2_win32\filterscripts\saves.pwn(417) : warning 217: loose indentation
C:\Users\GABRIEL\Desktop\samp03csvr_R2-2_win32\filterscripts\saves.pwn(417) : error 017: undefined symbol "PASS_MIN"
C:\Users\GABRIEL\Desktop\samp03csvr_R2-2_win32\filterscripts\saves.pwn(418) : warning 217: loose indentation
C:\Users\GABRIEL\Desktop\samp03csvr_R2-2_win32\filterscripts\saves.pwn(425) : warning 217: loose indentation
C:\Users\GABRIEL\Desktop\samp03csvr_R2-2_win32\filterscripts\saves.pwn(426) : warning 217: loose indentation
C:\Users\GABRIEL\Desktop\samp03csvr_R2-2_win32\filterscripts\saves.pwn(445) : warning 217: loose indentation
C:\Users\GABRIEL\Desktop\samp03csvr_R2-2_win32\filterscripts\saves.pwn(446) : warning 217: loose indentation
C:\Users\GABRIEL\Desktop\samp03csvr_R2-2_win32\filterscripts\saves.pwn(476) : error 047: array sizes do not match, or destination array is too small
C:\Users\GABRIEL\Desktop\samp03csvr_R2-2_win32\filterscripts\saves.pwn(479) : error 047: array sizes do not match, or destination array is too small
C:\Users\GABRIEL\Desktop\samp03csvr_R2-2_win32\filterscripts\saves.pwn(482) : warning 217: loose indentation
C:\Users\GABRIEL\Desktop\samp03csvr_R2-2_win32\filterscripts\saves.pwn(483) : warning 217: loose indentation
C:\Users\GABRIEL\Desktop\samp03csvr_R2-2_win32\filterscripts\saves.pwn(487) : error 017: undefined symbol "PASS_MIN"
C:\Users\GABRIEL\Desktop\samp03csvr_R2-2_win32\filterscripts\saves.pwn(489) : error 017: undefined symbol "PASS_MIN"
C:\Users\GABRIEL\Desktop\samp03csvr_R2-2_win32\filterscripts\saves.pwn(540) : warning 203: symbol is never used: "dcmd_akill"
C:\Users\GABRIEL\Desktop\samp03csvr_R2-2_win32\filterscripts\saves.pwn(540) : warning 203: symbol is never used: "dcmd_announce"
Pawn compiler 3.2.3664	 	 	Copyright © 1997-2006, ITB CompuPhase


18 Errors.
I got this tutorial from here:
https://sampwiki.blast.hk/wiki/Creating_...n_FilterScript

THANKS


Re: [help] 19 error O_O - aircombat - 03.04.2011

http://pastebin.com/6aRgQTzH

altho i deleted the /password command cause its bugged and added Nero_3D GetPlayerId function


Re: [help] 19 error O_O - JOKERBOY - 03.04.2011

Thanks very much !!!!!