CreateMissionText
Create a mission text at the bottom of the screen
Argument | Data Type | Needed | Default | Description |
---|---|---|---|---|
msg | string | - | The message to show | |
duration | number | ∞ | The duration of the mission text (ms) |
Returns
Data Type | Description |
---|---|
table | A table with the delete method to clear the mission text |
Dont need to be called every frame
Example
local mission = CreateMissionText("Hello World", 5000)
Citizen.Wait(5000)
mission:delete()
Last update: October 31, 2022
Created: April 12, 2022
Created: April 12, 2022