Raised This Month: $51 Target: $400
 12% 

Paying for a plugin


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
painlesstgp
Senior Member
Join Date: May 2019
Location: Sweden
Old 06-19-2019 , 16:27   Paying for a plugin
Reply With Quote #1

Hello looking for a custom made plugin.

An admin chat, now i know theres one in sourcemod using @ in team chat, but its not colored and it's bad.

I want it like:

Code:
{RED}[STAFF ONLY] [GROUP/RANK] {RED}[NAME] [MESSAGE]
PM me with your discord, and i will add you.
painlesstgp is offline
Pilo
AlliedModders Donor
Join Date: Jan 2019
Location: Israel
Old 06-19-2019 , 16:37   Re: Paying for a plugin
Reply With Quote #2

Contact me on discord : Pilo#8253
__________________

Taking Private(PAID) Plugins In PM
Feel free to Donate with PayPal
Feel free to message me in Discord Pilo#8253
Total donated : 25$
Pilo is offline
painlesstgp
Senior Member
Join Date: May 2019
Location: Sweden
Old 06-19-2019 , 16:44   Re: Paying for a plugin
Reply With Quote #3

Quote:
Originally Posted by Pilo View Post
Contact me on discord : Pilo#8253
ok
painlesstgp is offline
painlesstgp
Senior Member
Join Date: May 2019
Location: Sweden
Old 06-19-2019 , 16:48   Re: Paying for a plugin
Reply With Quote #4

Quote:
Originally Posted by Pilo View Post
Contact me on discord : Pilo#8253
i added
painlesstgp is offline
fraise
Member
Join Date: Sep 2016
Location: Paris, France
Old 06-19-2019 , 18:44   Re: Paying for a plugin
Reply With Quote #5

Hey, you could change the color just by editing some PrintToChat in basechat.sp.

If you don't find out, i'll do it for you (for free, oc)
__________________
\o/
fraise is offline
LionKing
Member
Join Date: Jan 2017
Location: Belgium
Old 06-20-2019 , 08:43   Re: Paying for a plugin
Reply With Quote #6

https://forums.alliedmods.net/showthread.php?t=267743
First add this to your include folder inside your scripting one.

Then go to the basechat.sp file which is also located in the scripting folder.
Open it.
Add '#include <colorvariables>' to the #include part.

Scroll down too around line 365 where it says
'PrintToChat(i, "\x04(%sADMINS) %N: \x01%s", fromAdmin ? "" : "TO ", from, message);'
https://gyazo.com/752710a29a9677da7b694c5478b47143

Change the PrintToChat -> CPrintToChat (now it will use the include file which uses more advanced colors than Sourcemod does)
And change it to something like this.
https://gyazo.com/ebe043ce9542b366f3554af6fe086ea9

Compile it by dragging the file over to your spcomp.exe file.
This will create another file on top of you basechat.sp called basechat.smx.

Now drag the basechat.smx file to your plugins folder.
LionKing is offline
Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 03:56.


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