14.11.2010, 14:58
Hi all,
I downloaded my ladmin4v2 (Lethal Admin script) again after I messed it up :$.
But, at first I got the cannot read from file (lethaldudb2) error so I changed it to #include <lethaldudb2> instead of #include <includes/lethaldudb2>.
But now I get this, I am not a good PAWN scripter so I don't know what to do about it :
I guess there is just a missing { or } but that's what makes it strange because LuxAdmin 1.6 has the same problems when compiling.
So that's actually very strange because I didn't change anything more apart from that I changed the include so it could read from lethaldudb2.inc
Any solutions? Or a better admin script (this was the best I've seen), I get the same errors with LuxAdmin 1.6 though so that isn't an option
I downloaded my ladmin4v2 (Lethal Admin script) again after I messed it up :$.
But, at first I got the cannot read from file (lethaldudb2) error so I changed it to #include <lethaldudb2> instead of #include <includes/lethaldudb2>.
But now I get this, I am not a good PAWN scripter so I don't know what to do about it :
Код:
C:\Users\Lars\Documents\samp03bsvr_R2_win32\filterscripts\ladmin4v2.pwn(1042) : warning 235: public function lacks forward declaration (symbol "OnPlayerPrivmsg") C:\Users\Lars\Documents\samp03bsvr_R2_win32\filterscripts\ladmin4v2.pwn(1084) : error 017: undefined symbol "strtok" C:\Users\Lars\Documents\samp03bsvr_R2_win32\filterscripts\ladmin4v2.pwn(1084) : error 033: array must be indexed (variable "tmp3") C:\Users\Lars\Documents\samp03bsvr_R2_win32\filterscripts\ladmin4v2.pwn(1084) : warning 203: symbol is never used: "Index" C:\Users\Lars\Documents\samp03bsvr_R2_win32\filterscripts\ladmin4v2.pwn(1102) : error 017: undefined symbol "strtok" C:\Users\Lars\Documents\samp03bsvr_R2_win32\filterscripts\ladmin4v2.pwn(1102) : error 033: array must be indexed (variable "tmp2") C:\Users\Lars\Documents\samp03bsvr_R2_win32\filterscripts\ladmin4v2.pwn(1102) : warning 203: symbol is never used: "Index" C:\Users\Lars\Documents\samp03bsvr_R2_win32\filterscripts\ladmin4v2.pwn(1118) : error 017: undefined symbol "strtok" C:\Users\Lars\Documents\samp03bsvr_R2_win32\filterscripts\ladmin4v2.pwn(1118) : error 033: array must be indexed (variable "tmp2") C:\Users\Lars\Documents\samp03bsvr_R2_win32\filterscripts\ladmin4v2.pwn(1118) : warning 203: symbol is never used: "Index" C:\Users\Lars\Documents\samp03bsvr_R2_win32\filterscripts\ladmin4v2.pwn(1134) : error 017: undefined symbol "strtok" C:\Users\Lars\Documents\samp03bsvr_R2_win32\filterscripts\ladmin4v2.pwn(1134) : error 033: array must be indexed (variable "tmp2") C:\Users\Lars\Documents\samp03bsvr_R2_win32\filterscripts\ladmin4v2.pwn(1134) : warning 203: symbol is never used: "Index" C:\Users\Lars\Documents\samp03bsvr_R2_win32\filterscripts\ladmin4v2.pwn(1150) : error 017: undefined symbol "strtok" C:\Users\Lars\Documents\samp03bsvr_R2_win32\filterscripts\ladmin4v2.pwn(1150) : error 033: array must be indexed (variable "tmp2") C:\Users\Lars\Documents\samp03bsvr_R2_win32\filterscripts\ladmin4v2.pwn(1150) : warning 203: symbol is never used: "Index" C:\Users\Lars\Documents\samp03bsvr_R2_win32\filterscripts\ladmin4v2.pwn(1165) : error 017: undefined symbol "strtok" C:\Users\Lars\Documents\samp03bsvr_R2_win32\filterscripts\ladmin4v2.pwn(1165) : error 033: array must be indexed (variable "tmp2") C:\Users\Lars\Documents\samp03bsvr_R2_win32\filterscripts\ladmin4v2.pwn(1165) : warning 203: symbol is never used: "Index" C:\Users\Lars\Documents\samp03bsvr_R2_win32\filterscripts\ladmin4v2.pwn(1181) : error 017: undefined symbol "strtok" C:\Users\Lars\Documents\samp03bsvr_R2_win32\filterscripts\ladmin4v2.pwn(1181) : error 033: array must be indexed (variable "tmp2") C:\Users\Lars\Documents\samp03bsvr_R2_win32\filterscripts\ladmin4v2.pwn(1181) : warning 203: symbol is never used: "Index" C:\Users\Lars\Documents\samp03bsvr_R2_win32\filterscripts\ladmin4v2.pwn(1197) : error 017: undefined symbol "strtok" C:\Users\Lars\Documents\samp03bsvr_R2_win32\filterscripts\ladmin4v2.pwn(1197) : error 033: array must be indexed (variable "tmp2") C:\Users\Lars\Documents\samp03bsvr_R2_win32\filterscripts\ladmin4v2.pwn(1197) : warning 203: symbol is never used: "Index" C:\Users\Lars\Documents\samp03bsvr_R2_win32\filterscripts\ladmin4v2.pwn(1214) : error 017: undefined symbol "strtok" C:\Users\Lars\Documents\samp03bsvr_R2_win32\filterscripts\ladmin4v2.pwn(1214) : error 033: array must be indexed (variable "tmp2") C:\Users\Lars\Documents\samp03bsvr_R2_win32\filterscripts\ladmin4v2.pwn(1214) : warning 203: symbol is never used: "Index" C:\Users\Lars\Documents\samp03bsvr_R2_win32\filterscripts\ladmin4v2.pwn(1246) : error 017: undefined symbol "strtok" C:\Users\Lars\Documents\samp03bsvr_R2_win32\filterscripts\ladmin4v2.pwn(1246) : error 033: array must be indexed (variable "tmp2") C:\Users\Lars\Documents\samp03bsvr_R2_win32\filterscripts\ladmin4v2.pwn(1246) : warning 203: symbol is never used: "Index" C:\Users\Lars\Documents\samp03bsvr_R2_win32\filterscripts\ladmin4v2.pwn(1262) : error 017: undefined symbol "strtok" C:\Users\Lars\Documents\samp03bsvr_R2_win32\filterscripts\ladmin4v2.pwn(1262) : error 033: array must be indexed (variable "tmp2") C:\Users\Lars\Documents\samp03bsvr_R2_win32\filterscripts\ladmin4v2.pwn(1262) : warning 203: symbol is never used: "Index" C:\Users\Lars\Documents\samp03bsvr_R2_win32\filterscripts\ladmin4v2.pwn(1278) : error 017: undefined symbol "strtok" C:\Users\Lars\Documents\samp03bsvr_R2_win32\filterscripts\ladmin4v2.pwn(1278) : error 033: array must be indexed (variable "tmp2") C:\Users\Lars\Documents\samp03bsvr_R2_win32\filterscripts\ladmin4v2.pwn(1278) : warning 203: symbol is never used: "Index" C:\Users\Lars\Documents\samp03bsvr_R2_win32\filterscripts\ladmin4v2.pwn(1294) : error 017: undefined symbol "strtok" C:\Users\Lars\Documents\samp03bsvr_R2_win32\filterscripts\ladmin4v2.pwn(1294) : error 033: array must be indexed (variable "tmp2") Compilation aborted.Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase 26 Errors.
So that's actually very strange because I didn't change anything more apart from that I changed the include so it could read from lethaldudb2.inc
Any solutions? Or a better admin script (this was the best I've seen), I get the same errors with LuxAdmin 1.6 though so that isn't an option