General > Developers Corner

ulx rank reading

(1/3) > >>

gorgorp:
how do i with lua read what rank a user has like

if ply:HasPriv("superadmin")
or what ever you can

gorgorp:
could someone please help me

gorgorp:
nvm i figured out

Megiddo:
In ULib, is player:GetGroups(). I'm not aware of any default gmod implementation to do the same thing.

JamminR:
Megiddo, though ULib has enhanced functionality, I'm pretty sure he probably found IsAdmin, IsSuperadmin, and IsUserGroup from the standard Gmod lua.

Navigation

[0] Message Index

[#] Next page

Go to full version