Help actor action
#1

I trying to make somethings in actors like walk, but its not work...

I apply animation, its work in players and not in actors idk why...

Код:
RobotInfo[1][ractor] = CreateActor(305, 2124.9263,-1301.1108,23.8345, 1.8800); //
Ongamemodeinit
Код:
SetTimer("AtualizarRobots", 1000,1);
Код:
forward AtualizarRobots(); public AtualizarRobots() {
	new actstring[128];
	for(new a; a< GetActorPoolSize()+1; ++a) {
		if(IsValidActor(a)) {
			new Float:x, Float:y, Float:z;
			GetActorPos(a, x, y, z);
			Delete3DTextLabel(RobotInfo[a][rnametag]);
			format(actstring, sizeof(actstring), "Robot %i", a);
			RobotInfo[a][rnametag] = Create3DTextLabel(actstring, COLOR_WHITE, x,y,z+1, NAME_DRAWDISTANCE, 0, 0);
			ApplyAnimation(a,"PED","WALK_gang1",4.1,1,1,1,1,1);
		}
	}
}
Reply


Messages In This Thread
Help actor action - by ubunttu - 27.07.2016, 05:31
Re: Help actor action - by justice96 - 27.07.2016, 09:07
Re: Help actor action - by Onfroi - 27.07.2016, 09:45
Re: Help actor action - by GangstaSunny - 27.07.2016, 11:31
Re: Help actor action - by ubunttu - 27.07.2016, 14:37
Re: Help actor action - by ubunttu - 28.07.2016, 16:22
Re: Help actor action - by Luicy. - 28.07.2016, 17:10
Re: Help actor action - by Onfroi - 28.07.2016, 17:17
Re: Help actor action - by ubunttu - 28.07.2016, 19:59

Forum Jump:


Users browsing this thread: 1 Guest(s)