⛏️Server Events

Integrating our script with yours can be a bit challenging if you're a beginner in the scripting environment. If our guide isn't clear enough, you may need to consult with any developer for assistance.

dispatch:server:senddispatch

local coords = GetEntityCoords(PlayerPedId())
local streetName, crossing = GetStreetNameFromHashKey(GetStreetNameAtCoord(coords.x, coords.y, coords.z))
TriggerServerEvent('dispatch:server:senddispatch', {
        road = streetName,
        label = "Robbery",
        code = "10-69",
        priority = "3",
        coords = coords,
        jobs = { "unemployed" }
})
  • road: string

  • label: string

  • code: string

  • priority: string

  • coords: vector3

  • jobs: table

Last updated