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

Change the message: Only 1 team change allowed


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
ChillerX
Member
Join Date: Dec 2022
Old 01-11-2023 , 23:05   Change the message: Only 1 team change allowed
Reply With Quote #1

I want to change the message: Only 1 team change is allowed.

Any idea how? Tried resources > english but didnt work
ChillerX is offline
McTavish
Senior Member
Join Date: May 2021
Old 01-12-2023 , 04:26   Re: Change the message: Only 1 team change allowed
Reply With Quote #2

Quote:
Originally Posted by ChillerX View Post
I want to change the message: Only 1 team change is allowed.

Any idea how? Tried resources > english but didnt work
In order to change the message "Only 1 team change is allowed" in Counter-Strike 1.6, you will need to modify the game's resource files. Specifically, you will need to edit the "resource/english.txt" file, which contains all of the game's text strings in English.

You can find this file in the game's installation directory. Once you have found it, open it using a text editor such as Notepad. Find the line that contains the message "Only 1 team change is allowed" and edit it to your desired text.

Be sure to save the changes to the file and restart the game for the changes to take effect.

Note: Some servers might have this kind of message hardcoded and you might not able to change it.
__________________
No Steam = No Support.
McTavish is offline
bibu
Veteran Member
Join Date: Sep 2010
Old 01-12-2023 , 09:06   Re: Change the message: Only 1 team change allowed
Reply With Quote #3

Try this:

PHP Code:
#include <amxmodx>

#define PLUGIN "Message Replacer"
#define VERSION "1.0"
#define AUTHOR "AMXX Community"

public plugin_init()
{
    
register_plugin(PLUGINVERSIONAUTHOR)
    
register_message(get_user_msgid("TextMsg") ,"message_TextMsg")
}

public 
message_TextMsg( const MsgId, const MsgDest, const MsgEntity )
{    
    static 
message[32]
    
get_msg_arg_string(2messagecharsmax(message))
    
    if(
equal(message"#Only_1_Team_Change"))
    {
        
set_msg_arg_string(2"You should know...only 1 Team change is allowed!")
    }

__________________
Selling tons of my own private works.
Accepting paid work for clans and communities.
Don't hesitate to contact me.
bibu 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 04:03.


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