Raised This Month: $ Target: $400
 0% 

Custom Messages


Post New Thread Reply   
 
Thread Tools Display Modes
Liam
SourceMod Developer
Join Date: Jan 2008
Location: Atlanta, GA
Old 11-17-2008 , 09:22   Re: Custom Csay Messages
Reply With Quote #11

Meh. It wont stay over server restarts. There's no config file to make it stick one way forever. You also don't need to include sdktools.
__________________
Please don't PM me for support of my plugins. If you have a question, reply in the appropriate thread.

Weapon Restrictions w/ Warmup
High Ping Kicker - Lite Edition
AFK Manager
Liam is offline
bl4nk
SourceMod Developer
Join Date: Jul 2007
Old 11-17-2008 , 13:13   Re: Custom Csay Messages
Reply With Quote #12

Quote:
Originally Posted by [GR]Nick View Post
Yes, you need rcon for the sm_mess_title to change to your likings.
Not what I was asking, but that's good to know.

Quote:
Originally Posted by Liam View Post
Meh. It wont stay over server restarts. There's no config file to make it stick one way forever. You also don't need to include sdktools.
server.cfg
bl4nk is offline
SAMURAI16
BANNED
Join Date: Sep 2006
Old 11-22-2008 , 02:21   Re: Custom Csay Messages
Reply With Quote #13

SourceMOD already have sm_csay
I saw you added a cvar (sm_mess_title) ; Well i can use sm_mess "Words bla bla : message" and no cvar need, because if someone set value of cvar " " then will appear
": my message"
Btw, you can use sizeof(string), isntead of using size of string directly. sizeof() from SM is doing exactly what you need, size of string without null ch.



Last edited by SAMURAI16; 11-24-2008 at 15:22.
SAMURAI16 is offline
Send a message via MSN to SAMURAI16
DJ Tsunami
DJ Post Spammer
Join Date: Feb 2008
Location: The Netherlands
Old 11-24-2008 , 04:33   Re: Custom Csay Messages
Reply With Quote #14

The guy already knows SM has sm_csay, that's why he made this plugin in the first place. sm_csay prefixes the text with the admin name, or the hostname when run from console. He didn't want the prefix, so he made a plugin, nothing wrong with that.
__________________
Advertisements | REST in Pawn - HTTP client for JSON REST APIs
Please do not PM me with questions. Post in the plugin thread.
DJ Tsunami is offline
Liam
SourceMod Developer
Join Date: Jan 2008
Location: Atlanta, GA
Old 11-24-2008 , 14:33   Re: Custom Csay Messages
Reply With Quote #15

Nope
__________________
Please don't PM me for support of my plugins. If you have a question, reply in the appropriate thread.

Weapon Restrictions w/ Warmup
High Ping Kicker - Lite Edition
AFK Manager
Liam is offline
[GR]Nick
BANNED
Join Date: Nov 2008
Location: New York
Old 01-07-2009 , 18:39   Re: Custom Csay Messages
Reply With Quote #16

Thank you for explaining that.
[GR]Nick is offline
Dark-Master
Member
Join Date: Jul 2008
Location: Bangkok, Thailand
Old 01-15-2009 , 22:52   Re: Custom Messages
Reply With Quote #17

Good plugin, Thanks !
__________________
Admins vs Players?
Dark-Master is offline
YoNer
Member
Join Date: Jul 2014
Old 08-15-2015 , 13:25   Re: Custom Messages
Reply With Quote #18

I made a custom version without the CONSOLE text i needed for my server, sharing it here just in case someone can use it.
Attached Files
File Type: sp Get Plugin or Get Source (CustomMessagesY.sp - 323 views - 1.2 KB)
YoNer 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:12.


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