Ulysses Stuff > Releases
Player Chat Tags [2.58v]
Bite That Apple:
--- Quote from: yonsje on October 23, 2013, 11:30:35 AM ---Exactly, ply:IsUserGroup doesn't work on something like the console, so when something is said through the console you get "attempt to call method 'IsUserGroup' (a nil value)".
I fixed it by checking if the "thing" that said something was actually a player, using ply:IsValid().
--- End quote ---
Well I'm somewhat back into lua atm. So if you still need help, I may be able to assist you.
--- Quote from: fopje on October 27, 2013, 07:16:55 PM ---Could you make the darkrp version compatible with current chat prefixes?
atm there is OOC, Advert, PM and Broadcast
these dissapear while using the tag system
--- End quote ---
Yeah it is possible, and I've already done it. You'll just need to use the Manager Version of my script.
fopje:
--- Quote from: chaos13125 on October 27, 2013, 10:16:34 PM ---Yeah it is possible, and I've already done it. You'll just need to use the Manager Version of my script.
--- End quote ---
Thanks for you fast reply, but I just tried it (again) and those prefixes are not included. You did add the *DEAD* prefix, but whenever I use /ooc or /advert it wont show me how it should be
What I say: /ooc test
What it shows: S. Admin | Fopje: test
what it should: (OOC) S. Admin | Fopje: test
This is a important function of gmod, if the OOC chat isn't visible people don't know is it's someone talking who are next to them, or when it's someone talking in the "global chat"
same as advert texts are always yellow and broadcasts are red
Mates:
Very good job, except I noticed it sadly doesn't work right for Cinema gamemode - it "breaks" the regular chat and team chat (which is actually a global chat) so they are both global, since the Cinema functions probably don't get processed anymore. Any chance this could be fixed in the future?
Bite That Apple:
--- Quote from: fopje on October 28, 2013, 07:59:54 AM ---Thanks for you fast reply, but I just tried it (again) and those prefixes are not included. You did add the *DEAD* prefix, but whenever I use /ooc or /advert it wont show me how it should be
What I say: /ooc test
What it shows: S. Admin | Fopje: test
what it should: (OOC) S. Admin | Fopje: test
This is a important function of gmod, if the OOC chat isn't visible people don't know is it's someone talking who are next to them, or when it's someone talking in the "global chat"
same as advert texts are always yellow and broadcasts are red
--- End quote ---
I wouldn't really know how to fix that, as I'm not too much into looking at the OOC chat part for darkrp. Someone who is familiar with Dark RP systems can maybe assist you, or such.
--- Quote from: Mates on October 28, 2013, 12:32:34 PM ---Very good job, except I noticed it sadly doesn't work right for Cinema gamemode - it "breaks" the regular chat and team chat (which is actually a global chat) so they are both global, since the Cinema functions probably don't get processed anymore. Any chance this could be fixed in the future?
--- End quote ---
I'm sorry, I have never heard of this gamemode. So I would not be able to assist you with this at all, or maybe if you could describe or screenshot the issues, I could give a better opinion
Mates:
--- Quote from: chaos13125 on October 28, 2013, 03:37:31 PM ---I'm sorry, I have never heard of this gamemode. So I would not be able to assist you with this at all, or maybe if you could describe or screenshot the issues, I could give a better opinion
--- End quote ---
In the end I managed to solve it by writing similar function clientside, using the OnPlayerChat hook. But I can still use this with other gamemodes, so thanks!
Navigation
[0] Message Index
[#] Next page
[*] Previous page
Go to full version