Client Exports

ConnectedAnyChannel

Returns true if connected to a channel

exports["tgiann-gps"]:ConnectedAnyChannel()

CanConnectChannel

exports["tgiann-gps"]:CanConnectChannel(data)

Parameters :

Name
Type
Description

data

table

itemIndex: int* channel: string* password: string or nil

Example

local data = {
  itemIndex = 1,
  channel = "22.0",
  password = nil,
}

exports["tgiann-gps"]:CanConnectChannel(data)

DisconnectChannel


ChangeCode

Parameters :

Name
Type
Description

codeName

string

Player's gps code name

Example

Last updated