How to make command with two string arguments?
#4

Much more simple:

pawn Код:
CMD:test(playerid, params[])
{
    new
        str01[32],
        str02[32];

    if(!sscanf(params, "s[32]s[32]", str01, str02))
    {
        //Your code
    }
    else
    {
        SendClientMessage(playerid, -1, "Usage: /test <string1> <string2>");
    }
    return 1;
}
Assuming you're using ZCMD or y_commands.
Reply


Messages In This Thread
How to make command with two string arguments? - by Micius - 07.08.2013, 09:04
Re: How to make command with two string arguments? - by DemCaribous - 07.08.2013, 09:07
Re: How to make command with two string arguments? - by Skribblez - 07.08.2013, 09:15
Re: How to make command with two string arguments? - by Youarex - 07.08.2013, 09:26
Re: How to make command with two string arguments? - by Micius - 07.08.2013, 09:28

Forum Jump:


Users browsing this thread: 1 Guest(s)