RegisterCommand('customalert', function()-- First Parameter: Alert Label-- Second Parameter: Alert Code Type-- Third Parameter: Alert Container Icon // You can search on: https://fontawesome.com/icons exports["kibra-dispatch"]:SendAlert("Vehicle Theft", "10-60", "fa-vehicle")end)
Other Exports
-- House Robbery-- In the function parameter you must place the coordinate of the house, i.e. the coordinate where the event occurred.exports["kibra-dispatch"]:HouseRobbery(HouseCoords)-- Vehicle Theft-- You need to enter the stripped vehicle in the first parameter of this function.exports["kibra-dispatch"]:VehicleTheft(Vehicle)-- Market Robbery-- You need to integrate the market robbery into your script. -- Find the event or function where the market robbery was performed and place this code at the bottom of the existing function or in a suitable section.
-- However, you need to enter the coordinate of the robbery location in the parameter of this export function. it must be in vector3 format.
exports["kibra-dispatch"]:ShopRobbery(ShopCoord)