SA-MP Forums Archive
[Help]Warnings [+REP who help me] - 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]Warnings [+REP who help me] (/showthread.php?tid=379657)



[Help]Warnings [+REP who help me] - imnoob - 22.09.2012

Код:
C:\DOCUME~1\EA3B~1\Desktop\FREAKW~1\GAMEMO~1\FWRPG.pwn(2377) : warning 219: local variable "ftext" shadows a variable at a preceding level
C:\DOCUME~1\EA3B~1\Desktop\FREAKW~1\GAMEMO~1\FWRPG.pwn(5587) : warning 219: local variable "ftext" shadows a variable at a preceding level
LINE 2377
ftext[20]//INVITE\\(this is other cmd)
LINE 5587
ftext[20]//ShowStats\\(this is other cmd)


Re: [Help]Warnings [+REP who help me] - IstuntmanI - 22.09.2012

You already have "ftext" variable defined, change it's name from those lines and from "neightbours" lines.


Re: [Help]Warnings [+REP who help me] - imnoob - 22.09.2012

neightbours
if i change the ftext[20] in the line 2377 could change the text when u type /invite ? or it will be the same


Re: [Help]Warnings [+REP who help me] - imnoob - 24.09.2012

refresh