Module cl_controlBlips

Control Blip Module

Functions

CreateControlBlip (id, text, pos, cb, controlBlip) CreateControlBlip function.
DeleteControlBlip (id) DeleteControlBlip function.


Functions

CreateControlBlip (id, text, pos, cb, controlBlip)
CreateControlBlip function. This function places 3d text at a location which can trigger an action on a specific key press.

Parameters:

  • id The id of the control blip.
  • text The text to display.
  • pos The position of the control blip.
  • cb The callback function to trigger when the key is pressed.
  • controlBlip The control blip data to use.

Usage:

    exports.jones_util:CreateControlBlip("test", "Boss Menu", vector3(0, 0, 0), function() print("Test") end)
DeleteControlBlip (id)
DeleteControlBlip function. This function deletes the 3d text blip you created earlier

Parameters:

  • id

Usage:

    exports.jones_util:DeleteControlBlip("test")
generated by LDoc 1.5.0 Last updated 2024-05-13 19:05:24