Skip to content

Commit

Permalink
Update ignore.lua to use AddTextEntryByHash native instead of invoke
Browse files Browse the repository at this point in the history
Update ignore.lua to use AddTextEntryByHash native instead of invoke
  • Loading branch information
MrNewb committed Nov 14, 2024
1 parent 289ec7c commit d96509d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion client/ignore.lua
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ end)
CreateThread(function()
local mapText = Config.PauseMapText
if mapText == '' or type(mapText) ~= 'string' then mapText = 'FiveM' end
Citizen.InvokeNative(joaat('ADD_TEXT_ENTRY'), 'FE_THDR_GTAO', mapText)
AddTextEntryByHash('FE_THDR_GTAO', mapText)
end)

CreateThread(function() -- all these should only need to be called once
Expand Down

0 comments on commit d96509d

Please sign in to comment.