public OnPlayerDeath(playerid, killerid, reason)
{
new Float:x, Float:y, Float:z;
GetPlayerPos(playerid, x, y, z);
SetPlayerPos(playerid, x, y, z);
{
ApplyAnimation(playerid, "PARACHUTE", "FALL_skyDive_DIE", 4.0, 0, 1, 1, 1, -1);
TogglePlayerControllable(playerid, false);
SendClientMessage(playerid, -1, "{FF0000}[190] {FFFFFF}Vocк estб ferido! Acione a polнcia e os paramйdicos!");
}
return 1;
}
ApplyAnimation(playerid, "PARACHUTE", "FALL_skyDive_DIE", 4.0, 0, 1, 1, 1, -1);
stock PreloadAnimLib(playerid, animlib[])
{
ApplyAnimation(playerid,animlib,"null",0.0,0,0,0,0,0);
}
PreloadAnimLib(playerid, "PARACHUTE");
ApplyAnimation(playerid, "PARACHUTE", "FALL_skyDive_DIE", 4.0, 1, 1, 0, 0, -1);
Parameters: (playerid, animlib[], animname[], Float:fDelta, loop, lockx, locky, freeze, time, forcesync) |
LOOP |