SA-MP Forums Archive
[Ajuda] Sistema de eventos - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: Non-English (https://sampforum.blast.hk/forumdisplay.php?fid=9)
+--- Forum: Languages (https://sampforum.blast.hk/forumdisplay.php?fid=33)
+---- Forum: Português/Portuguese (https://sampforum.blast.hk/forumdisplay.php?fid=34)
+---- Thread: [Ajuda] Sistema de eventos (/showthread.php?tid=538207)



Sistema de eventos - Slipk - 20.09.2014

Close


Re: [Ajuda]Sistema de eventos - ExPLORE - 20.09.2014

pawn Код:
public OnPlayerDeath(playerid, killerid, reason)
{
    GetPlayerName(playerid, Name, sizeof(Name));
    for(new i=0;i<=EVENTOID;i++)
    {
        if (entrouevento[i] == 1)
        {
            format(Celulas, sizeof(Celulas),"{FFFFFF}[DS-Evento]O Player {FF230A}%s{FFFFFF}({FF230A}ID:%d{FFFFFF}) Morreu No Evento.", Name, playerid);
            SendClientMessageToAll(Vermelho,Celulas);
            entrouevento[playerid] = false;
         }
    }
    return 1;
}



Re: [Ajuda]Sistema de eventos - Slipk - 20.09.2014

Obrigado Funcionou