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

Quote:
Originally Posted by xVIP3Rx
Посмотреть сообщение
This error means your putting an invalid input in a function, try to compile this to understand
pawn Код:
public OnPlayerConnect(playerid)
{
    SendClientMessage("test", "test", "test");

    return 1;
}
SendClientMessage should take the id(integer) in the first "argument", then a color, then the string.
if you put something else, for example a string instead of an integer it'll give you this error

since you didn't show a specific line I guess some of your colors aren't correctly defined
Код:
#define COL_WHITE "{FFFFFF}"
#define COL_RED "{F81414}"
#define COL_GREEN "{00FF22}"
#define COL_LIGHTBLUE "{00CED1}"
Here r the colours , i still dont get you tho :/
Reply


Messages In This Thread
error 035: argument type mismatch (argument 2) - by YoussefHammad - 24.07.2015, 13:15
Re: error 035: argument type mismatch (argument 2) - by xVIP3Rx - 24.07.2015, 13:35
Re: error 035: argument type mismatch (argument 2) - by YoussefHammad - 24.07.2015, 15:56
Re: error 035: argument type mismatch (argument 2) - by xVIP3Rx - 24.07.2015, 16:00
Re: error 035: argument type mismatch (argument 2) - by YoussefHammad - 24.07.2015, 16:39

Forum Jump:


Users browsing this thread: 2 Guest(s)