#1

Well, can you guys tell me when the player remains with 0hp, I get a block (It's like freezed) but I can still move the camera, after I get unfreezed, it kills me.
Reply
#2

try this

pawn Код:
ClearAnimations(playerid); // OnPlayerDeath and OnPlayerSpawn
Reply
#3

Quote:
Originally Posted by Kitten
Посмотреть сообщение
try this

pawn Код:
ClearAnimations(playerid); // OnPlayerDeath and OnPlayerSpawn
good, but why it works after I die and I spawn hospital drops $ 100? (I have no giveplayermoney - 100) look script
pawn Код:
SetPlayerToTeamColor(playerid);
            if(PlayerSpital[playerid] == 1)
            {
                SetPlayerInterior(playerid, 0);
                new rand = random(sizeof(gMedicSpawns));
                SetPlayerPos(playerid, gMedicSpawns[rand][0], gMedicSpawns[rand][1], gMedicSpawns[rand][2]); // Warp the player
                SetPlayerFacingAngle(playerid, 92.3221);
                TogglePlayerControllable(playerid, 0);
                GameTextForPlayer(playerid, "~n~~n~~n~~n~~n~~n~~n~~y~Esti in spital pentru a-ti reface ~r~ranile~y~...", 35000, 3);
                ApplyAnimation(playerid, "CRACK", "crckdeth2", 4.0, 1, 0, 0, 0, 0);
                PlayerSpital[playerid] = 0;
                SetTimerEx("ReleaseFromHospital", 30000, 0, "i", playerid);
                SetPlayerSkin(playerid, PlayerInfo[playerid][pSkin]);
            }
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)