About actors
#6

PHP код:

#define MAX_ACTORS 7
new ActorCJ[MAX_ACTORS]; 
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 
0MAX_ACTORS++) 
    { 
        
ApplyActorAnimation(i"DEALER""DEALER_IDLE"4.0100001); 
    } 
    return 
1

Though, you won't need foreach for this loop.
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: 2 Guest(s)