Jump to content

Mxthess

Members
  • Posts

    2
  • Joined

  • Last visited

About Mxthess

  • Birthday 02/11/2007

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

Mxthess's Achievements

Newbie

Newbie (1/14)

  • One Year In
  • First Post
  • One Month Later
  • Week One Done

Recent Badges

0

Reputation

  1. Mxthess

    rd_DiscordRPC

    Nebude lepší si napsat svůj vlastní nebo najít jinačí? Myslím si že Discord rich presence najdeš jich mnoho a nebo třeba za 30 minut to máš napsané sám....
  2. Debug = ESX.GetConfig().EnableDebug local isShowing = false ---@param message string ---@param typ string local function TextUI(message, typ) isShowing = true exports['ox_lib']:showTextUI(message) end local function HideUI() if not isShowing then return end isShowing = false exports['ox_lib']:hideTextUI() end exports['ox_lib']:showTextUI(message) exports['ox_lib']:hideTextUI() RegisterNetEvent('esx:showTextUI', TextUI) RegisterNetEvent('esx:hideTextUI', HideUI) if Debug then RegisterCommand("textui:error", function() ESX.TextUI("i ~r~love~s~ donuts", "error") end) RegisterCommand("textui:success", function() ESX.TextUI("i ~g~love~s~ donuts", "success") end) RegisterCommand("textui:info", function() ESX.TextUI("i ~b~love~s~ donuts", "info") end) RegisterCommand("textui:hide", function() ESX.HideUI() end) end Mám to takhle ale nejde to bejku
×
×
  • Create New...