Raised This Month: $ Target: $400
 0% 

[HOWTO] disable #Cstrike_Name_Change for a while


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
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
 



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