SA-MP Forums Archive
error 035: argument type mismatch (argument 2) - 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 035: argument type mismatch (argument 2) (/showthread.php?tid=496439)



error 035: argument type mismatch (argument 2) - Mriss - 22.02.2014

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

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



Re: error 035: argument type mismatch (argument 2) - ACI - 22.02.2014

Show the COL_PURPLE


Re: error 035: argument type mismatch (argument 2) - Pakistanboy321 - 22.02.2014

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



Re: error 035: argument type mismatch (argument 2) - ACI - 22.02.2014

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


Respuesta: Re: error 035: argument type mismatch (argument 2) - CuervO - 22.02.2014

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.


Re: error 035: argument type mismatch (argument 2) - iThePunisher - 22.02.2014

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");



Re: error 035: argument type mismatch (argument 2) - LocMax - 22.02.2014

#define PURPLE 0xFF00EAAA

and then

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


Re: error 035: argument type mismatch (argument 2) - BroZeus - 22.02.2014

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