Hallo Forum kann man das so machen das admin level 1 ur seine befehle sieht und ab level 2 die von 1 und 2
beispeil:
dcmd_ahelp(playerid,params[])
{
#pragma unused params
if(PlayerInfo[playerid][Admin]>= 1)
{
SendClientMessage(playerid,Orange,"|==========Admin-Befehle===========|");
SendClientMessage(playerid,Weiß," 1.Clanmember: /a[Text], /kick");
SendClientMessage(playerid,Weiß," 2.Moderator:");
SendClientMessage(playerid,Weiß," 3.Admin:");
SendClientMessage(playerid,Weiß," 4.Super-Admin: /fixw");
SendClientMessage(playerid,Weiß," 1337.Clan-Member: /makeleader");
SendClientMessage(playerid,Weiß," 1339.ServerOwner: /makeadmin");
SendClientMessage(playerid,Orange,"|==================================|");
return 1;
}
else
{
SendClientMessage(playerid,Rot,"Du bist kein Admin");
return 1;
}
}
als admin level 1
SendClientMessage(playerid,Orange,"|==========Admin-Befehle===========|");
SendClientMessage(playerid,Weiß," 1.Clanmember: /a[Text], /kick");
SendClientMessage(playerid,Orange,"|==================================|");
als admin level 2
SendClientMessage(playerid,Orange,"|==========Admin-Befehle===========|");
SendClientMessage(playerid,Weiß," 1.Clanmember: /a[Text], /kick");
SendClientMessage(playerid,Weiß," 2.Moderator:");
SendClientMessage(playerid,Orange,"|==================================|");