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=473892)
argument type mismatch -
JohnD123 - 05.11.2013
When I compile my script, these errors shown
Код:
Roleplay.pwn(141) : error 035: argument type mismatch (argument 1)
Roleplay.pwn(142) : error 035: argument type mismatch (argument 2)
Roleplay.pwn(143) : error 035: argument type mismatch (argument 2)
Here is the line
Код:
SendClientMessageToAll(COL_GREEN, "An admin has on duty");//141
SendClientMessage(playerid, COL_GREEN, "type /ahelp to see admin commands");//142
SetPlayerColor(playerid, COL_GREEN);//143
Re: argument type mismatch -
-=Dar[K]Lord=- - 05.11.2013
did you define the COL_GREEN macro?
pawn Код:
//put this on the top where there are other colours
#define COL_GREEN 0x00FF00FF
#EDIT: You might have defined the gren colour wrongly reverify your green colour if its wrong replace it with the one which i gave