23.12.2009, 12:05
Hello,
Im going through a, Simple administration script tutorial,
And i tried about 10 minutes ago,
When it got to modifying my commands, The beginning of it,
It said to compile, It said i should recieve no errors or warnings, But i did,
So i tried again just now and im recieveing the same errors and warnings as the last time i tried on the same bit,
Why is this?
Im concentrating on the gSettings errors for now, Although it says Undefined symbol,
Its here
Can someone tell me why?
Ive done everything it said in the tutorial,
I havent done a single thing different
Im going through a, Simple administration script tutorial,
And i tried about 10 minutes ago,
When it got to modifying my commands, The beginning of it,
It said to compile, It said i should recieve no errors or warnings, But i did,
So i tried again just now and im recieveing the same errors and warnings as the last time i tried on the same bit,
Why is this?
Код:
C:\Users\Torran\Documents\Server\filterscripts\admin.pwn(34) : error 017: undefined symbol "gSettings" C:\Users\Torran\Documents\Server\filterscripts\admin.pwn(35) : error 017: undefined symbol "gSettings" C:\Users\Torran\Documents\Server\filterscripts\admin.pwn(36) : error 017: undefined symbol "gSettings" C:\Users\Torran\Documents\Server\filterscripts\admin.pwn(37) : error 017: undefined symbol "gSettings" C:\Users\Torran\Documents\Server\filterscripts\admin.pwn(38) : error 017: undefined symbol "gSettings" C:\Users\Torran\Documents\Server\filterscripts\admin.pwn(195) : error 047: array sizes do not match, or destination array is too small C:\Users\Torran\Documents\Server\filterscripts\admin.pwn(198) : error 047: array sizes do not match, or destination array is too small C:\Users\Torran\Documents\Server\filterscripts\admin.pwn(226) : warning 203: symbol is never used: "ret_memcpy" Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase 7 Errors.
Its here
pawn Код:
enum SETTINGS_MAIN {
POCKET_MONEY,
JAIL_COMMANDS,
ANNOUNCE_SECONDS,
PASS_MIN,
PASS_MAX
}
new gSettings[SETTINGS_MAIN];
Ive done everything it said in the tutorial,
I havent done a single thing different


.