This will execute the specified function after the specified amount of milliseconds.
Citizen.SetTimeout(int milliseconds, function callback)
This example will print This will be sent after 5 seconds.
to the console after waiting for 5 seconds, meanwhile all
other code around this part won't be blocked having to wait for this function to finish.
Citizen.SetTimeout(5000, function()
print("This will be sent after 5 seconds.")
end)