mirror of
https://github.com/ValveSoftware/source-sdk-2013.git
synced 2025-04-09 19:41:36 +00:00
Impulse 101 update
► Properly give all items once, give max health and armor.
This commit is contained in:
parent
a62efecf62
commit
441205c903
1 changed files with 5 additions and 3 deletions
|
@ -205,18 +205,20 @@ void CHL2MP_Player::GiveAllItems( void )
|
|||
{
|
||||
EquipSuit();
|
||||
|
||||
SetHealth( 100 );
|
||||
SetArmorValue( 100 );
|
||||
CBasePlayer::GiveAmmo( 255, "Pistol");
|
||||
CBasePlayer::GiveAmmo( 255, "AR2" );
|
||||
CBasePlayer::GiveAmmo( 5, "AR2AltFire" );
|
||||
CBasePlayer::GiveAmmo( 255, "SMG1");
|
||||
CBasePlayer::GiveAmmo( 1, "smg1_grenade");
|
||||
CBasePlayer::GiveAmmo( 5, "smg1_grenade");
|
||||
CBasePlayer::GiveAmmo( 255, "Buckshot");
|
||||
CBasePlayer::GiveAmmo( 32, "357" );
|
||||
CBasePlayer::GiveAmmo( 3, "rpg_round");
|
||||
CBasePlayer::GiveAmmo( 16, "XBowBolt");
|
||||
|
||||
CBasePlayer::GiveAmmo( 1, "grenade" );
|
||||
CBasePlayer::GiveAmmo( 2, "slam" );
|
||||
CBasePlayer::GiveAmmo( 5, "grenade" );
|
||||
CBasePlayer::GiveAmmo( 5, "slam" );
|
||||
|
||||
GiveNamedItem( "weapon_crowbar" );
|
||||
GiveNamedItem( "weapon_stunstick" );
|
||||
|
|
Loading…
Reference in a new issue