NPC animation
#1

I can't make the bots dance! :S
I even preload the animation!
now here's the Npc mode..
Код:
#include <a_npc>

public OnPlayerStreamIn(playerid)
{
	SetMyPos(1967.5193,395.3029,21.5836);
	SetMyFacingAngle(267.9429);
	SendCommand("/strip3");
	return 1;
}
and this is the command "/strip3" in the gamemode

Код:
if (strcmp("/strip3", cmdtext, true, 10) == 0) //20
{
	SetPlayerSkin(playerid,246);
	ClearAnimations(playerid,1);
	ApplyAnimation(playerid,"STRIP","null",0.0,0,0,0,0,0);
	ApplyAnimation (playerid,"STRIP","STR_Loop_C",4,1,0,0,0,0);
	return 1;
}
Reply


Messages In This Thread
NPC animation - by RedFusion - 18.10.2010, 16:45
Re: NPC animation - by RedFusion - 19.10.2010, 12:52
Re: NPC animation - by Slice - 19.10.2010, 12:54
Re: NPC animation - by RedFusion - 19.10.2010, 12:57
Re: NPC animation - by Slice - 19.10.2010, 13:20
Re: NPC animation - by RedFusion - 19.10.2010, 13:26
Re: NPC animation - by RedFusion - 19.10.2010, 13:39

Forum Jump:


Users browsing this thread: 1 Guest(s)