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

You must add the color for the text.

As an example, if you want red color, add this on the top of your script:

pawn Код:
#define COLOR_RED 0xAA3333AA
And, make your command like this:

pawn Код:
CMD:tp(playerid, params[])
{
new int, Float: x, Float: y, Float: z;
if(sscanf(params, "dfff", int, x, y, z))
return SendClientMessage(playerid, COLOR_RED, "SYNTAX: /tp [int] [x] [y] [z]");
SetPlayerPos(playerid, x, y, z);
SetPlayerInterior(playerid, int);
return 1;
}
Reply


Messages In This Thread
error 035: argument type mismatch (argument 2) - by Admin22 - 19.08.2013, 14:58
Re: error 035: argument type mismatch (argument 2) - by Edix - 19.08.2013, 15:14
Re: error 035: argument type mismatch (argument 2) - by HyDrAtIc - 19.08.2013, 15:17

Forum Jump:


Users browsing this thread: 1 Guest(s)