1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Implemented OnSendUI hook (Rust)

Discussion in 'Feature Suggestions' started by HOUGAN_Y, Apr 28, 2018.


    HOUGAN_Y Plugin Developer

    Can you add hooks in CuiHelper?
    - OnSendUI(BasePlayer player, string json) (bool)
    - OnDestroyUI(BasePlayer player, string json) (bool)
  2. Calytic

    Calytic Community Mod Oxide Developer

    Just FYI the hooks are..
    Code (Text):
    object CanPlayerUI(BasePlayer player, string json)
    returning non-null will cancel UI
    Code (Text):
    void OnPlayerDestroyUI(BasePlayer player, string name)