mirror of
https://github.com/ENSL/NS.git
synced 2024-11-26 22:40:58 +00:00
o Added a client command for cl_rate to prevent access to the valve command.
git-svn-id: https://unknownworlds.svn.cloudforge.com/ns1@550 67975925-1194-0748-b3d5-c16f83f1a3a1
This commit is contained in:
parent
3849045aec
commit
8fc74ffae9
1 changed files with 3 additions and 0 deletions
|
@ -167,6 +167,8 @@ int __MsgFunc_TeamInfo(const char *pszName, int iSize, void *pbuf)
|
|||
|
||||
void __CmdFunc_SpecialDummy(void) {}
|
||||
|
||||
void __CmdFunc_ClRateDummy(void) { }
|
||||
|
||||
// This is called every time the DLL is loaded
|
||||
void CHud :: Init( void )
|
||||
{
|
||||
|
@ -178,6 +180,7 @@ void CHud :: Init( void )
|
|||
HOOK_COMMAND( "special", SpecialDummy);
|
||||
HOOK_COMMAND( "_special", SpecialDummy); //prevent abuse
|
||||
|
||||
HOOK_COMMAND( "cl_rate", ClRateDummy);
|
||||
|
||||
HOOK_MESSAGE( TeamNames );
|
||||
HOOK_MESSAGE( MOTD );
|
||||
|
|
Loading…
Reference in a new issue