Question about PVars and timerex.
#5

One more question:

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;
}
It's doesn't apply the animation on the player..
Reply


Messages In This Thread
Question about PVars and timerex. - by PaulDinam - 19.02.2013, 18:20
Re: Question about PVars and timerex. - by DaRk_RaiN - 19.02.2013, 18:28
Re: Question about PVars and timerex. - by Johnson_boy - 19.02.2013, 18:29
Re: Question about PVars and timerex. - by Scenario - 19.02.2013, 18:34
Re: Question about PVars and timerex. - by PaulDinam - 19.02.2013, 18:40
Re: Question about PVars and timerex. - by Scenario - 19.02.2013, 18:43
Re: Question about PVars and timerex. - by PaulDinam - 19.02.2013, 18:47
Re: Question about PVars and timerex. - by PaulDinam - 19.02.2013, 20:07

Forum Jump:


Users browsing this thread: 3 Guest(s)