It’s finally time for the huge v3 upgrade to be released. When rendering strings longer than 198 characters, characters were missing.Fixed a TypeLoadException that was preventing some scripts from loading.Re-added the reload key, as well as the ability to change the console toggle key.In addition to the Reload() command in the console, reloading by a key press is now allowed.Įdit ScriptHookVDotNet.ini in the game folder (e.g.) to change the shortcut keys: ReloadKey=Insert The default key to toggle the in-game console can now be changed. Unfortunately some scripts rely on this, so enabling that behavior again. This should never have worked, but did in v2 because of an oversight.
#Script hook v dot net full#
Made methods for creating entities in World return null when the entity pool is full in order to prevent the game from crashing.Made World.CreateRandomVehicle() return immediately (the method does not work currently).Improved performance of methods for getting entities in World and World.GetAllBlips() (or World.GetActiveBlips() in the v2 API).Fixed PedHash.Corpse01UMY using the wrong value.Fixed Notification.Show(), Screen.ShowSubtitle(), Screen.ShowHelpTextThisFrame(), the setter of TextElement.Caption, TextElement.GetStringWidth(), and TextElement.GetScaledStringWidth() throwing exception when the text argument is null (now work as if the text argument is the empty string).Fixed Audio.PlaySoundAt and Audio.PlaySoundFrontend not correctly tying the returning sound id.Fixed Ped.SeatIndex not necessarily returning the correct value.Fixed Game.GetUserInput() throwing exception for certain window titles.Fixed some properties and methods of EntityBone not working in v.0 or higher.Fixed the getter of Game.TimeScale not working in v.0 or higher.Fixed Vehicle.OilVolume and Vehicle.PetrolTankVolume returning the wrong value.Added countermeasure against removing vehicles added in Arena War or later updates (Lowriders or later updates in 1.0.505.2 to.Added more accurate values to VehicleLockStatus and made confusing values obsolete.Added missing flag values to LeaveVehicleFlags enum.Added missing firing pattern values to FiringPattern enum.Added missing control values to Control enum.Added new peds, vehicles, weapons, radio stations, blip sprites, and explosion types to PedHash, VehicleHash, WeaponHash, RadioStation, BlipSprite, and ExplosionType enums.Added Ped.GetAllModels() and Weapon.GetAllModels().Added the property Vehicle.HandlingData.