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
#2

BUMP!

Does recordings work better with SendCommand?
Reply
#3

I would help you; but seeing as bumping mad as hell is all you ever do - you're on your own.
Reply
#4

Okay then..
Reply
#5

i'm guessing setting forcesync to 1 would solve any issues.
Reply
#6

Okay i will try it, Thanks!
Reply
#7

It sort of works now, but when i drive there too fast, they don't dance, but when i run there by foot, it works..

Or the other way around, i dont know yet..
Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)