Raised This Month: $ Target: $400
 0% 

get if player changed name


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Author Message
D1ma
Junior Member
Join Date: Jun 2010
Old 06-30-2010 , 16:11   get if player changed name
Reply With Quote #1

I have this code:
Code:
public plugin_init() {
    register_plugin("Ban IP In Name","1.0","D[i]Ma/NickName3")
    register_clcmd("name", "name_change")
}
public name_change(id, level, cid) {
    read_args(g_allArgs, 1023)
    strtolower(g_allArgs)
    remove_quotes(g_allArgs)
    log_amx("User changed name to ^"%s^"",g_allArgs)
    return PLUGIN_CONTINUE
}
but the public name_change is not callled
What is the problem here?
Thanks.
D1ma 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 14:49.


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