How to check name change?
Hello ...
I'm developing anti IP spam in chat, and I've managed to make everything except one thing ... Block IP address in name ... Now, I know how to get players name and check if its IP ... How do I check if player changed his name during game? Is there something like public name_change(id) function that does every time player changes his name ? Because I think checking players name in public client_connect is not really smart thing ... :) |
Re: How to check name change?
|
Re: How to check name change?
thanks :)
K+ edit: oh and by the way ... Now I have to check players name in client_connect and in client_infochanged ? |
Re: How to check name change?
Quote:
get_user_authid: http://www.amxmodx.org/funcwiki.php?go=func&id=166 |
Re: How to check name change?
Dude ...
Did you read my first post at all ? o_O I need player name because I have to check if he named himself by an IP ... :S For example, some kiddie puts his servers IP in his name and goes to another server and stars spamming "JOIN THIS SERVER BLABLABLA" ... |
Re: How to check name change?
Quote:
|
Re: How to check name change?
Good job being an arrogant fool ...
Not everyone on this forum is native english speaker ... One more question intended to people that are more friendly: How do I change players name? I don't see any set_user_name command ... |
Re: How to check name change?
set_user_info(id, "name", "NewNameHere")
More offensive : client_cmd(id, "name NewName") |
Re: How to check name change?
thanks!
I will K+ you when my karma recharges ... :) |
Re: How to check name change?
hmm ...
for some strange reason, I can't get this to work ... :S I have PHP Code:
PHP Code:
[not allowed name] changed name to "changeme" but my name stays the same ... :S |
| All times are GMT -4. The time now is 22:35. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.