Charges
Last updated
exports['redutzu-mdt']:SearchCharge(id: number) // ChargeType | nullexports['redutzu-mdt']:CreateCharge({
name = 'Charge name',
description = 'Charge description',
jail = 5, -- this is optional
fine = 1000, -- this is optional
tag = 'tag identifier'
}) -- number (id)-- It returns a boolean (if it was successfully updated)
exports['redutzu-mdt']:UpdateCharge(id, { name = 'New name', jail = 10 }) -- boolean-- It returns a boolean (if it was successfully deleted)
exports['redutzu-mdt']:DeleteCharge(id: number) // boolean