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



Error. - AndreaSanchez - 03.01.2017

Hello everyone.
PHP код:
helpall[i] = CreateDynamicCP(1756.5216,-1916.1176,13.5704,2.000i,20.0); 
PHP код:
new helpall[MAX_PLAYERS],helpall2[MAX_PLAYERS];
new 
help[2000]; 
C:\Users\1\Desktop\Sanchez Server\gamemodes\gamemode.pwn(174) : error 017: undefined symbol "i"


Re: Error. - SickAttack - 03.01.2017

Where do you have "new i"?


Re: Error. - AndreaSanchez - 03.01.2017

I create a new i.

C:\Users\1\Desktop\Sanchez Server\pawno\include\mxINI.inc(265) : warning 219: local variable "i" shadows a variable at a preceding level
C:\Users\1\Desktop\Sanchez Server\pawno\include\mxINI.inc(395) : warning 219: local variable "i" shadows a variable at a preceding level
C:\Users\1\Desktop\Sanchez Server\pawno\include\mxINI.inc(477) : warning 219: local variable "i" shadows a variable at a preceding level
C:\Users\1\Desktop\Sanchez Server\pawno\include\sscanf.inc(19 : warning 219: local variable "i" shadows a variable at a preceding level
C:\Users\1\Desktop\Sanchez Server\gamemodes\gamemode.pwn(285) : warning 217: loose indentation
C:\Users\1\Desktop\Sanchez Server\gamemodes\gamemode.pwn(28 : warning 217: loose indentation
C:\Users\1\Desktop\Sanchez Server\gamemodes\gamemode.pwn(526) : warning 219: local variable "i" shadows a variable at a preceding level


Re: Error. - AndreaSanchez - 03.01.2017

Quote:
Originally Posted by SickAttack
Посмотреть сообщение
Where do you have "new i"?
C:\Users\1\Desktop\Sanchez Server\pawno\include\mxINI.inc(265) : warning 219: local variable "i" shadows a variable at a preceding level
C:\Users\1\Desktop\Sanchez Server\pawno\include\mxINI.inc(395) : warning 219: local variable "i" shadows a variable at a preceding level
C:\Users\1\Desktop\Sanchez Server\pawno\include\mxINI.inc(477) : warning 219: local variable "i" shadows a variable at a preceding level
C:\Users\1\Desktop\Sanchez Server\pawno\include\sscanf.inc(19 : warning 219: local variable "i" shadows a variable at a preceding level
C:\Users\1\Desktop\Sanchez Server\gamemodes\gamemode.pwn(285) : warning 217: loose indentation
C:\Users\1\Desktop\Sanchez Server\gamemodes\gamemode.pwn(28 : warning 217: loose indentation
C:\Users\1\Desktop\Sanchez Server\gamemodes\gamemode.pwn(526) : warning 219: local variable "i" shadows a variable at a preceding level


Re: Error. - SickAttack - 03.01.2017

Show more of the code.