30.10.2012, 23:40
Код:
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; }