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

pawn Код:
if(PlayerInfo[playerid][Banned] == 1)
        {
            SendClientMessage(playerid, COLOR_WHITE, "You are banned from this server.");
            Kick(playerid);
        }
Код:
error 035: argument type mismatch (argument 2)
Help please.
Reply
#2

Which line is the error ?
I think you didn't define COLOR_WHITE correctly.
Reply
#3

As VIP3R said, it's COLOR_WHITE that isn't defined in a proper way. It says in the warning.
Here's an example how you can define it correctly.
pawn Код:
#define COLOR_WHITE 0xFFFFFFFF
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)