Hi maybe someone know were is the problem?

Error:

[    c-scripting-core] Creating script environments for esx_inventory_hud
[script:esx_inventory] Error loading script server/main.lua in resource esx_inventory_hud: @esx_inventory_hud/server/main.lua:5: attempt to call a nil value (field 'RegisterCommand')
[script:esx_inventory] stack traceback:
[script:esx_inventory] 	@esx_inventory_hud/server/main.lua:5: in main chunk
[    c-scripting-core] Failed to load script server/main.lua.

script:

ESX.RegisterCommand('kk', 'admin', function(xPlayer, args, showError)
    xPlayer.triggerEvent('esx_inventory_hud:playerLoaded')
end, false)

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.