ClearTimeout
ESX.ClearTimeout(id)
This function clears a timeout from the ESX.SetTimeout function.
Example
local Timeout = ESX.SetTimeout(5000, function()
print('foo')
end)
ESX.ClearTimeout(Timeout)
ESX.ClearTimeout(id)
This function clears a timeout from the ESX.SetTimeout function.
local Timeout = ESX.SetTimeout(5000, function()
print('foo')
end)
ESX.ClearTimeout(Timeout)