error 010: invalid function or declaration
#1

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 ?
Reply
#2

Lol i just add this to my script to check and no errors..
Reply
#3

yes but i don't know why i have that error
Reply
#4

Show the line beofe
pawn Код:
#define COL_NICEGREEN      "{6EF83C}"
Reply
#5

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.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)