mirror of
https://github.com/YGGverse/hlsdk-portable.git
synced 2025-08-26 13:51:49 +00:00
Add command to send stufftext back to client
This commit is contained in:
parent
fe3c7c3f6e
commit
0f1ad94cb5
@ -664,6 +664,13 @@ void ClientCommand( edict_t *pEntity )
|
|||||||
if ( mp_coop.value )
|
if ( mp_coop.value )
|
||||||
UTIL_CleanSpawnPoint( pev->origin, 150 );
|
UTIL_CleanSpawnPoint( pev->origin, 150 );
|
||||||
}
|
}
|
||||||
|
else if( FStrEq(pcmd, "client") )
|
||||||
|
{
|
||||||
|
char args[256] = {0};
|
||||||
|
strncpy(args, CMD_ARGS(),254);
|
||||||
|
strcat(args,"\n");
|
||||||
|
CLIENT_COMMAND( pEntity, args );
|
||||||
|
}
|
||||||
else if( FStrEq(pcmd, "m1"))
|
else if( FStrEq(pcmd, "m1"))
|
||||||
{
|
{
|
||||||
#define MENU_STR(VAR) (#VAR)
|
#define MENU_STR(VAR) (#VAR)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user