This will be thrown if the properties or methods that are not supported in the game version you are playing (some certain getter properties or methods will return the default value instead).Īdded EntityDamageRecord struct, EntityDamageRecordCollection class, and Entity.DamageRecordsĪdded Projectile class, World.GetAllProjectiles(), World.GetNearbyProjectiles(), World.GetClosestProjectile(), World.ProjectileCount, and World.ProjectileCapacityĪdded MeasurementSystem enum and Game.MeasurementSystemĪdded PlayerTargetingMode enum and Game.PlayerTargetingModeĪdded Game.IsVibrationEnabled and Game.GetProfileSetting()Īdded EntityPopulationType enums and Entity.PopulationTypeĪdded the setter of Entity.RotationVelocity, and Entity.WorldRotationVelocityĪdded Model.IsAnimalPed, Model.IsFemalePed, Model.IsGangPed, Model.IsHumanPed, Model.IsMalePed, Model.IsMotorcycle, and Model.IsSubmarine,Īdded Ped.SetIsPersistentNoClearTask() and Ped.GetAllLoadedModelsAppropriateForAmbientPeds()Īdded VehicleType enum, Vehicle.Type, Vehicle.IsRegularAutomobile, Vehicle.IsAmphibiousAutomobile, Vehicle.IsAutomobile, Vehicle.IsRegularQuadBike, Vehicle.IsAmphibiousQuadBike, Vehicle.IsQuadBike, Vehicle.IsAmphibious, Vehicle.IsTrailer, Vehicle.IsPlane, Vehicle.IsHelicopter, Vehicle.IsBlimp, Vehicle.IsMotorcycle, Vehicle.IsBicycle, Vehicle.IsBike, Vehicle.IsBoat, Vehicle.IsTrain, and Vehicle.IsSubmarine.This is also added in v2 API mainly for the API itself to improve performance, but you can use these overloads in scripts.These overloads are provided mainly for performance. Now required memory offsets for the class are retrieved using memory patterns.Īdded overloads with 0 to 16 normal InputArgument parameters. Compiled scripts do not take effect since enums are embedded as constants when directly used. NativeHashes enums are updated (v3 API only). Made WeaponCollection.Give() select the weapon only if equipNow is set to true when the ped had the weapon.
Added InteriorProxy (which native functions for interior support), AnimatedBuilding, Building, and InteriorInstance.