Help Command
#4

pawn Код:
public OnPlayerCommandText(playerid, cmdtext[])
{
    if(strcmp("/radio", cmdtext, true) == 0)
    {
       if(PlayerInfo[playerid][pAdmin] >= 1)
       ShowPlayerDialog(playerid, 102, DIALOG_STYLE_INPUT, "Radio System by GBLTeam","{FFFFFF}Write the {009BFF}URL{FFFFFF} from Radio Station:", "Okay", "Exit");
       SendClientMessage(playerid,COLOR_GREEN,"Chouse some option what you need.");
       }
    }
    else return SendClientMessage(playerid, COLOR_GREEN, "You must be admin to use this command!");
    return 1;
    }
    return 0;
}
Does that work?
Reply


Messages In This Thread
Help Command - by 3RoR - 11.04.2012, 20:12
Re: Help Command - by .FuneraL. - 11.04.2012, 20:24
Re: Help Command - by 3RoR - 11.04.2012, 20:35
Re: Help Command - by [jS]Thomas - 11.04.2012, 20:53
Re: Help Command - by 3RoR - 11.04.2012, 20:59
Re: Help Command - by ViniBorn - 11.04.2012, 21:07
Re: Help Command - by The__ - 11.04.2012, 21:12
Re: Help Command - by 3RoR - 11.04.2012, 21:16
Re: Help Command - by [jS]Thomas - 11.04.2012, 21:20

Forum Jump:


Users browsing this thread: 3 Guest(s)