Recent Posts

Pages: [1] 2 3 ... 10
1
As with any ulx command, yes, using Xgui.
2
Is it possible to tweak these settings and set permissions however you want btw?
3
By default, PSay ONLY shows in chat to the person saying, or receiving, a message.

If you are positive other people can see the psay command, a custom chat box or part of the gamemode is intercepting.
As for asay, anyone with gmod's "admin" access or above, which normally is admin and superadmin, would be able to see.


4
General Chat & Help and Support / Re: bans_backup.txt
« Last post by JamminR on December 09, 2018, 09:12:21 PM »
This normally occurs when the original server /ulib/bans.txt file has been corrupted in some way.
If you have another addon reading or writing to it directly, not using ULib functions, you are corrupting it.
Gmod txt files don't like two apps attempting to read or write at the same time.
5
General Chat & Help and Support / bans_backup.txt
« Last post by DriedSponge on December 09, 2018, 12:53:24 PM »
How come ulib keeps saving my bans as bans_backup.txt. I would prefer it to be just bans.txt because I'm trying to integrate it with another addon.
6
Developers Corner / Re: Need help making a custom command
« Last post by Ballzz on December 02, 2018, 10:44:25 AM »
Still dont get it i havnt done anything with lua before so if you could make it for me that would be great.
8
Developers Corner / Re: Need help making a custom command
« Last post by iViscosity on November 30, 2018, 01:43:23 PM »
Have you tried making anything? If so, what do you have? Are you getting any errors (if so, what)?

This is a very easy thing to make yourself, so I'm going to leave you some links to point you in the right direction.

http://wiki.garrysmod.com/page/Player/GodEnable
http://wiki.garrysmod.com/page/Entity/SetModel (Player == Entity)
9
Developers Corner / Need help making a custom command
« Last post by Ballzz on November 30, 2018, 11:10:24 AM »
Hello, so what I wanted to do is make a command for admins. I want the command to be !adminmode and i want the command to switch to the admin model and give god mode.
If anyone can help id really appreciate it thanks.
10
Developers Corner / Re: all messages are in the chat
« Last post by Timmy on November 26, 2018, 11:08:11 AM »
Seems like TTT does not provide this kind of feedback to other players.

It only takes a couple of lines to add this. I have added an example below.

Code: [Select]
-- server-side
hook.Add( "PlayerDisconnected", "KarmaBanNotification", function( ply )
    if ply.karma_kicked then
        PrintMessage( HUD_PRINTTALK, "[SERVER] Karma banned " .. ply:Nick() )
    end
end )
Pages: [1] 2 3 ... 10