CS_InternalCommand not working?
Yo, i'm trying to block "ping" command but it doesn't work for me?
i tried everything but idk how .. PHP Code:
PHP Code:
|
Re: CS_InternalCommand not working?
According to the documentation of CS_InternalCommand(), it is when the server sends a command to the player.
|
Re: CS_InternalCommand not working?
Quote:
|
Re: CS_InternalCommand not working?
Why would you want to do that anyways?
|
Re: CS_InternalCommand not working?
Code:
register_clcmd("ping","cmdPing");Try normal way |
Re: CS_InternalCommand not working?
Quote:
fakeping on +showscore meanwhile "ping" command showing the real ping i hope u understand my bad english x] Quote:
|
Re: CS_InternalCommand not working?
If I understood ReHLDS code correctly, you can't hook most (I know "fullupdate" is an exception because it purposely notifies the game DLL) of these commands because they are not even forwarded to the mod/game DLL:
Code:
"status", "god", "notarget", "fly", "name", "noclip", "kill", "pause", "spawn", "new", "sendres", "dropclient", "kick", "ping", "dlfile", "nextdl", "setinfo", "showinfo", "sendents", "fullupdate", "setpause", "unpause"Quote:
|
Re: CS_InternalCommand not working?
Quote:
|
Re: CS_InternalCommand not working?
IIRC, this community adopted Valve's Policy of Truth which this use case would violate.
|
Re: CS_InternalCommand not working?
Quote:
|
| All times are GMT -4. The time now is 23:17. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.