Hey guys,
How to insert automatically <:: text... ::> in the chatbox for DarkRP ?
(only for POLICE team)
Plzz..z!
Umm, what exactly are you asking. This doesn't really make sense?
I think he means something like the combine's chat on HL2RP.
You should use this hook to achieve this: [img]http://wiki.garrysmod.com/favicon.ico[/img] [url=http://wiki.garrysmod.com/page/GM/PlayerSay]GM:PlayerSay[/url]
just check the team of the players and concatenate to the text "<:: " at the beginning and " ::>" at the end
Quite simple.
Using GM:OnPlayerChat would be better imo since the tags are constant strings - aves on networking length. You should be able to perform rank checks clientside.
Sorry, you need to Log In to post a reply to this thread.