argument type mismatch
#1

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
Reply
#2

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
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)