Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions src/game/server/player.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -6300,6 +6300,7 @@ void CBasePlayer::CheatImpulseCommands( int iImpulse )

switch ( iImpulse )
{
#ifdef HL1_DLL
case 76:
{
if (!giPrecacheGrunt)
Expand All @@ -6314,12 +6315,16 @@ void CBasePlayer::CheatImpulseCommands( int iImpulse )
}
break;
}
#endif

#if defined ( HL2_DLL ) || defined ( PORTAL )
case 81:

GiveNamedItem( "weapon_cubemap" );
break;
#endif

#if defined ( HL2_DLL )
case 82:
// Cheat to create a jeep in front of the player
CreateJeep( this );
Expand All @@ -6329,6 +6334,7 @@ void CBasePlayer::CheatImpulseCommands( int iImpulse )
// Cheat to create a airboat in front of the player
CreateAirboat( this );
break;
#endif

case 101:
gEvilImpulse101 = true;
Expand Down