Very simple Question( Rep+ )
#3

pawn Код:
CMD:help(playerid, params[])
{
    if ( isnull ( params ) ) return SendClientMessage( playerid, -1, #Usage /help <commands, admins, general> );
   
    if ( !strcmp ( params, "commands" ) )
    {
        // do your code
    }
    else if ( !strcmp ( params, "admins" ) )
    {
        // do your code
    }
    else
    {
        SendClientMessage( playerid, -1, #Unknown parameter );
    }
   
    return 1;
}
Reply


Messages In This Thread
Very simple Question( Rep+ ) - by Azzeto - 16.11.2011, 18:28
Re: Very simple Question( Rep+ ) - by antonio112 - 16.11.2011, 18:33
Re: Very simple Question( Rep+ ) - by SmiT - 16.11.2011, 18:35
Re: Very simple Question( Rep+ ) - by Azzeto - 16.11.2011, 20:10
Re: Very simple Question( Rep+ ) - by FireCat - 16.11.2011, 20:14

Forum Jump:


Users browsing this thread: 1 Guest(s)