19.02.2013, 18:40
One more question:
I got this code:
It's doesn't apply the animation on the player..
I got this code:
Код:
public OnPlayerSpawn(playerid)
{
if(GetIntVar(playerid, "gLogged") != 1)
{
KickEx(playerid, "[SERVER]: You must be logged in to spawn!");
}
if(GetIntVar(playerid, "JustDied") == 1)
{
PutPlayer(playerid, PlayerInfo[playerid][pPosX],PlayerInfo[playerid][pPosY],PlayerInfo[playerid][pPosZ]);
ClearAnimations(playerid);
ApplyAnimation(playerid, "CRACK", "crckdeth1", 4.0, 1, 0, 0, 0, 0); // Dieing of Crack
return 1;
}
return 1;
}

