05.11.2017, 08:19
PHP код:
#define MAX_ACTORS 7
new ActorCJ[MAX_ACTORS];
public OnGameModeInit()
{
ActorCJ[0] = CreateActor(0, 0.0, 0.0, 3.0, 0.0);
ActorCJ[1] = CreateActor(0, 0.0, 0.0, 3.0, 0.0);
ActorCJ[2] = CreateActor(0, 0.0, 0.0, 3.0, 0.0);
ActorCJ[3] = CreateActor(0, 0.0, 0.0, 3.0, 0.0);
ActorCJ[4] = CreateActor(0, 0.0, 0.0, 3.0, 0.0);
ActorCJ[5] = CreateActor(0, 0.0, 0.0, 3.0, 0.0);
ActorCJ[6] = CreateActor(0, 0.0, 0.0, 3.0, 0.0);
for(new i = 0; i < MAX_ACTORS; i ++)
{
ApplyActorAnimation(i, "DEALER", "DEALER_IDLE", 4.0, 1, 0, 0, 0, 0, 1);
}
return 1;
}