General > Developers Corner
ULX Accsess stuff
kennis942:
How/what do i need to write something to return if the user is in ULib Group allowed (groups.txt)
someone920:
do you mean like console command? I don't quite understand by 'write'.
Megiddo:
Do you mean scripting?
kennis942:
yes like if [this user ] has access to slap,
ilke in groups.txt
--- Code: ---"groupname"
{
"allow"
{
"slap"
}
}
--- End code ---
How do i check if a user has this ( im going to make my own acces tag/flag/key
Megiddo:
Never forget we have documentation here: http://ulyssesmod.net/docs
I'd also recommend you look at ULX for examples, but basically you want to call blah first to setup the access tag, then call ULib.ucl.query to see if the user has access to the tag (or use the convenient Player:query)
That's assuming you don't want to do something command-based or you're not using ULib SVN. If you want to do something command-based and you're using ULib SVN, you should instead look into translated commands here. Translated commands work off the same principles as the functions above, but add an extra layer for command permissions.
Navigation
[0] Message Index
[#] Next page
Go to full version