General > Developers Corner

Add user to group via lua

<< < (2/2)

MrPresident:
of, if you want to just bypass that entirely, you can go straight to UCL.

ULib.ucl.addUser( target_ply:SteamID(), nil, nil, group )

JamminR:
Yes indeed.
In theory, you wouldn't even need ULX installed. Only ULib.
See our ULib docs page, linked from the sticky post(s) at front of the Dev corner forum area.

BigBrainAFK:
Got it working now and i wanted to thank you guys for the quick help :D

XxLMM13xX:

--- Quote from: JamminR on April 09, 2015, 08:09:25 PM ---In theory, you wouldn't even need ULX installed. Only ULib.

--- End quote ---

How is this??? If ULX is not installed how would the person be in a group???

Decicus:

--- Quote from: XxLMM13xX on April 11, 2015, 09:02:35 AM ---How is this??? If ULX is not installed how would the person be in a group???

--- End quote ---
Because ULX uses ULib's group system, and you can add users to ULib using Lua and not just ULX.

Navigation

[0] Message Index

[*] Previous page

Go to full version