CreateLog
Create a log entry in the MDT.
local logId = exports.drx_mdt:CreateLog(type, action, author_stateid)Paramters:
type(string): The type of entity being logged. Possible values:citizens,incidents,reports,evidence,vehicles,warrants,bolos,weaponsandcameras.action(string): The action performed. Possible values:create,updateanddelete.author_stateid(string): The state ID of the author (matchesdrx_mdt_officers.stateid).
Returns:
logId(number): The unique ID of the created log entry (drx_mdt_logs.id).
Last updated
Was this helpful?