PDA

View Full Version : error 035: argument type mismatch (argument 2)


Mriss
22/02/2014, 06:38 AM
(830):error 035: argument type mismatch (argument 2)

Line of Error:SendClientMessage(playerid, COL_PURPLE,"Developers:Brad");

ACI
22/02/2014, 06:49 AM
Show the COL_PURPLE

Pakistanboy321
22/02/2014, 07:01 AM
Add this under include
#define COL_PURPLE "{FF00EA}"

ACI
22/02/2014, 07:33 AM
That is wrong, it must be hexadecimal if your deciding to use this alone.

CuervO
22/02/2014, 08:07 AM
Add this under include
#define COL_PURPLE "{FF00EA}"

As said by the previous post that is incorrect; to add up, It doesn't necesarilly need to be a hex. A Hex is a number in a different notation, it's decimal will work too.

iThePunisher
22/02/2014, 08:16 AM
all the error is at COL_PURPLE
try this
at defines make it
#define COLOR_PURPLE 0x800080AA

and at the error line add this
SendClientMessage(playerid,COLOR_PURPLE,"Developers :Brad");

LocMax
22/02/2014, 08:17 AM
#define PURPLE 0xFF00EAAA

and then

SendClientMessage(playerid, PURPLE, "Developers:Brad");

BroZeus
22/02/2014, 08:19 AM
err delete the define line and use this code
SendClientMessage(playerid,-1,"{FF00EA}Developers :Brad");