ULX

Recent Posts

Pages: [1] 2 3 ... 10
1
Developers Corner / Re: Command that automatically adds to usergroup
« Last post by billy90210 on September 18, 2019, 07:59:05 PM »
This is what I had came up with from looking at the conversations Jamminr told me
Code: [Select]
local CATEGORY_NAME = "SS Commands"

function ulx.vip()
RunConsoleCommand("ulx", "adduser", target_ply:Nick(), premium)
end

local vip = ulx.command (SS Commands, "ulx vip", ulx.vip, "!vip", true )

Will this work?
2
Developers Corner / Re: Command that automatically adds to usergroup
« Last post by MrPresident on September 17, 2019, 09:31:38 PM »
http://ulyssesmod.net/docs/files/lua/ulib/server/ucl-lua.html#ucl.addUser

reverse engineer any of our commands to find out how to make a chat command for !vip then the above is info on how to add a user to a group with code.

ULib.ucl.addUser( id, allows, denies, group, from_CAMI   )

for example: ULib.ucl.addUser( pl:SteamID(), _, _, "VIP", false)

of course this example assumes your player object is pl and your group is "VIP" you'd have to adjust accordingly.
3
Developers Corner / Re: Command that automatically adds to usergroup
« Last post by JamminR on September 17, 2019, 06:45:43 PM »
I'm pretty sure that at least 2 or 3 conversations of these 2 pages of search results may help get you started
4
Developers Corner / Command that automatically adds to usergroup
« Last post by billy90210 on September 17, 2019, 04:33:08 PM »
Hello, I'm looking to make a command that would automatically add a user to my vip group when they execute !vip . I understand people don't do things here for you. But, I'm not sure how to get started. Any help is appreciated.
5
General Chat & Help and Support / Re: How do I add more adverts
« Last post by JamminR on September 16, 2019, 07:02:58 PM »
See your garrysmod\data\ulx\adverts.txt file on server. It has all the current, including instructions how to edit.
6
General Chat & Help and Support / How do I add more adverts
« Last post by AGR on September 16, 2019, 06:34:27 PM »
How can I make more adverts I only have the starter two it comes with and I can't make more
7
General Chat & Help and Support / Re: ulib bans issue.
« Last post by s8ncaat on September 15, 2019, 12:24:19 PM »
Ah, there were more bans printed, I'll endeavor in the new possibilities now aha. You can delete/lock/move this thread.

Cheers for the help!
8
General Chat & Help and Support / Re: ulib bans issue.
« Last post by MrPresident on September 15, 2019, 12:00:09 PM »
Did you print the table to see how many bans are in it?

lua_run PrintTable( ULib.bans )

If there are bans in the table that aren't being imported.. then it's time you go seek more answers from the developers of the gban addon. :)
9
General Chat & Help and Support / Re: ulib bans issue.
« Last post by s8ncaat on September 15, 2019, 11:39:22 AM »
The actual addon imports from the ULib.bans table, so thats probably why those Steam ID's aren't from the bans_backup.txt file, but i'm still not sure why the ULib.bans table would be un-readable for some reason  :o
10
General Chat & Help and Support / Re: ulib bans issue.
« Last post by s8ncaat on September 15, 2019, 11:36:49 AM »
It's just strange also that some of the bans that actually were imported, that some of the steam ID's aren't even in the bans_backup.txt file or banned_user.cfg files. Makes me think that somehow they're being stored somewhere else, but I have no idea why or where that would even be, I've been through a bunch of folders in /data and in /cfg and can't see anything.  ???
Pages: [1] 2 3 ... 10