Hook message help (getting player name)
I'm developing private anti IP spam in chat that logs messages (in SQL) when someone tries to type IP address in his message and blocks that message from going into chat + optionally kick or ban player...
It logs Name, IP, date and message that player tried to send IP ... For example, someone types: "Great server! Join and get admin: 212.200.163.182:27025" and it changes his message to something like: "I like to spam crap!" ... So far I've managed to do everything with checking + changing message, but I just CAN'T find a way to get players name ... :S If I try using get_user_name on (target), I just get current server name ... :S help plox :) PHP Code:
|
Re: Hook message help (getting player name)
See http://wiki.tcwonline.org/Half-Life_...Events#SayText
PHP Code:
|
Re: Hook message help (getting player name)
thanks K+ :)
|
| All times are GMT -4. The time now is 22:43. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.