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

I've got:

pawn Код:
if (strcmp("/o", cmdtext, true) == 0)
    {
    new text,string[70], pName[MAX_PLAYER_NAME];
    if(sscanf("s",text)) return SendClientMessage(playerid,COLOR_ERROR,"Usage: /o [Msg]"); // line with error
    GetPlayerName(playerid,pName,MAX_PLAYER_NAME);
    format(string,sizeof string,"(( %s: %s))",pName,text);
    SendClientMessageToAll(COLOR_GREY,string);
    return 1;
    }
but get:

Код:
error 035: argument type mismatch (argument 2)
it's done with SSCANF. Anyone know whats wrong? Thanks.
Reply


Messages In This Thread

Forum Jump:


Users browsing this thread: 1 Guest(s)