exports["jobs_creator"]:getAllowedActions()
local actions = exports["jobs_creator"]:getAllowedActions()
print(ESX.DumpTable(actions))
--[[
Beispielausgabe
{
["canHeal"] = false,
["canCheckDrivingLicense"] = false,
["canCheckWeaponLicense"] = false,
["canRevive"] = false,
["canCheckIdentity"] = false,
["canRepairVehicles"] = false,
["canHandcuff"] = true,
["enableBilling"] = true,
["canLockpickCars"] = false,
["canCheckVehicleOwner"] = false,
["canWashVehicles"] = false,
}
]]
Rückgabewert
| Name | Datentyp | Beschreibung |
|---|---|---|
actions | table | Key-Value-Tabelle, bei der der Key die Action ist und der Wert ein Boolean, der angibt, ob sie erlaubt ist oder nicht |
