Пример #1
0
 public RemotePlayer(string Model)
 {
     GameReference = World.CreatePed(Model, Vector3.Zero);
     GameReference.BlockGestures        = true;
     GameReference.BlockPermanentEvents = true;
     GameReference.BlockWeaponSwitching = true;
     GameReference.PreventRagdoll       = true;
     AnimationManager = new RemotePlayerAnimationManager(this);
     TaskJumpAdded    = false;
     Initialized      = true;
 }
Пример #2
0
 public RemotePlayer(string Model)
 {
     GameReference = World.CreatePed(Model, Vector3.Zero);
     GameReference.BlockGestures = true;
     GameReference.BlockPermanentEvents = true;
     GameReference.BlockWeaponSwitching = true;
     GameReference.PreventRagdoll = true;
     AnimationManager = new RemotePlayerAnimationManager(this);
     TaskJumpAdded = false;
     Initialized = true;
 }