31.01.2013, 15:54
pawn Код:
if(!strcmp(cmdtext, "/criarevento", true))
{
if(!IsPlayerAdmin(playerid)) return 0x00;
static nome[21], fstring[79];
GetPlayerName(playerid, nome, 21);
format(fstring, 79 + 21, "O Admin %s estб chamando todos Para um\n Evento de Paintball\n Vocк Deseja ir ?", nome);
for(new ii, xx = GetMaxPlayers(); ii != xx; ii++)
{
if(ii == playerid || !IsPlayerConnected(ii) /* || sua var de login == false */) continue;
ShowPlayerDialog(ii, 1923, DIALOG_STYLE_MSGBOX, "Evento Paintball", fstring, "Sim", "Nгo");
}
return 0x01;
}