Help with 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)
+--- Thread: Help with errors (
/showthread.php?tid=420687)
Help with errors -
Weed15 - 06.03.2013
Please, help me
Errors
Код:
(690) : error 017: undefined symbol "aDB"
(690) : warning 215: expression has no effect
(690) : error 001: expected token: ";", but found "]"
(690) : error 029: invalid expression, assumed zero
(690) : fatal error 107: too many error messages on one line
Line
Код:
if(dini_Int( file, "Admin" ) == 1){aDB[ playerid ][ Admin ] = true;}
Re: Help with errors -
Marco_Valentine - 06.03.2013
you haven't defined aDB
Re: Help with errors -
L.Hudson - 06.03.2013
"define" meaning you didn't put something like:
pawn Код:
new aDB[MAX_PLAYERS][Admin]//[MAX_PLAYERS] means playerid in your case
Re: Help with errors -
Weed15 - 06.03.2013
Quote:
Originally Posted by L.Hudson
"define" meaning you didn't put something like:
pawn Код:
new aDB[MAX_PLAYERS][Admin]//[MAX_PLAYERS] means playerid in your case
|
Still same errors
Re: Help with errors -
Marco_Valentine - 06.03.2013
was that line apart of your script or did you just throw it in there? just do a search threw your code to see what you find 'Ctrl+F' "aDB"
Re: Help with errors -
L.Hudson - 06.03.2013
[QUOTE=Weed15;2414620]Still same errors[/QUOTΕ]
I didn't tell you to put this I just gave you an example...
Re: Help with errors -
mamorunl - 06.03.2013
You copied this code from somewhere, didn't you? aDB comes from a user enum most probably.