Delay
From Onset Developer Wiki
Description
__EDIT_ME__
Syntax
Delay(Milliseconds, LuaFunction [, UserArgs])
Parameters
- Milliseconds
__EDIT_ME__ - LuaFunction
__EDIT_ME__ - UserArgs (optional)
__EDIT_ME__
Return Value
- __EDIT_ME__
Example
AddEvent("OnPlayerSpawn", function(player)
SetPlayerOutline(player, true)
Delay(10000, function(player)
SetPlayerOutline(player, false)
end)
end)
See also
__EDIT_ME__