• 1
Sign in to follow this  
Followers 0
JohnWayne

[#Solved] Buy rocket launcher

Question

If you've added to trader RPG from RHS mod, such as RPG-26 (rhs_weap_rpg26), but when you buy it a weapon does not appear in your inventory, you must do the following
1) go to the mod @Exile folder, unpack exile_client.pbo, go to the "code" folder and copy the ExileClient_util_playerEquipment_add.sqf to your mission folder
2) open it with a text editor, such as Notepad++
3) near the line 97, after

case "SubmachineGun",

add

case "RocketLauncher":
{
_player addWeaponGlobal _itemClassName;
_added = true;
};

save file
4) open config.cpp, in class CfgExileCustomCode
add the

ExileClient_util_playerEquipment_add = "fix\ExileClient_util_playerEquipment_add.sqf";

5) Repack your mission

6) Enjoy

Hope it helps you!

2 people like this

Share this post


Link to post
Share on other sites

1 answer to this question

  • 0

Posted (edited)

Thanks to you.

But, Maybe "fix\" is an unnecessary addition.

Edited by masasikatano

Share this post


Link to post
Share on other sites
Advertisement

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 account

Sign in

Already have an account? Sign in here.


Sign In Now
Sign in to follow this  
Followers 0

  • Recently Browsing   0 members

    No registered users viewing this page.