Ejemplo n.º 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;
 }
Ejemplo n.º 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;
 }