Skip to content

2.3.0

Compare
Choose a tag to compare
@Mikusch Mikusch released this 15 Sep 23:57
· 24 commits to master since this release
16fa03a

This release primarily aims to add more commands, as well as reworking and improving upon existing commands.

New commands

  • sm_vehicle_reload - Reloads the vehicle configuration
  • sm_vehicle_remove <#userid|name> - Remove all vehicles of a player (uses SourceMod targeting)

Changes to existing commands

  • Existing commands have been renamed to follow the sm_vehicle naming to keep them consistent and easier to remember
    • sm_createvehicle -> sm_vehicle_create
    • sm_removevehicle -> sm_vehicle_removeaim
    • sm_removeallvehicles -> sm_vehicle_removeall
  • Command aliases such as sm_destroyvehicle have been removed entirely to simplify configuring SourceMod command overrides
  • All commands now print activity logs to other admins
    • image

New natives

  • bool Vehicle.GetId(char[] buffer, int maxlength) - Retrieves the identifier of this vehicle
  • bool GetVehicleName(const char[] id, char[] buffer, int maxlength) - Retrieves the name of the vehicle with the given identifier

Miscellaneous changes

  • Reordered translations to be more consistent
  • Various other code improvements