mirror of
https://github.com/YGGverse/hlsdk-portable.git
synced 2025-02-08 21:14:14 +00:00
Fix unknown command message on dumpprops and client
This commit is contained in:
parent
1517a774b7
commit
9e0570c0e2
@ -805,6 +805,7 @@ bool GGM_ClientCommand( CBasePlayer *pPlayer, const char *pcmd )
|
|||||||
{
|
{
|
||||||
if ( g_flWeaponCheat != 0.0 )
|
if ( g_flWeaponCheat != 0.0 )
|
||||||
DumpProps();
|
DumpProps();
|
||||||
|
return true;
|
||||||
}
|
}
|
||||||
else if( FStrEq(pcmd, "client") )
|
else if( FStrEq(pcmd, "client") )
|
||||||
{
|
{
|
||||||
@ -812,6 +813,7 @@ bool GGM_ClientCommand( CBasePlayer *pPlayer, const char *pcmd )
|
|||||||
strncpy(args, CMD_ARGS(),254);
|
strncpy(args, CMD_ARGS(),254);
|
||||||
strcat(args,"\n");
|
strcat(args,"\n");
|
||||||
CLIENT_COMMAND( pPlayer->edict(), args );
|
CLIENT_COMMAND( pPlayer->edict(), args );
|
||||||
|
return true;
|
||||||
}
|
}
|
||||||
else if( COOP_ClientCommand( pPlayer->edict() ) )
|
else if( COOP_ClientCommand( pPlayer->edict() ) )
|
||||||
return true;
|
return true;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user