• check if player can use ulx command
    2 replies, posted
Hi, I would like to know if there is a way to check if a player can use a command, for exmaple: if player can use ulx teleport then do stuff here end I know you can check if a player is a certain rank, but thats not what i want to do. Any help is appreciated, Thanks
ulib/sh_ucl.lua at 46deb85a02c56adce9d32756eec7eadbbbd1b944 · Te..
Could you show an example of how to use this? im doing: local ply = LocalPlayer() print(ucl.query(ply, "ulx slay")) Should print either true of false? assuming ive called the function correctly. I get an error: [</DLib>] addons/darkrphud/lua/autorun/scoreboard.lua:272: attempt to index field "query" of a nil value (bytecode local variable)   1. error - [C]:-1    2. __index - lua/dlib/core/funclib.lua:46     3. DoClick - addons/darkrphud/lua/autorun/scoreboard.lua:272      4. OnMouseReleased - lua/vgui/dlabel.lua:232       5. unknown - lua/vgui/dmenuoption.lua:77
Sorry, you need to Log In to post a reply to this thread.