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

Game Messages & Sounds Manager


Post New Thread Reply   
 
Thread Tools Display Modes
SomewhereLost
AlliedModders Donor
Join Date: Mar 2014
Location: Tomorrowland
Old 12-27-2016 , 17:31   Re: Win Messages & Sounds
Reply With Quote #21

Im not a newbie. Theyre all changed to this
__________________
SomewhereLost is offline
Send a message via Skype™ to SomewhereLost
OciXCrom
Veteran Member
Join Date: Oct 2013
Location: Macedonia
Old 12-27-2016 , 19:00   Re: Win Messages & Sounds
Reply With Quote #22

Decrease the fxtime. I never understood how the effects work, but I assume fxtime controls how often the effect refreshes, aka blinks in this case.
__________________
OciXCrom is offline
Send a message via Skype™ to OciXCrom
Lolz0r
Veteran Member
Join Date: Nov 2010
Location: Balgaria
Old 12-28-2016 , 09:07   Re: Win Messages & Sounds
Reply With Quote #23

Code:
/*    Formatright © 2011, ConnorMcLeod     This plugin is free software;     you can redistribute it and/or modify it under the terms of the     GNU General Public License as published by the Free Software Foundation.     This program is distributed in the hope that it will be useful,     but WITHOUT ANY WARRANTY; without even the implied warranty of     MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the     GNU General Public License for more details.     You should have received a copy of the GNU General Public License     along with this plugin; if not, write to the     Free Software Foundation, Inc., 59 Temple Place - Suite 330,     Boston, MA 02111-1307, USA. */ #include <amxmodx> #define PLUGIN "Game Message" #define VERSION "0.0.2" new Trie:g_tReplacements new g_iSyncHud public plugin_init() {     register_plugin(PLUGIN, VERSION, "ConnorMcLeod")     register_message(get_user_msgid("TextMsg"), "Message_TextMsg")     g_tReplacements = TrieCreate()     TrieSetString(g_tReplacements, "#Bomb_Planted",                 "The bomb has been planted!")     TrieSetString(g_tReplacements, "#Bomb_Defused",                 "The bomb has been defused!" )     TrieSetString(g_tReplacements, "#Target_Bombed",             "Target Succesfully Bombed!")     TrieSetString(g_tReplacements, "#CTs_Win",       "Counter-Terrorists Win!")     TrieSetString(g_tReplacements, "#Terrorists_Win",         "Terrorists Win!")     TrieSetString(g_tReplacements, "#Target_Saved",                 "Target has been saved!")     TrieSetString(g_tReplacements, "#Game_Commencing",     "Game Commencing!")     TrieSetString(g_tReplacements, "#Round_Draw",           "Round Draw!")     TrieSetString(g_tReplacements, "#Auto_Team_Balance_Next_Round", "Auto-Team Balance next round!")         g_iSyncHud = CreateHudSyncObj() } public Message_TextMsg(iMsgId, iMsgDest, id) {     if( !id && get_msg_arg_int(1) == print_center )     {         new szMessage[64]         get_msg_arg_string(2, szMessage, charsmax(szMessage))         if( TrieGetString(g_tReplacements, szMessage, szMessage, charsmax(szMessage)) )         {             set_hudmessage(0, 100, 200, -1.0, 0.28, .channel=-1)             ShowSyncHudMsg(0, g_iSyncHud, szMessage)             return PLUGIN_HANDLED         }     }     return PLUGIN_CONTINUE }

others version
Lolz0r is offline
OciXCrom
Veteran Member
Join Date: Oct 2013
Location: Macedonia
Old 12-28-2016 , 09:22   Re: Win Messages & Sounds
Reply With Quote #24

Why did you post that? Not even close to what this plugin can do.
__________________

Last edited by OciXCrom; 12-28-2016 at 09:29.
OciXCrom is offline
Send a message via Skype™ to OciXCrom
SomewhereLost
AlliedModders Donor
Join Date: Mar 2014
Location: Tomorrowland
Old 12-29-2016 , 02:50   Re: Win Messages & Sounds
Reply With Quote #25

I suppose with that all the messages are going to be same color same position.
__________________
SomewhereLost is offline
Send a message via Skype™ to SomewhereLost
OciXCrom
Veteran Member
Join Date: Oct 2013
Location: Macedonia
Old 12-29-2016 , 07:25   Re: Win Messages & Sounds
Reply With Quote #26

They will be in the same position, but not with same color. With the cvars you can control only the global settings for HUD messages, which are the position and effects. Different colors can be set for every message through the .ini file. I really don't think that it's necessary to specify a different position for every message.
__________________

Last edited by OciXCrom; 12-29-2016 at 07:25.
OciXCrom is offline
Send a message via Skype™ to OciXCrom
SomewhereLost
AlliedModders Donor
Join Date: Mar 2014
Location: Tomorrowland
Old 12-29-2016 , 09:05   Re: Win Messages & Sounds
Reply With Quote #27

Im talking about Connor's plugin.
__________________
SomewhereLost is offline
Send a message via Skype™ to SomewhereLost
OciXCrom
Veteran Member
Join Date: Oct 2013
Location: Macedonia
Old 12-29-2016 , 09:37   Re: Win Messages & Sounds
Reply With Quote #28

That's just a simple code to replace the messages and I see no reason to use it instead of a plugin that allows you to easily modify them without having to edit the .sma file.
__________________
OciXCrom is offline
Send a message via Skype™ to OciXCrom
MaXs
Member
Join Date: Jan 2017
Old 01-24-2017 , 10:31   Re: Win Messages & Sounds
Reply With Quote #29

worst plugin
MaXs is offline
OciXCrom
Veteran Member
Join Date: Oct 2013
Location: Macedonia
Old 01-24-2017 , 10:31   Re: Win Messages & Sounds
Reply With Quote #30

Quote:
Originally Posted by MaXs View Post
worst plugin
Grow up.
__________________
OciXCrom is offline
Send a message via Skype™ to OciXCrom
Reply


Thread Tools
Display Modes

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 10:12.


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