hekut146 Posted September 27, 2015 Report Share Posted September 27, 2015 (edited) Hi, when i add new grenade (in new addon) i don't throw (new grenade)classCfgAmmo{ classGrenadeHand_stone;// External class reference classMolotovCoctailAmmo:GrenadeHand_stone{ CraterEffects="NoCrater"; explosionEffects ="GlassSmash"; soundHit[]={"\z\addons\hapodha9i_coji9ihka_main\molotov\sounds\bottle_break_0",0.5,1,60}; model ="\z\addons\hapodha9i_coji9ihka_main\molotov\models\molotov.p3d";}; }; classCfgMagazines{ classHandGrenade_Stone;// External class reference classMolotovCoctail:HandGrenade_Stone{ displayName ="Коктейль Молотова"; descriptionShort ="Стеклянная бутылка содержащая горючую жидкость и запал."; model ="\z\addons\hapodha9i_coji9ihka_main\molotov\models\molotov.p3d"; picture ="\dayz_equip\textures\equip_bottle_jd_ca.paa"; ammo ="MolotovCoctailAmmo";}; }; class cfgWeapons { classThrowMuzzle; classMolotovCocktailMuzzle:ThrowMuzzle{ displayName ="Бросить"; magazines[]={"MolotovCoctail"};}; };Why i don't have drop (throw) my grenade, i have this in code: displayName = "Бросить"; //ThrowPlease, say me, where my error?Thanks. Edited September 29, 2015 by hekut146 Link to comment Share on other sites More sharing options...
Question
hekut146
Hi, when i add new grenade (in new addon) i don't throw (new grenade)
Why i don't have drop (throw) my grenade, i have this in code: displayName = "Бросить"; //Throw
Please, say me, where my error?
Thanks.
Edited by hekut146Link to comment
Share on other sites
0 answers to this question
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now