Exports

Client

OpenMenu

exports["tgiann-vehiclecontrol"]:OpenMenu()

Action

exports["tgiann-vehiclecontrol"]:Action(data)
nane
value

data

{

type: "door" | "trunk" | "hood" | "seat" | "window" | "engine"

index?: number

}

Examples

exports["tgiann-vehiclecontrol"]:Action({ type = "door", index = 1 })
exports["tgiann-vehiclecontrol"]:Action({ type = "trunk" })
exports["tgiann-vehiclecontrol"]:Action({ type = "hood" })
exports["tgiann-vehiclecontrol"]:Action({ type = "seat", index = 0 }) -- 0 == -1 seat index
exports["tgiann-vehiclecontrol"]:Action({ type = "window", index = 1 })
exports["tgiann-vehiclecontrol"]:Action({ type = "engine" })

IsKeyPressed

Returns true if currently using hotkeys! You can use this export to prevent hotbars from being used in inventory scripts

local isPressed = exports["tgiann-vehiclecontrol"]:IsKeyPressed()
name
type

isPressed

boolean

Last updated