Trim whitespaces

This commit is contained in:
ElPumpo
2018-12-23 15:10:11 +01:00
parent ade7a3bc16
commit 6be347c053
+2
View File
@@ -76,6 +76,8 @@ Citizen.CreateThread(function()
end
end
data.value = ESX.Math.Trim(data.value)
-- Don't post if the value is negative or if it's 0
if post then
menu.submit(data, menu)