[Ajuda] Mapa buga ao sair de interior
#5

pawn Код:
public RecuperouSe()
{
    for(new p = 0; p < MAX_PLAYERS; p++)
    {
        if(Morreu[p])
        {
            TempoHospital[p]++;
            new Float:vida;
            GetPlayerHealth(p, vida);
            ApplyAnimation(p, "CRACK", "crckdeth2", 4.0, 1, 0, 0, 0, 0);
            switch(TempoHospital[p])
            {
                case 1 .. 59:
                {
                    SetPlayerHealth(p, vida+1);
                }
                case 60:
                {
                    Morreu[p] = false;
                    SendClientMessage(p, COLOR_LIGHTGREEN, "");
                    SendClientMessage(p, COLOR_LIGHTGREEN, "[INFO] Vocк foi curado. Seja mais cuidadoso a partir de agora.");
                    ClearAnimations(p);
                    //SetPlayerPos(p, 1175.0963, -1318.3589, 9280.5693);
                    SetPlayerPos(p, 1177.0024,-1323.8218,14.0492);
                    SetCameraBehindPlayer(p);
                    SetPlayerFacingAngle(p, 177.8791);
                    SetPlayerInterior(p, 0);
                    TempoHospital[p] = 0;
                }
            }
        }
    }
    return 1;
}
Reply


Messages In This Thread
Mapa buga ao sair de interior - by FenixBorn - 04.08.2013, 16:05
Re: Mapa buga ao sair de interior - by [A]rray - 04.08.2013, 16:06
Re: Mapa buga ao sair de interior - by FenixBorn - 04.08.2013, 16:24
Re: Mapa buga ao sair de interior - by [THs]ShadoW - 04.08.2013, 16:26
Re: Mapa buga ao sair de interior - by FenixBorn - 04.08.2013, 16:38
Re: Mapa buga ao sair de interior - by GabrielSantos - 04.08.2013, 16:41
Re: Mapa buga ao sair de interior - by FenixBorn - 04.08.2013, 20:49

Forum Jump:


Users browsing this thread: 1 Guest(s)