[AJUDA] 19 ERROR -_-
#1

FS : http://pastebin.com/eysH1SLX

ERROR:

Код:
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.
Eu peguei este tutorial daqui...
https://sampwiki.blast.hk/wiki/Creating_...n_FilterScript
Reply
#2

pawn Код:
enum PLAYER_MAIN {
        PLAYER_NAME[MAX_PLAYER_NAME],
        PLAYER_IP[16],
        PLAYER_REGGED,
        PLAYER_PASS,
        PLAYER_LOGGED,
        PLAYER_LEVEL,
        PLAYER_WIRED,
        PLAYER_JAILED
}
enum PLAYER_MAIN {
        PLAYER_NAME[MAX_PLAYER_NAME],
        PLAYER_IP[16],
        PLAYER_REGGED,
        PLAYER_PASS,
        PLAYER_LOGGED,
        PLAYER_LEVEL,
        PLAYER_WIRED,
        PLAYER_JAILED
}
Para quк 2 iguais?
Reply
#3

pawn Код:
new PlayerMain[MAX_PLAYERS][PlayerInfo];

enum PlayerInfo
{
    PLAYER_NAME[MAX_PLAYER_NAME],
        PLAYER_IP[16],
        PLAYER_REGGED,
        PLAYER_PASS,
        PLAYER_LOGGED,
        PLAYER_LEVEL,
        PLAYER_WIRED,
        PLAYER_JAILED

};
Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)