From eba75eccb25f42b3fa26b7aefbc3910bcc403bb2 Mon Sep 17 00:00:00 2001 From: Csoki Date: Mon, 21 Nov 2022 18:56:15 +0100 Subject: [PATCH] fix: HashString gsub function --- [esx]/es_extended/client/functions.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/[esx]/es_extended/client/functions.lua b/[esx]/es_extended/client/functions.lua index a78cd273..029c926a 100644 --- a/[esx]/es_extended/client/functions.lua +++ b/[esx]/es_extended/client/functions.lua @@ -151,7 +151,7 @@ ESX.HashString = function(str) local gsub = string.gsub local hash = joaat(str) local input_map = format("~INPUT_%s~", upper(format("%x", hash))) - input_map = string.gsub(input_map, "FFFFFFFF", "") + input_map = gsub(input_map, "FFFFFFFF", "") return input_map end