15.03.2013, 09:51
Coded by: ******.
pawn Код:
YCMD:cmds(playerid, params[], help)
{
if (help)
{
SendClientMessage(playerid, 0xFF0000AA, "Lists all the commands a player can use.");
}
else
{
new count = Command_GetPlayerCommandCount(playerid);
for (new i = 0; i != count; ++i)
{
SendClientMessage(playerid, 0xFF0000AA, Command_GetNext(i, playerid));
}
}
return 1;
}