SA-MP Forums Archive
weird problem - 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: weird problem (/showthread.php?tid=152499)



weird problem - mige - 04.06.2010

Well im having a weird compile error on my Adrenaline GM, when i use this in include: (im using this on my other GMs too, but works fine on them!)
Код:
#include <IsPlayerLAdmin>
It gives me these errors: (but if i dont add it, theres no errors)
Код:
F:\Program Files\Rockstar Games\SAMP Server\gamemodes\adrenaline.pwn(351) : warning 217: loose indentation
F:\Program Files\Rockstar Games\SAMP Server\gamemodes\adrenaline.pwn(357) : warning 217: loose indentation
F:\Program Files\Rockstar Games\SAMP Server\gamemodes\adrenaline.pwn(434) : warning 217: loose indentation
F:\Program Files\Rockstar Games\SAMP Server\gamemodes\adrenaline.pwn(445) : warning 217: loose indentation
F:\Program Files\Rockstar Games\SAMP Server\gamemodes\adrenaline.pwn(465) : warning 219: local variable "Time" shadows a variable at a preceding level
F:\Program Files\Rockstar Games\SAMP Server\gamemodes\adrenaline.pwn(548) : warning 219: local variable "Time" shadows a variable at a preceding level
F:\Program Files\Rockstar Games\SAMP Server\gamemodes\adrenaline.pwn(1172) : warning 219: local variable "equal" shadows a variable at a preceding level
F:\Program Files\Rockstar Games\SAMP Server\gamemodes\adrenaline.pwn(1547) : error 047: array sizes do not match, or destination array is too small
F:\Program Files\Rockstar Games\SAMP Server\gamemodes\adrenaline.pwn(1850) : error 021: symbol already defined: "strtok"
F:\Program Files\Rockstar Games\SAMP Server\gamemodes\adrenaline.pwn(1865) : error 047: array sizes do not match, or destination array is too small
F:\Program Files\Rockstar Games\SAMP Server\gamemodes\adrenaline.pwn(2197) : error 047: array sizes do not match, or destination array is too small
F:\Program Files\Rockstar Games\SAMP Server\gamemodes\adrenaline.pwn(2322) : warning 203: symbol is never used: "ret_memcpy"
Pawn compiler 3.2.3664	 	 	Copyright © 1997-2006, ITB CompuPhase


4 Errors.



Re: weird problem - playbox12 - 04.06.2010

Код:
#include <IsPlayerLAdmin>
Since when is that a include.


Re: weird problem - mige - 04.06.2010

Quote:
Originally Posted by playbox12
Код:
#include <IsPlayerLAdmin>
Since when is that a include.
after adding admin mode filterscript.... called: "ladmin".


Re: weird problem - mige - 04.06.2010

can any1 help?