Example #1
0
 public IFire CreateFire(CVector3 vecPos, float fDensity)
 {
     ushort id = Objects.Objects_CreateFire(vecPos, fDensity);
     return new Fire() {
         FireId = id
     };
 }
Example #2
0
 public IBlip Create(int iSprite, CVector3 vecPosition, bool bShow)
 {
     ushort id = Imports.Blips.Blips_Create(iSprite, vecPosition, bShow);
     return new Blip() {
         BlipId = id
     };
 }
Example #3
0
 public IVehicle Create(VehicleModels iModelId, CVector3 vecPosition, CVector3 vecRotation, int color1, int color2, int color3, int color4, int respawn_delay)
 {
     ushort id = (ushort)Imports.Vehicles.Vehicles_Create((int)iModelId, vecPosition, vecRotation, color1, color2, color3, color4, respawn_delay);
     return new Vehicle() {
         VehicleId = id
     };
 }
Example #4
0
 public IObject Create(long modelhash, CVector3 vecPosition, CVector3 vecRotation)
 {
     ushort id = Objects.Objects_Create(modelhash, vecPosition, vecRotation);
     return new IVObject() {
         ObjectId = id
     };
 }
Example #5
0
 public ICheckPoint Create(CheckpointTypes iType, CVector3 vecPosition, CVector3 vecTargetPosition, float fRadius)
 {
     ushort id = Imports.Checkpoints.Checkpoints_Create((int)iType, vecPosition, vecTargetPosition, fRadius);
     return new CheckPoint() {
         CheckPointId = id
     };
 }
Example #6
0
 public IPickup Create(PickupModels modelhash, PickupTypes type, uint value, CVector3 vecPosition, CVector3 vecRotation)
 {
     ushort id = Imports.Pickups.Pickups_Create((uint)modelhash, (byte)type, value, vecPosition, vecRotation);
     return new Pickup() {
         PickupId = id
     };
 }
Example #7
0
 public IActor Create(PedModels iModelId, CVector3 vecPosition, float fHeading)
 {
     ushort id = Imports.Actors.Actors_Create((int)iModelId, vecPosition, fHeading);
     return new Actor() {
         ActorId = id
     };
 }
Example #8
0
 public static extern Boolean Blips_SetCoordinates(ushort blipId, CVector3 vecPosition);
Example #9
0
 public static extern ushort Blips_Create(Int32 iSprite, CVector3 vecPosition, Boolean bShow);
Example #10
0
 public static extern Boolean Objects_AttachPed(ushort objectId, ushort playerId, CVector3 vecPos, CVector3 vecRot);
Example #11
0
 public static extern Int32 Vehicles_Create(Int32 iModelId, CVector3 vecPosition, CVector3 vecRotation, Int32 color1, Int32 color2, Int32 color3, Int32 color4, Int32 respawn_delay);
Example #12
0
 public static extern Boolean Vehicles_SetRotation(ushort vehicleId, CVector3 vecRotation);
Example #13
0
 public static extern Boolean Vehicles_SetAngularVelocity(ushort vehicleid, CVector3 vecTurnSpeed);
Example #14
0
 public static extern Boolean Objects_Rotate(ushort objectId, CVector3 vecRotation, Single fSpeed);
Example #15
0
 public static extern Boolean Objects_Move(ushort objectId, CVector3 vecMoveTarget, CVector3 vecMoveRot, Single fSpeed);
Example #16
0
 public static extern ushort Objects_CreateFire(CVector3 vecPos, Single fDensity);
Example #17
0
 public static extern void Objects_CreateExplosion(CVector3 vecPos, Single fDensity);
Example #18
0
 public static extern ushort Objects_Create(Int64 modelhash, CVector3 vecPosition, CVector3 vecRotation);
Example #19
0
 public static extern Boolean Objects_AttachVehicle(ushort objectId, ushort vehicleId, CVector3 vecPos, CVector3 vecRot);
Example #20
0
 public static extern Boolean Objects_AttachToPlayer(ushort objectId, ushort playerId, CVector3 vecPos, CVector3 vecRot, Int32 iBone);
Example #21
0
 public static extern Boolean Objects_SetCoordinates(ushort objectId, CVector3 vecPosition);
Example #22
0
 public static extern Boolean Objects_SetRotation(ushort objectId, CVector3 vecRotation);
Example #23
0
 public static extern Boolean Vehicles_SetCoordinates(ushort vehicleid, CVector3 vecPosition);
Example #24
0
 public void CreateExplosion(CVector3 vecPos, float fDensity)
 {
     Objects.Objects_CreateExplosion(vecPos, fDensity);
 }
Example #25
0
 public static extern Boolean Vehicles_SetVelocity(ushort vehicleid, CVector3 vecMoveSpeed);
Example #26
0
 public static extern Boolean Actors_SetCoordinates(ushort actorId, CVector3 vecPosition);
Example #27
0
 public bool WalkToCoordinatesForPlayer(IPlayer player, CVector3 vecPosition, int iType)
 {
     return Actors.Actors_WalkToCoordinates(player.PlayerId, ActorId, vecPosition, iType);
 }
Example #28
0
 public static extern Boolean Actors_WalkToCoordinates(ushort playerId, ushort actorId, CVector3 vecPosition, Int32 iType);
Example #29
0
 public bool DriveToCoordinates(CVector3 vecDriveTo, CVector3 vecDriveRot, bool bStop)
 {
     return Actors.Actors_DriveToCoordinates(ActorId, vecDriveTo, vecDriveRot, bStop);
 }
Example #30
0
 public static extern Boolean Actors_DriveToCoordinates(ushort actorId, CVector3 vecDriveTo, CVector3 vecDriveRot, Boolean bStop);