displayHud
exports["RiP-HudV2"]:displayHud(state)
This function displays the hud
Arguments
Name | Type | Optional | Explenation |
---|---|---|---|
state | Boolean | No | Show/Hide the entire hud |
Example
if IsControlJustReleased(0, 38) then
exports["RiP-HudV2"]:displayHud(false)
elseif IsControlJustReleased(0, 74) then
exports["RiP-HudV2"]:displayHud(true)
end