[Pedido] Animaзгo ao morrer
#1

Olб amigos.

Queria saber se vocкs podem me passar, quem tenha ou saiba, aquela animaзгo que tem em vбrios servers, como FenixZone e tal, quando morre, que o player fica encolhido no chгo tipo gemendo, geralmente nesses servers fica aparecendo pra esperar o mйdico ou aceitar a morte.
Reply
#2

pawn Код:
new death;

public OnPlayerDeath(playerid, reason) {

    death++;
    return true;
}

public OnPlayerSpawn(playerid) {

    if(death > 1) {
        //  Funзгo pra ir pro mйdico
        SetPlayerPos(playerid, PosX, PosY, PosZ);
        SetPlayerInterior(playerid, IntID);
        ClearAnimations(playerid);
        ApplyAnimation(playerid, "CRACK", "crckdeth2", 4.0, 1, 0, 0, 0, 0);
    }
    return true;
}
Reply
#3

Cara! Muito obrigado mesmo por essa animaзгo! Fico muito grato! Lhe dei reputaзгo! Procurei essa animaзгo hб muito tempo.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)