SetTimeout
ESX.SetTimeout(msec, cb)
This function sets a timeout requiring two arguments, msec (milliseconds), and cb (callback).
Example
local Timeout = ESX.SetTimeout(5000, function()
print('foo')
end)
ESX.SetTimeout(msec, cb)
This function sets a timeout requiring two arguments, msec (milliseconds), and cb (callback).
local Timeout = ESX.SetTimeout(5000, function()
print('foo')
end)