client/addons/arsenal/XEH_postInit.sqf
2025-01-04 19:26:35 -06:00

10 lines
354 B
Plaintext

#include "script_component.hpp"
[{
GETVAR(player,value_loadDone,false)
}, {
private _armory_unlocks = player getVariable ["Armory_Unlocks", [[],[],[],[]]];
private _garage_unlocks = player getVariable ["Garage_Unlocks", [[],[],[],[],[],[]]];
[_armory_unlocks, _garage_unlocks] call FUNC(initArsenal);
}] call CFUNC(waitUntilAndExecute);