Help Command
#3

isn't working on Strcmp y tried
Код:
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.");
       return 1;
    }
	return 0;
}

enum pInfo
{
   pAdmin
};

new PlayerInfo[MAX_PLAYERS][pInfo];
the script is running but everyone can play music
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: 1 Guest(s)