SA-MP Forums Archive
Problem with colors and YSI - 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: Problem with colors and YSI (/showthread.php?tid=650510)



Problem with colors and YSI - C0oL3r - 01.03.2018

I've added colors like
Код:
 #define     w             "{FFFFFF}"
and i have YCMD, and i receive
Код:
 public function lacks forward declaration (symbol "@yC_test")
Every time i use that colors
especially with color white that i putted here


Re: Problem with colors and YSI - PepsiCola23 - 01.03.2018

you have to put more specific names like COLOR_WHITE,not just a letter.


Re: Problem with colors and YSI - jasperschellekens - 01.03.2018

Remove the brackets


Re: Problem with colors and YSI - C0oL3r - 01.03.2018

i tried with more specific name but this is not a define like that #define COLOR_DEFAULT 0xA9C4E4AA, is a define to insert like that :
Код:
Create3DTextLabel(""dr"[DMV]\n"w"Tasteaza "dr"/exam "w"pentru a sustine testul.", COLOR_WHITE, 1218.7784,-1812.4186,16.5938, 50, 0, 0);
And if i remove #include <YSI\y_commands> it will work