[Ajuda] Evento x1
#8

Код:
    if(!strcmp("/eventox1", cmdtext, true))
	{
        if(IsPlayerConnected(playerid))
        {
            if(PlayerInfo[playerid][pAdmin] >= 1)
			{
                if(!eventoIniciado)
				{
                new name[24];
                GetPlayerName(playerid, name, sizeof(name));
                format(buffer, sizeof(buffer), "{FFFFFF}O admin rcon %s criou um evento x1, deseja comparecer?", name);
                for(new i = GetMaxPlayers() - 1; i > -1; --i) {
                ShowPlayerDialog(i, DIALOG_EVENTOX1, DIALOG_STYLE_MSGBOX, "x1", buffer, "Sim", "Nгo");
                }
                eventoIniciado = true;
            }
        }
        return 1;
    }
Tenta ae
Reply


Messages In This Thread
MySQL - by smiiir - 30.10.2012, 22:39
Re: Evento x1 - by Vinicius_TroLL - 30.10.2012, 22:41
Re: Evento x1 - by smiiir - 30.10.2012, 22:53
Re: Evento x1 - by Vinicius_TroLL - 30.10.2012, 22:56
Re: Evento x1 - by smiiir - 30.10.2012, 23:04
Re: Evento x1 - by Vinicius_TroLL - 30.10.2012, 23:12
Re: Evento x1 - by smiiir - 30.10.2012, 23:15
Re: Evento x1 - by Vinicius_TroLL - 30.10.2012, 23:40
Re: Evento x1 - by smiiir - 30.10.2012, 23:48
Re: Evento x1 - by Vinicius_TroLL - 30.10.2012, 23:51

Forum Jump:


Users browsing this thread: 2 Guest(s)