Skip to content

2.3.4

Compare
Choose a tag to compare
@Mikusch Mikusch released this 29 Dec 09:13
· 11 commits to master since this release

This update greatly improves the internal handling of entities and deprecates two forwards as a result of it.

Changelog

  • Deprecated OnVehicleSpawned and OnVehicleDestroyed forwards
    • These forwards were originally created to be able to fetch vehicle properties before they were deleted by the plugin in an OnEntityDestroyed forward
    • The plugin now delays this process by a frame, allowing subplugins to react properly
    • Subject to removal in version 2.4.0
  • Changed the default value of the owner parameter in Vehicle.Create to -1 and added default values for the origin and angles parameters
  • Allow passing entity references into the Vehicle methodmap constructor