Skip to main content

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)