Recent Posts

Pages: [1] 2 3 ... 10
1
Off-Topic / Ulx custom commands from this site dont work
« Last post by Undercover Orange on Today at 08:57:54 AM »
so I'm trying to add the custom commands the server I help manage and the only possible way to get it to work is to add each individual command to each of the files (such as chat.lua) is there any reason why this is happening?
2
Off-Topic / Re: Some TTT Addons & Server Addons!
« Last post by Undercover Orange on Today at 08:55:17 AM »
for TTT Damagelogs +RDM Manager could I get a screenshot of what it looks like?
3
So did me changing the ban message set all the bans to have no metadata or would that have to be another change that made that happen?
5
I believe we keep ban messages in data/ulx/banreasons.txt
If that doesn't work though, something is wrong with your bans.txt, OR, you've set XGUI to show bans it doesn't have ULX data for.
Example - ULX/XGUI can show bans set through server console using non-ULX commands.
Say for instance, before you installed ULX and ULib, you banned people using source command, banid.
That will not store who or when. It will only store permanent bans and the steamid.
If XGUI can't convert 'when', or if the bans.txt file is corrupt for when, it will give the metadata error.
6
Off-Topic / Re: /advert (or /ad) and // (or /ooc) dont have any prefixes.
« Last post by BlueNova on Yesterday at 07:01:25 PM »
Well you can look around for the old advert module, I think that the new darkrp doesn't do the yellow message and does a billboard instead.

As for OOC I couldn't tell ya without more information available.
7
We didn't edit any files, I only edited the ban message through the ULX server settings in the GUI.
8
Off-Topic / Re: /advert (or /ad) and // (or /ooc) dont have any prefixes.
« Last post by Cars0nn on Yesterday at 06:27:48 PM »
Probably something in your settings really. Did you change any settings with adverts or OOC?

Nope, I made a vanilla darkrp server with the 2.7 fix and it still doesn't work. Is there an addon or a script I can put in?
9
Developers Corner / Re: Default access of opposite command
« Last post by iViscosity on Yesterday at 05:46:31 PM »
Huh... that actually makes a lot of sense. I never would've thought of that.
10
Developers Corner / Re: Default access of opposite command
« Last post by JamminR on Yesterday at 05:40:32 PM »
It wouldn't hurt to save code though.

Keep your join channel code of course.
Then just set a command that calls the function for users, then one that calls the same function with is_force like you wanted.

example logic

function my_channeljoin (calling, target, forced)
    if forced
        blah
    else
        blah
    end
end

local joinchannel = ulx command (blah, "svc joinchannel", my_channeljoin)
joinchannel params = forced/false
blah group users

local forcejoin = ulx command (blah, "svc forcechannel", my_channeljoin)
joinchannel params = forced/true
blah group operators

Your join code couldn't be called directly by players, but the commands for it could depending on group.
Pages: [1] 2 3 ... 10