Skip to content

ScriptHookVDotNet v3.4.0

Compare
Choose a tag to compare
@crosire crosire released this 17 Jan 12:11

Changelog

  • Added InteriorProxy (which some native functions for interior use), AnimatedBuilding, Building, and InteriorInstance.
    • Also added the following properties and methods for InteriorProxy, AnimatedBuilding, Building, and InteriorInstance to World class:
      • count and capacity properties
      • The methods to get handles
      • The World.GetClosest() overloads.
  • Added Entity.FragmentGroupCount, Entity.IsFragmentObject, Entity.DetachFragmentPart(), EntityBone.FragmentGroupIndex, World.EntityColliderCount, and Entity.EntityColliderCapacity
  • Added Ped.SeeingRange, Ped.HearingRange, Ped.VisualFieldMinAngle, Ped.VisualFieldMaxAngle, Ped.VisualFieldMinElevationAngle, Ped.VisualFieldMaxElevationAngle, Ped.VisualFieldPeripheralRange, and Ped.VisualFieldCenterAngle
  • Added Ped.CauseOfDeath, Ped.TimeOfDeath, Ped.ClearKillerRecord(), Ped.ClearCauseOfDeathRecord(), and Ped.ClearTimeOfDeathRecord()
  • Added the getter of Ped.FiringPattern
  • Added Game.FindPattern()
  • Added Quaternion.LookRotation()
  • Added new peds, vehicles, weapons, weapon components, radio station, blip sprites, and explosion type to PedHash, VehicleHash, WeaponHash, WeaponComponentHash, RadioStation, BlipSprite, and ExplosionType enums
  • Added the documentation note for the incorrectly named parameter offset to Entity.ApplyForce() and Entity.ApplyForceRelative()
  • Added the documentation note for the non-working parameter isAmmoLoaded to WeaponCollection.Give()
  • Fixed Stop() method of helper classes of Euphoria not working
  • Fixed Start() method of helper classes of Euphoria not working properly when peds are ragdolled. Now the method can apply simultaneously just like in v2.10.10 or earlier versions.
    • Also made the Start() method working when peds are ragdolled but not by SET_PED_TO_RAGDOLL, which does not work in v2.10.10 or earlier versions.
  • Fixed Vehicle.PassengerCount not counting as intended in v1.0.2545.0 (or later versions) due to addition to parameters and implementation changes
  • Fixed WeaponCollection.Give() not selecting the weapon if equipNow is set to true and the ped did not have the weapon
  • Fixed cursor of console not moving properly when pasting clipboard content
  • Fixed not showing dll names referencing version-less SHVDN in console
  • Made WeaponCollection.Give() select the weapon only if equipNow is set to true when the ped had the weapon