Show cmds only for admins
#3

pawn Код:
cmd(acmds,playerid, params[])
{
    if(GetAdminLevel(playerid) == 1) [Change this to your admin var]
        SendClientMessage(playerid, -1, "blablaba");
    if(GetAdminLevel(playerid) == 2)[Change this to your admin var]
    {
        SendClientMessage(playerid, -1, "blablaba");
    }
    if(GetAdminLevel(playerid) == 3)[Change this to your admin var]
    {
        SendClientMessage(playerid, -1, "blablaba");
    }
    if(GetAdminLevel(playerid) == 4)[Change this to your admin var]
    {
        SendClientMessage(playerid, -1, "blablaba");
    }
    if(GetAdminLevel(playerid) == 5)[Change this to your admin var]
    {
        SendClientMessage(playerid, -1, "blablaba");
    }
    return 1;
}
Reply


Messages In This Thread
Show cmds only for admins - by [HS]Syko - 12.08.2012, 14:23
Re: Show cmds only for admins - by phillip875 - 12.08.2012, 14:25
Re: Show cmds only for admins - by Djole1337 - 12.08.2012, 14:27

Forum Jump:


Users browsing this thread: 1 Guest(s)