Can you give me advice about how to give any ulx permissions from entity's script safety? It little bit scares me to doing it throw console like this:
[CODE]
function OnUse()
RunConsoleCommand("ulx adduser ".. self:GetOwner():Nick() .." vip")
end
[/CODE]
Thanks.
Have a look at this [url]http://ulyssesmod.net/docs/files/lua/ulib/server/ucl-lua.html#ucl.addUser[/url]
[QUOTE=rtm516;51672356]Have a look at this [url]http://ulyssesmod.net/docs/files/lua/ulib/server/ucl-lua.html#ucl.addUser[/url][/QUOTE]
Oh, of course. Thank you! Will try it. How can I thank people like you besides just write it?
[QUOTE=Dezigl;51672372]Oh, of course. Thank you! Will try it. How can I thank people like you besides just write it?[/QUOTE]
Send him a thank you card in the post.
[QUOTE=code_gs;51672405]Send him a thank you card in the post.[/QUOTE]
You too!
[IMG]http://www.smithsoniancard.com/wp-content/uploads/2016/04/Love-Thank-You-Cards.jpg[/IMG]
Sorry, you need to Log In to post a reply to this thread.