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

[CSGO] Plugin request that has server PrintToAllChat (in red color) a message.


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
GurusGeo
Member
Join Date: Jun 2019
Old 11-21-2019 , 14:04   [CSGO] Plugin request that has server PrintToAllChat (in red color) a message.
Reply With Quote #1

Hey guys, if it’s no hassle to anyone I have a simple plugin request that, whenever an admin leaves the server (and have the ability to disable this with setting the plugin console cmd to 0, for each individual person) a message is printed to PrintToAllChat (and in the color red).
GurusGeo is offline
P4UL
AlliedModders Donor
Join Date: Apr 2017
Location: Netherlands
Old 11-22-2019 , 16:04   Re: [CSGO] Plugin request that has server PrintToAllChat (in red color) a message.
Reply With Quote #2

This should work

sm_leavemsg to enable/disable
Attached Files
File Type: sp Get Plugin or Get Source (adminleave.sp - 38 views - 1.8 KB)
P4UL is offline
GurusGeo
Member
Join Date: Jun 2019
Old 11-22-2019 , 20:47   Re: [CSGO] Plugin request that has server PrintToAllChat (in red color) a message.
Reply With Quote #3

Quote:
Originally Posted by P4UL View Post
This should work

sm_leavemsg to enable/disable
any requirements for it to work? i.e - color library, etc?
GurusGeo is offline
GurusGeo
Member
Join Date: Jun 2019
Old 11-22-2019 , 21:37   Re: [CSGO] Plugin request that has server PrintToAllChat (in red color) a message.
Reply With Quote #4

It worked like a charm when I switched
Quote:
#include <colors>
to
Quote:
#include <multicolors>
to anyone seeing this for the future.

I really appreciate it, P4UL, mad respect.
GurusGeo 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 11:37.


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