Jump to content
  • 0

Relogging gives tools


Friendly

Question

5 answers to this question

Recommended Posts

  • 0

I do have custom loadout but it doesn't seem to be the problem, here it is.

http://pastebin.com/sH8FmEvr

 

What skins are the players using?  Did you add any custom skins in?

 

Skins are defined as Vehicles in the cfgVehicles file.  They are typically assigned weapons/gear in this config as they are typically used by AI.  most likely epoch devs did not overwrite the skins they are not using (hing: anything custom you added) so these will still spawn with their default gear.

 

For instance, my custom skin (fr_gl) spawns with a radio every time I log in or out.

Link to comment
Share on other sites

  • 0

my guess is you are using default arma skins and they come with default gear wich players are then getting when relogging in or switching to one of those skins ...

 

in dayz_code.pbo find player_switchModel.sqf and scroll to around line 58-60 it should look like this:

//Clear New Character
{_newUnit removeMagazine _x;} count  magazines _newUnit;
removeAllWeapons _newUnit;

rigth below that add this line:

removeAllItems _newUnit;

obviusly you need to redirect the file in compiles.sqf aswell, but after doing that, the problem should be fixed.

Link to comment
Share on other sites

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
  • Advertisement
  • Discord

×
×
  • Create New...