I have a little 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)
+--- Thread: I have a little problem (
/showthread.php?tid=646269)
I have a little problem -
solstice_ - 13.12.2017
Hey, how are you all doing.
So i saw a tutorial to use "Sublime Text", i started using it but when i compile my script i get 3 warnings
Here are the warnings:
Код:
C:\path\to\pawno\folder\include\YSI\y_scripting.inc(86) : warning 219: local variable "addr" shadows a variable at a preceding level
C:\path\to\pawno\folder\include\YSI\y_scripting.inc(109) : warning 219: local variable "addr" shadows a variable at a preceding level
C:\path\to\pawno\folder\include\YSI\y_scripting.inc(299) : warning 219: local variable "addr" shadows a variable at a preceding level
Line 86:
Код:
Line 86: #define COLOR_CORAL 0xFF7F50AA
Line 109:#define COLOR_CHAT 0xC390D4AA
Line 299: "[!] ~ You can adjust your own settings using /settings.",
It works fine in pawno.exe without warnings, but not in Sublime Text.
Re: I have a little problem -
jasperschellekens - 14.12.2017
The addr variable shadows a variable used in your inc.
Try changing the addr in your script to something else.