[HELP]Neon Admin System
#6

Quote:
Originally Posted by Super_Panda
Посмотреть сообщение
pawn Код:
public OnPlayerCommandText(playerid, cmdtext[])
    {
            if (strcmp(cmdtext, "/takeneon", true)==0)
            {
            if(IsPlayerAdmin(playerid))
            {
            if(IsPlayerInAnyVehicle(playerid))
            {
        ShowPlayerDialog(playerid, neondialog, DIALOG_STYLE_LIST, "Neon Color", "Blue\nRed\nGreen\nWhite\nPink\nYellow\nSpecial[Red]\nSpecial[Green]\nSpecial[Blue]\nDellete Neon[By:wizzi]", "Select", "Cancel");
            }
            return 1;
            }
            return 0;
    }
Be careful.
IsPlayerAdmin(); checks if a player is logged in into RCON.
Reply


Messages In This Thread
[HELP]Neon Admin System - by Kazuo - 12.10.2011, 00:10
Re: [HELP]Neon Admin System - by Yamoo - 12.10.2011, 00:37
Re: [HELP]Neon Admin System - by Kazuo - 12.10.2011, 01:01
Re: [HELP]Neon Admin System - by Kazuo - 12.10.2011, 23:33
Re: [HELP]Neon Admin System - by Super_Panda - 12.10.2011, 23:35
AW: Re: [HELP]Neon Admin System - by Drebin - 13.10.2011, 00:25

Forum Jump:


Users browsing this thread: 1 Guest(s)