Announcement

Collapse
No announcement yet.

Onset 1.4.3-alpha

Collapse
This topic is closed.
X
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    Onset 1.4.3-alpha

    Onset 1.4.3-alpha (Protocol Compatibility 5)

    Client changelog
    • Improve pointing animation
    • Add effects to SetPostEffect "DepthOfField": Distance, DepthBlurSmoothKM, DepthBlurRadius (This is the far background blur that you see)
    • GetVehicleForwardSpeed will now return kmh for helicopters just like it does for cars (@Kuzkay)
    • Fix phonebooth collison (@Kuzkay)
    • Add RandomUnitVectorInCone, RandomUnitVectorInEllipticalCone
    • Add GetPlayerWeaponMuzzleLocation
    • GetWeaponType(weaponid), Returns two integers:
      • First int WeaponType: 0 = Fist, 1 = Secondary (1 Handed), 2 = Primary (2 Handed)
      • Second int WeaponSubType: 0 = Fist, 1 = Pistol, 2 = SMG, 3 = Shotgun, 4 = Rifle

    Server changelog
    • OnPlayerChatCommand, 3rd parameter now gives a bool instead of an int
    • Remove all Cancel* functions (@x7airworker)
    • Cancellable events can now be canceled by returning false in the event. (@x7airworker)
    • PluginInterfacev1: CallEvent now returns a bool that indicates if the event was cancelled
    • New plugin exports:
      • EXPORT(bool) OnEventCalled(const char *EventName, Lua::LuaArgs_t *Arguments)
      • EXPORT(void) OnRemoteEventCalled(const char *EventName, Lua::LuaArgs_t *Arguments)
    • New plugin functions: CallRemoteEvent (see OnsetSDK)
    • Increase max package file len to 120 (@JanHolger)
Working...
X