15.05.2015, 03:56
Quote:
Код:
actors[8]; new Float:server_actorspos[8][4] = { // x,y,z,a here return 1; } Public OnGameModeInit() { for(new i; i < sizeof(server_actorspos); i++) actors[i] = CreateActor(actorid,x,y,z,a); for(new i; i < sizeof(actors); i++) ApplyActorAnimation(actors[i],"DANCING", "dnce_M_a" , 4.0, 1, 0, 0, 0, 0); return 1; } |
@Maro, I bet the bitch that isn't dancing just isn't synced for you. Stream your self out and back in, if the result is the same start debugging.
EDIT: You sparked an idea! This, is for you.
pawn Код:
#define CreateBitch CreateActor
#define DestroyBitch DestroyActor
#define IsBitchStreamedIn IsActorStreamedIn
#define SetBitchVirtualWorld SetActorVirtualWorld
#define GetBitchVirtualWorld GetActorVirtualWorld
#define ApplyBitchAnimation ApplyActorAnimation
#define ClearBitchAnimations ClearActorAnimations
#define SetBitchPos SetActorPos
#define GetBitchPos GetActorPos
#define SetBitchFacingAngle SetActorFacingAngle
#define GetBitchFacingAngle GetActorFacingAngle
#define SetBitchHealth SetActorHealth
#define GetBitchHealth GetActorHealth
#define SetBitchInvulnerable SetActorInvulnerable
#define IsBitchInvulnerable IsActorInvulnerable
#define IsValidBitch IsValidActor