CreateBolo
Create a bolo.
local boloId = exports.drx_mdt:CreateBolo(source, {
type,
target,
description,
expiration_date
}Paramters:
source(number|nil): The server id of the author or none.options(table) -type(string): The type of bolo (citizen,vehicle) -target(table{ stateid, plate }): The stateid(citizen) or plate(vehicle) to target -description(string) -expiration_date(date|string): When the bolo is to expire (etc:2025-06-13 18:00:00oros.time() + 3600)
Returns:
boloId(number): The unique ID of the created bolo (drx_mdt_bolos.id).
Last updated
Was this helpful?