uncheatified "fov"
This commit is contained in:
parent
6a07992e34
commit
3d6ef7d47a
@ -900,10 +900,11 @@ CON_COMMAND( give, "Give item to player.\n\tArguments: <item_name>" )
|
|||||||
|
|
||||||
//------------------------------------------------------------------------------
|
//------------------------------------------------------------------------------
|
||||||
//------------------------------------------------------------------------------
|
//------------------------------------------------------------------------------
|
||||||
CON_COMMAND( fov, "Change players FOV" )
|
CON_COMMAND( fov, "Change players FOV" ) //this is the "Fov" command
|
||||||
{
|
{
|
||||||
CBasePlayer *pPlayer = ToBasePlayer( UTIL_GetCommandClient() );
|
CBasePlayer *pPlayer = ToBasePlayer( UTIL_GetCommandClient() );
|
||||||
if ( pPlayer && sv_cheats->GetBool() )
|
//if ( pPlayer && sv_cheats->GetBool() )
|
||||||
|
if ( pPlayer )
|
||||||
{
|
{
|
||||||
if ( args.ArgC() > 1 )
|
if ( args.ArgC() > 1 )
|
||||||
{
|
{
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user