Adminduty
#3

pawn Код:
if (strcmp("/adminduty", cmdtext, true, 10) == 0)
    {
        if(IsPlayerAdmin(playerid)) {
        SetPlayerChatBubble(playerid, "I'm on Admin Duty!", 0x33AA33AA, 30.0, 10000);
        }
        return 1;
    }
Checks if the player is an Admin (logged in to rcon), if so, it set's a chat bubble above their head displaying they are an Admin. Change the "I'm on Admin Duty!" to what you wish. The bubble will be green, you can change that too
Reply


Messages In This Thread
Adminduty - by IvanCroatiaCopy - 10.02.2011, 15:09
Re: Adminduty - by Mean - 10.02.2011, 15:20
Re: Adminduty - by Franjdea - 10.02.2011, 15:24
Re: Adminduty - by HyperZ - 10.02.2011, 15:29
Re: Adminduty - by IvanCroatiaCopy - 10.02.2011, 17:06

Forum Jump:


Users browsing this thread: 1 Guest(s)