Skip to content

Commit

Permalink
Merge pull request #481 from MrNewb/main
Browse files Browse the repository at this point in the history
Update ignore.lua to use AddTextEntryByHash native instead of invoke
  • Loading branch information
GhzGarage authored Nov 19, 2024
2 parents 289ec7c + 7f38a18 commit eb5da14
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)
AddTextEntry('FE_THDR_GTAO', mapText)
end)

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

0 comments on commit eb5da14

Please sign in to comment.