Update Street Signs
Update text on one or more configured street signs.
Path Parameters
Name
Type
Description
Request Body
{
"ids": [1, 2],
"text1": "Mission Row",
"text2": "Alta St",
"text3": "Integrity Way"
}Example Request
-- luarocks install sonoran.lua
-- For SonoranCADFiveM in-game usage, see the SonoranCADFiveM tab for the export-based client.
local Sonoran = require("sonoran")
local sonoran = Sonoran.createClient({
product = Sonoran.productEnums.CAD,
communityId = "YOUR_COMMUNITY_ID",
apiKey = "YOUR_API_KEY",
defaultServerId = 1
})
local response = sonoran.cad:updateStreetSignsV2({
serverId = 1,
ids = {1},
text1 = 'ALTA',
text2 = 'ST',
text3 = '',
})
-- Inspect response.success, response.data, or response.reason as needed.
print(response.success)Response
Last updated
Was this helpful?

