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
exports["tgiann-gps"]:DisconnectChannel()ChangeCode
exports["tgiann-gps"]:ChangeCode(codeName)Parameters :
Name
Type
Description
codeName
string
Player's gps code name
Example
exports["tgiann-gps"]:ChangeCode("A1")Last updated