#6

Don`t know if this`s exactly what you ask for ... but I give it a go. A simple example with /buy command:
pawn Код:
CMD:buy(playerid, params[])
{
    if ( !strcmp( params, "watch" ) )
    {
        //Code here. This is if you use /buy watch command
    }
    if ( !strcmp( params, "cigars" ) )
    {
        //Code here. This is if you use /buy cigars command
    }
    if ( !strcmp( params, "matches" ) )
    {
        //Code here. This is if you use /buy matches command
    }
        return 1;
}
This is in ZCMD ... Hope this is what you asked for.
Reply


Messages In This Thread
help - by omer5198 - 21.03.2011, 11:45
Re: help - by Roomeo - 21.03.2011, 11:47
Re: help - by omer5198 - 21.03.2011, 11:55
Re: help - by Davz*|*Criss - 21.03.2011, 13:01
Re: help - by MadeMan - 21.03.2011, 13:52
Re: help - by antonio112 - 21.03.2011, 14:20

Forum Jump:


Users browsing this thread: 1 Guest(s)