Jump to content
Sign in to follow this  
Ice_Rhino

Weird Error in Custom Loadout

Recommended Posts

When I use this config file in the editor, it is fine, when I use it in MP Coop and I am alone, it is fine, when another player joins, half the stuff, like clothes etc are not there at the time of spawn. What have I done wrong?

Custom Script http://1drv.ms/RDkw9U

Thanks in advance

IR

---------- Post added at 18:09 ---------- Previous post was at 18:01 ----------

I should add that the other player who joins using the same loadout is fine 100% of the time, it only appears to be the host that suffers

Share this post


Link to post
Share on other sites

Or, simply put without further referring you to run from place to place:

1. Replace

_unit adduniform "U_B_CombatUniform_mcam"; 

with

[[{},_unit addUniform "U_B_CombatUniform_mcam"],"BIS_fnc_spawn",true] call BIS_fnc_MP;

2. It could additionally be a problem of the way you call your loadout scripts. I would call them last from an initPlayerLocal.sqf, after waitUntil {!isNull player}; (which you should remove from your loadout-script) with [player] execVM "tc-gl-rm-001.sqf";

That way you make sure that every player calls his own loadout-script, without adding commands to other players.

Edited by Pergor

Share this post


Link to post
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
Sign in to follow this  

×