/help
#4

pawn Код:
CMD:help(playerid, params[])
{
    new option[24];
    if(sscanf(params, "s[24]", option))
    {
        SendClientMessage(playerid, -1, "Syntax: /help option");
        SendClientMessage(playerid, -1, "Options: vehicle, etc, etc ,etc");
        return 1;
    }
    if(!strcmp(option, "vehicle", true))
    {
        SendClientMessage(playerid, -1, "Heres your vehicle help!");
    }
    else return SendClientMessage(playerid, -1, "That option doesn't exist!");
    return 1;
}
Should be straight forward on how to add more


Edit: lol just noticed this was an old topic, hadn't closed this tab! lol.
Reply


Messages In This Thread
/help - by iGetty - 20.07.2011, 23:59
Re: /help - by [HiC]TheKiller - 21.07.2011, 00:10
Re: /help - by iGetty - 21.07.2011, 00:12
Re: /help - by PrawkC - 24.07.2011, 20:53

Forum Jump:


Users browsing this thread: 1 Guest(s)