Raised This Month: $ Target: $400
 0% 

[HOWTO] disable #Cstrike_Name_Change for a while


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
xlenonz
Member
Join Date: Jun 2007
Old 06-18-2009 , 14:01   [HOWTO] disable #Cstrike_Name_Change for a while
Reply With Quote #1

hi,

i change player name in plugin.

but i dont want if i change that player name , dont see xx changed name to yy.

i found that but , that disable all time.
i want only disable when i change player name
Code:
public plugin_init() 
{ 
  register_message(get_user_msgid("SayText"), "block_changename")
}

public block_changename(msgid, msgdest, msgent) {
        new sz[80]
        get_msg_arg_string(2, sz, 79)
        if(containi(sz, "#Cstrike_Name_Change") != -1)
                return PLUGIN_HANDLED
 
        return PLUGIN_CONTINUE
}
__________________
HELL YEAH
xlenonz is offline
stupok
Veteran Member
Join Date: Feb 2006
Old 06-19-2009 , 00:08   Re: [HOWTO] disable #Cstrike_Name_Change for a while
Reply With Quote #2

http://forums.alliedmods.net/showthread.php?p=424320
__________________
stupok 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 15:27.


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