[Pedido] Animaзгo ao morrer
#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


Messages In This Thread
Animaзгo ao morrer - by SuperChock - 26.12.2013, 14:41
Re: Animaзгo ao morrer - by luuuck - 26.12.2013, 14:46
Re: Animaзгo ao morrer - by SuperChock - 26.12.2013, 14:48

Forum Jump:


Users browsing this thread: 1 Guest(s)