diff --git a/ND_Core/source/client.lua b/ND_Core/source/client.lua index 3f96d4b..6599ace 100644 --- a/ND_Core/source/client.lua +++ b/ND_Core/source/client.lua @@ -209,8 +209,8 @@ RegisterNUICallback("tpDoNot", function() TriggerServerEvent("getMoney", selectedCharacter.id) end) --- discord rich precense will show on a users profile. -if config.enableRichPrecence then +-- discord rich presence will show on a users profile. +if config.enableRichPresence then Citizen.CreateThread(function() while true do SetDiscordAppId(config.appId) @@ -263,4 +263,4 @@ TriggerEvent("chat:addSuggestion", "/" .. config.changeCharacterCommand, "Switch if config.enableMoneySystem then TriggerEvent("chat:addSuggestion", "/" .. config.payCommand, "Transfer money to player", {{name="id", help="Player server id" }, {name="amount", help="amount to pay"}}) TriggerEvent("chat:addSuggestion", "/" .. config.giveCommand, "Give money to closeby player", {{name="amount", help="amount to give"}}) -end \ No newline at end of file +end