ULX

Author Topic: ULibCommandCalled Is Not being called  (Read 1444 times)

0 Members and 1 Guest are viewing this topic.

Offline realerror

  • Newbie
  • *
  • Posts: 1
  • Karma: 0
ULibCommandCalled Is Not being called
« on: August 01, 2018, 04:54:21 PM »
So I have "hook.Add("ULibCommandCalled","blahblah",function(ply,commandName,args)" and I basically check if an admin is on duty or not and ONLY if they are not then I return false. But it appears that even when a noaccess tries !bring or !goto they can do it without a problem. So I am thinking that ULIB itself decides it doesnt want to check if a player has access to said command. I am unbelievable confused because I ONLY return a value if the admin is not on duty.

EDIT: I check if the player is even permitted into admin mode and if they are permitted to but aren't in admin mode then return false.
EDIT: You have root access regardless on singleplayer. Added this to a development dedicated server and it works fine. Feel free to close the thread.
« Last Edit: August 01, 2018, 05:10:43 PM by realerror »