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



(help) Juckbuster problem - Amine_Mejrhirrou - 22.01.2011

that's caus of #include <JunkBuster> if i delet this ! i have no waring but the GM bug ... can some one help & some time my server map change to MAP: junkbuster
Код:
C:\Users\amine\Desktop\0.3C\pawno\include\JunkBuster.inc(141) : warning 219: local variable "X" shadows a variable at a preceding level
C:\Users\amine\Desktop\0.3C\pawno\include\JunkBuster.inc(141) : warning 219: local variable "Y" shadows a variable at a preceding level
C:\Users\amine\Desktop\0.3C\pawno\include\JunkBuster.inc(141) : warning 219: local variable "Z" shadows a variable at a preceding level
C:\Users\amine\Desktop\0.3C\pawno\include\JunkBuster.inc(144) : warning 219: local variable "X" shadows a variable at a preceding level
C:\Users\amine\Desktop\0.3C\pawno\include\JunkBuster.inc(144) : warning 219: local variable "Y" shadows a variable at a preceding level
C:\Users\amine\Desktop\0.3C\pawno\include\JunkBuster.inc(144) : warning 219: local variable "Z" shadows a variable at a preceding level
Pawn compiler 3.2.3664	 	 	Copyright © 1997-2006, ITB CompuPhase


6 Warnings.



Re : (help) Juckbuster problem - Amine_Mejrhirrou - 22.01.2011

so no 1 to hlp or what ...


Re: (help) Juckbuster problem - Janek17 - 22.01.2011

can you show the code in where is the warning


Re: (help) Juckbuster problem - Mauzen - 23.01.2011

You got global variables with the names X, Y and Z in your gamemode, rename them to something different.

2. You can set the mapname with SendRconCommand("mapname name");