[Tutorial] Fix "ApplyActorAnimation" (synchronization)
#1

In English not selenium. "FIX" of a bag is stated in an example.
Sense: Previously we load of animation at the player and a Actor.

PHP Code:
new ActorCJ; 
PHP Code:
public OnGameModeInit () {
    
ActorCJ = CreateActor(0, 0.0, 0.0, 3.0, 0.0);//We create the actor.
    
ApplyActorAnimation(ActorCJ, "DEALER", "Dealer_idle", 0, 0, 0, 0, 0, 0);//Previously we load animation to the actor.
    
ApplyActorAnimation(ActorCJ, "DEALER", "Dealer_idle", 4.1, 1, 0, 0, 0, 0);//We apply animation to the actor.
} 
PHP Code:
public OnPlayerConnect(playerid) {
    
ApplyAnimation(playerid, "DEALER", "Dealer_idle", 0.0, 0, 0, 0, 0, 0);//Previously we load animation to the player.
} 
Script: http://pastebin.com/76vhaiuT
Video: *********
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)