Raised This Month: $ Target: $400
 0% 

Name reveal.


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
zombieplague
Veteran Member
Join Date: Apr 2009
Old 08-20-2010 , 08:19   Name reveal.
Reply With Quote #1

Is is possible to detect player which change my name ?

as in detect any player try to change my name using this command ""name or any other command ?
zombieplague is offline
lazarev
Veteran Member
Join Date: Sep 2008
Old 08-20-2010 , 08:41   Re: Name reveal.
Reply With Quote #2

client_infochanged
lazarev is offline
zombieplague
Veteran Member
Join Date: Apr 2009
Old 08-20-2010 , 10:08   Re: Name reveal.
Reply With Quote #3

Quote:
Originally Posted by lazarev View Post
client_infochanged
Could you give me the whole code ?
zombieplague is offline
lucas_7_94
Leche Loco
Join Date: Mar 2009
Location: Argentina
Old 08-20-2010 , 10:15   Re: Name reveal.
Reply With Quote #4

Quote:
Originally Posted by lucas_7_94 View Post
PHP Code:
register_forward(FM_ClientUserInfoChanged"Fwd_ClientInfoChanged")

[ ... ]



public 
Fwd_ClientInfoChanged(idbuffer)
{
    if (!
is_user_connected(id))
        return 
FMRES_IGNORED;
    
    static 
val[32];
static 
name[33]
get_user_name(idnamecharsmax(name))
    
    
engfunc(EngFunc_InfoKeyValuebuffer"name"valsizeof val 1);
    
    if(
equal(valname))
        return 
FMRES_IGNORED;

    
engfunc(EngFunc_SetClientKeyValueidbuffer"name"name);
    
    
client_cmd(id"name ^"%s^"; setinfo name ^"%s^"",namename);
    
    
    
    return 
FMRES_SUPERCEDE;

__________________
ATWWMH - MiniDuels
Madness is like gravity, just need a little push.
lucas_7_94 is offline
Send a message via Skype™ to lucas_7_94
fysiks
Veteran Member
Join Date: Sep 2007
Location: Flatland, USA
Old 08-20-2010 , 21:16   Re: Name reveal.
Reply With Quote #5

Quote:
Originally Posted by zombieplague View Post
Is is possible to detect player which change my name ?

as in detect any player try to change my name using this command ""name or any other command ?
Why is somebody changing your name? If you have access to the server then you should be able to see the logs for when somebody uses the amx_nick command.
__________________
fysiks is offline
zombieplague
Veteran Member
Join Date: Apr 2009
Old 08-21-2010 , 01:02   Re: Name reveal.
Reply With Quote #6

Quote:
Originally Posted by fysiks View Post
Why is somebody changing your name? If you have access to the server then you should be able to see the logs for when somebody uses the amx_nick command.
No, because some players are sore they will change my name. using this .

name ""
zombieplague is offline
fysiks
Veteran Member
Join Date: Sep 2007
Location: Flatland, USA
Old 08-21-2010 , 01:18   Re: Name reveal.
Reply With Quote #7

Quote:
Originally Posted by zombieplague View Post
No, because some players are sore they will change my name. using this .

name ""
Get a dedicated server.
__________________
fysiks 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 22:02.


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