Madin 9 Posted August 22, 2017 Hi all. I have problem with spawning weapons without attachments, magazine etc. for vanilla weapons/items i can go with: createvehicle {[ "weaponholdersimulated",[getPos _loc select 0, getpos _loc select 1,0],[], 0, "can_Collide"]; addweaponcargo ["arifle_SDAR_F",1]; }; and its working. but for RHS, CUP etc moded weapons, as example "rhs_weapon_ak103" i don't know what to place instead of "weaponholdersimulated" or where i can find it. if i only change weapon name, it give me error. Any ideas? Share this post Link to post Share on other sites
das attorney 858 Posted August 22, 2017 Try this: _holder = createvehicle [ "weaponholdersimulated",[getPos _loc select 0, getpos _loc select 1,0],[], 0, "can_Collide"]; _holder addweaponcargo ["NAME_OF_YOU_GUN",1] 1 Share this post Link to post Share on other sites
Muzzleflash 111 Posted August 22, 2017 If you have code that is working, please post that instead, because what you posted does not work. Also there is no class name "rhs_weapon_ak103" - at least not in my copy of RHS, so try this classname instead: Holder = createvehicle [ "weaponholdersimulated",getpos player,[], 0, "can_Collide"]; Holder addweaponcargo ["rhs_weap_ak103",1]; 1 Share this post Link to post Share on other sites
Madin 9 Posted August 22, 2017 15 minutes ago, Muzzleflash said: If you have code that is working, please post that instead, because what you posted does not work. Also there is no class name "rhs_weapon_ak103" - at least not in my copy of RHS, so try this classname instead: Holder = createvehicle [ "weaponholdersimulated",getpos player,[], 0, "can_Collide"]; Holder addweaponcargo ["rhs_weap_ak103",1]; THIS! thank you :D that damn "ON" Share this post Link to post Share on other sites