argument type mismatch - 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: argument type mismatch (
/showthread.php?tid=404626)
argument type mismatch -
Maraudeur - 03.01.2013
Код:
(9937) : error 035: argument type mismatch (argument 4)
Line 9937:
pawn Код:
ProxDetector(30.0, playerid, string, COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE);
Define:
pawn Код:
#define COLOR_PURPLE {0xFF00FFFF}
Re: argument type mismatch -
DiGiTaL_AnGeL - 03.01.2013
pawn Код:
#define COLOR_PURPLE 0xFF00FFFF
You don't need to put parantheses when you define a color.
Re: argument type mismatch -
Blast3r - 03.01.2013
I'd suggest you just use the color code.
Re: argument type mismatch -
Maraudeur - 03.01.2013
(9937) : warning 202: number of arguments does not match definition
When I remove parantheses