Do you have more information regarding this issue?
ESX Version:
What were you doing:
etc.
old ESX version
Hello,
I have installed it and my steam id is in the file. when i try to delete chat, other players get “you dont have permission to do that” - same when i use “announce restart”.
I also get this error in the console: SCRIPT ERROR: @pe-adminmenu/server/admin_sv.lua:77: attempt to call a nil value (field ‘showHelpNotification’)
Any fix?
I keep getting this error
and when I try /adm it says I don’t have permission even though I added my HEX ID to the script
What esx version are you using?
This menu is using some of my code
What part of your code exactly? You can see all the commits in case you might be mistaken. It will also get a re-work soon to use ace perms, esx perms, or the one that it currently has which is trash tbh since it has vuln by using steam.
Hi. You’re admin menu seems great from what I can tell. I have 2 issues, however.
Number 1 - How do I have it so that it can see players in the server? I go to click on Players and it doesn’t show me a menu of all the people in server.
Number 2 - I have SCRIPT ERROR: @pe-adminmenu/client/admin_cl.lua:267: attempt to concatenate a nil value (field ‘name’). Is this why I cannot see a list of players?
Other than that, all is great. Hopefully you can help me out so I can keep using your admin menu.
- The players should appear by default if your using onesync (either legacy or infinity).
- It probably is a problem with ESX. You can go this line and change it to xPlayer.getName(). That should fixed it unless something is wrong with your ESX.
I am indeed using OneSync, but when I click on the “Players” tab, nothing happens.
I will change the code now and see how it goes
So this is the code that it’s failing to concatenate;
ESX.TriggerServerCallback(‘PE-admin:playersonline’, function(players)
local elements = {}
for i=1, #players, 1 do
table.insert(elements, {
label = players[i].name .. ' | ' .. players[i].source .. ' | ' .. players[i].group,
value = players[i].source,
name = players[i].name
})
end
I don’t code so I don’t see what the issue is but the error is with ‘name’. It doesn’t seem to like it.
Is it worth me changing out name for xPlayer or possibly adding an if function with
if name ~= nil then
Just to confirm, this is the handler referenced in the error;
RegisterNetEvent(‘esx:serverCallback’)
AddEventHandler(‘esx:serverCallback’, function(requestId, …)
ESX.ServerCallbacks[requestId](...)
ESX.ServerCallbacks[requestId] = nil
end)
Proof? Strong accusation yet no code linked . Sounds sus to me.
Did you try xPlayer.getName() on the line I sent?
I did, yes. Still the same error as earlier
Then you are probably using other version of ESX.
I’m using 1.2. Does it not work with 1.2?
It’s supposed to. I will investigate on this issue.
Thank you. I appreciate it.
I don’t need to show proofs of anything, my admin menu has been leaked like 1 year ago and this menu has part of my code, but i don’t care.
So you have no proof yet you’d risk tarnishing someone’s name . You say “I don’t care” > yet proceeded to claim someone is using stolen code
Ironic isn’t it?
As far as I understand, Bombay didn’t steal any code, only code they used from others were permitted by the license and they gave credit to said people. There’s only so many ways to write code anyways with some of the natives, properly anyways. You can pretty much go through the commit history for the majority of it.
If they had gotten stuck on something they could of asked numerous people anyways . There’s pretty much no reason to steal someone’s work without crediting or asking them given the numerous support/project discord’s and even the forums itself. The natives provide plenty of documentation on most things too.
Should probably avoid making baseless accusations next time if you’re not going to back it up with any sort of evidence.