AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Plugin/Gameplay Ideas and Requests (https://forums.alliedmods.net/forumdisplay.php?f=60)
-   -   Solved Sourcemod All Chat (basechat) (https://forums.alliedmods.net/showthread.php?t=336861)

raj kaul 03-14-2022 06:55

Sourcemod All Chat (basechat)
 
Hey guys i use basechat to communicate players in-game but having a small issue .
to chat with player i use `@ hello` as Mentioned here and is looks like this in-game
https://i.gyazo.com/2b643109a33d2230...280c8f18d3.png

Problem - its working fine ingame but admin chats are not showing in Demo or GOTV

For temporary fix i am using `!say` command like this `!say hello`

https://i.gyazo.com/4fc5e1e55b9eb538...29e8c6058d.png

so this way *SPEC* text is recording in Demo , but is there any way i can use that colorful text in-game and in Demo too ?

I want to do ,like this

[ADMIN] hello

we change text from here


dont worry about chat tag for admins it will show LOTGaming kancha (name) for players LOTGaming Admin we can edit Say all text

Bacardi 03-14-2022 15:58

Re: Sourcemod All Chat (basechat)
 
you could edit SourceMod plugin source code and compile it to plugin:
https://github.com/alliedmodders/sou...sechat.sp#L330

to
PHP Code:

if (!IsClientInGame(i)) 

*I gonna test.

*edit
But I'm not sure, do you have plugins which replace client chat, like example "admin tags" etc. etc. ?
"chat processor" ?

raj kaul 03-15-2022 10:42

Re: Sourcemod All Chat (basechat)
 
Quote:

Originally Posted by Bacardi (Post 2774182)
*edit
But I'm not sure, do you have plugins which replace client chat, like example "admin tags" etc. etc. ?
"chat processor" ?

hey thank you for your reply i will check your solution by tomorrow
also No i dont use any other plugin because dont want to use extra plugins
i am using get5 for matches and i want to add this chat thing in basechat only

raj kaul 03-16-2022 09:12

Re: Sourcemod All Chat (basechat)
 
thank you issue solved , chat now showing in gotv and demo also i can change the color from here
https://github.com/alliedmodders/sou...sechat.sp#L337

Bacardi 03-16-2022 10:41

Re: Sourcemod All Chat (basechat)
 
Good :)


All times are GMT -4. The time now is 01:33.

Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.