///--------------------------------------------------------------------------------------- /// Created By : Tetra > Adel Laggoune /// EMail: sadam007Ghost@Hotmail.Com - Kamikaz_Exe@Hotmail.Fr - Amcv013@Gmail.Com /// My Blog : OwsUDK.BlogSpot.Com /// Www.MaxForums.Net - Www.Montada.Com ///--------------------------------------------------------------------------------------- class MyGame extends UTGame ; Var bool bGiveMyWeapon; Function AddDefaultInventory( Pawn PlayerPawn) { If (bGiveMyWeapon && PlayerPawn.IsHumanControlled () ) { PlayerPawn.CreateInventory (class'Weap_AK74',true); } PlayerPawn.AddDefaultInventory(); } DefaultProperties { bGiveMyWeapon = true }