new ActorCJ;
Código PHP:
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.
}
Código PHP:
public OnPlayerConnect(playerid) {
ApplyAnimation(playerid, "DEALER", "Dealer_idle", 0.0, 0, 0, 0, 0, 0);//Previously we load animation to the player.
}

0 Comentários