2 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)
+---- Forum: Help Archive (
https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: 2 errors (
/showthread.php?tid=258399)
2 errors -
flashsnake - 30.05.2011
Hey, when I try to compile my LuxAdmin.pwn, then these errors come:
Код:
C:\Documents and Settings\dell\Desktop\SERVER\DEFAULT\filterscripts\LuxAdmin.pwn(207) : warning 228: length of initialler exceeds size of the enum field
C:\Documents and Settings\dell\Desktop\SERVER\DEFAULT\filterscripts\LuxAdmin.pwn(207) : error 018: initialization data exceeds declared size
And the 207 line is this:
Код:
{""#RegisterCommand"",-1},{""#LoginCommand"",-1},{""#ChangePassCommand"",-1}
Re: 2 errors -
xalith - 30.05.2011
first did you edit anything in the code? second are you sure you have 0.3c?
Re: 2 errors -
flashsnake - 30.05.2011
Yea, I edited some names n stuff.
Re: 2 errors -
sleepysnowflake - 30.05.2011
Yeah that's the problem. Is it necessary to edit it ?
Re: 2 errors -
flashsnake - 30.05.2011
I wanted to edit like Master Administrator name like to Super Administrator (example).
Re: 2 errors -
xalith - 30.05.2011
yea you probably changed only the name to super admin, but left it somewhere else, press the search and replace button, type in the master, and super, then click yes to all. do this to all the edits