01.09.2013, 13:31
I need help with how to see admins commands!
public OnPlayerCommandText(playerid, cmdtext[])
{
if(!strcmp(cmd, "/admincommands", true))
{
if(IsPlayerAdmin(playerid))
{
SendClientMessage(playerid,COLOR_WHITE,"/slap /kick /warn /ban"); //Add more
return 1;
}
return 0;
}
CMD:admincommands(playerid,params[])
{
if(IsPlayerAdmin(playerid))
{
SendClientMessage(playerid,COLOR_WHITE,"/slap /kick /warn /ban"); //Add more
return 1;
}
return 1;
}