16.11.2011, 18:35
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;
}