error 035: argument type mismatch (argument 2)
#1

(830):error 035: argument type mismatch (argument 2)

Line of Error:
Код:
SendClientMessage(playerid, COL_PURPLE,"Developers:Brad");
Reply
#2

Show the COL_PURPLE
Reply
#3

Add this under include
Код:
#define 	COL_PURPLE    "{FF00EA}"
Reply
#4

That is wrong, it must be hexadecimal if your deciding to use this alone.
Reply
#5

Quote:
Originally Posted by Pakistanboy321
Посмотреть сообщение
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.
Reply
#6

all the error is at COL_PURPLE
try this
at defines make it
pawn Код:
#define COLOR_PURPLE 0x800080AA
and at the error line add this
pawn Код:
SendClientMessage(playerid,COLOR_PURPLE,"Developers :Brad");
Reply
#7

#define PURPLE 0xFF00EAAA

and then

SendClientMessage(playerid, PURPLE, "Developers:Brad");
Reply
#8

err delete the define line and use this code
Код:
SendClientMessage(playerid,-1,"{FF00EA}Developers :Brad");
Reply


Forum Jump:


Users browsing this thread: 3 Guest(s)