OnPlayerCommandText RETURN MESSAGE [HELP]
#5

Then use format with GameTextForPlayer instead of SendClientMessage, also be carefull with those extra parameters.

EDIT: fast example:

pawn Код:
public OnPlayerCommandText(playerid, cmdtext[])
{
    new
        string[128];
       
    if(!strcmp(cmdtext, "/test", true))
    {
        // Do something here
        return true;
    }
    format(string, sizeof(string), "%s", cmdtext);
    return GameTextForPlayer(playerid, string, xxx, x);
}
Reply


Messages In This Thread

Forum Jump:


Users browsing this thread: 2 Guest(s)