error 010: invalid function or declaration - 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 010: invalid function or declaration (
/showthread.php?tid=484583)
error 010: invalid function or declaration -
botak - 31.12.2013
I have that error when compile .
This full code
Код:
// Colors
#define COLOR_NICEGREEN 0x6EF83CFF
#define COLOR_NICERED 0xFF0606FF
#define COL_NICEGREEN "{6EF83C}"
#define COL_NICERED "{FF0606}"
#define COL_WHITE "{FFFFFF}"
And the error is in line
Код:
#define COL_NICEGREEN "{6EF83C}"
anyone can help me ?
Re: error 010: invalid function or declaration -
MatriXgaMer - 31.12.2013
Lol i just add this to my script to check and no errors..
Re: error 010: invalid function or declaration -
botak - 31.12.2013
yes but i don't know why i have that error
Re: error 010: invalid function or declaration -
MatriXgaMer - 31.12.2013
Show the line beofe
pawn Код:
#define COL_NICEGREEN "{6EF83C}"
Re: error 010: invalid function or declaration - Patrick - 31.12.2013
Show us how you use
COL_NICEGREEN, because it's supposed to be like this
pawn Код:
SendClientMessage(playerid, -1, "White "COL_NICEGREEN" Nice Green");
NOT
pawn Код:
SendClientMessage(playerid, COL_NICEGREEN, "Nice Green | "COL_WHITE" White);
Код:
This forum requires that you wait 240 seconds between posts. Please try again in 42 seconds.