20.03.2013, 20:14
When I force my animations it's not working. When the player goes to the hospital he's supposed to play an animation but he does not.
pawn Код:
SetTimerEx("DeathTimer", 15000, false, "i", playerid);
SetPlayerInterior(playerid, 0);
SetPlayerPos(playerid, 4099.4790,-184.1868,59.8823);
SetPlayerFacingAngle(playerid, 90.7286);
SetPlayerCameraPos(playerid, 4096.7334,-186.8211,59.2456);
SetPlayerCameraLookAt(playerid, 4099.4790,-184.1868,59.8823);
ApplyAnimation(playerid, "CRACK", "crckdeth2", 4.0, 0, 0, 0, 0, 0, 1);
SendClientMessage(playerid, COLOR_LIGHTRED, "You're being treated at the hospital...");
SetPlayerHealth(playerid, 10);
AtHospital[playerid] = 1;