Last updated 12 months ago
Adding Interaction To Coord
Adding Interaction To Entity
exports["gfx-interact"]:NewInteraction("coords", {vector3(x,y,z)}, { id = "door-id", bgColor = "rgb(10, 196, 255)", options = { { text = "Open Door", key = "E", event = "door:open_door", } } })
NewInteraction("entity", { entity }, { id = "ped-1", title = "Ped", options = { { text = "Talk to Ped", id = "talk", event = "event:Name" }, } })
Check the instructions below.