About actors
#5

Hello!

When you want to do this, then like this:
PHP код:
#include <foreach> 
new ActorCJ[7]; 
public 
OnGameModeInit() 

ActorCJ[0] = CreateActor(00.00.03.00.0); 
ActorCJ[1] = CreateActor(00.00.03.00.0); 
ActorCJ[2] = CreateActor(00.00.03.00.0); 
ActorCJ[3] = CreateActor(00.00.03.00.0); 
ActorCJ[4] = CreateActor(00.00.03.00.0); 
ActorCJ[5] = CreateActor(00.00.03.00.0); 
ActorCJ[6] = CreateActor(00.00.03.00.0); 
for(new 
07++) { 
    
ApplyActorAnimation(i"DEALER""DEALER_IDLE"4.0100001); 

return 
1

Because you use 0-6 (0,1,2,3,4,5,6 = 7) but you defined it with 6. I hope you understand what I mean. ^^
Reply


Messages In This Thread
About actors - by AlexMSK - 05.11.2017, 00:21
Re: About actors - by AlexMSK - 05.11.2017, 01:04
Re: About actors - by Dayrion - 05.11.2017, 01:14
Re: About actors - by TomRedlake - 05.11.2017, 07:42
Re: About actors - by Mencent - 05.11.2017, 08:01
Re: About actors - by AjaxM - 05.11.2017, 08:19
Re: About actors - by Sasino97 - 07.11.2017, 18:16

Forum Jump:


Users browsing this thread: 1 Guest(s)