Jump to content

Recommended Posts

Hello.
I want make uniform only for one GUID. 
I use this code

class Name_Belt_C: B_Kitbag_cbr
    {
        scope=2;
        picture="\ui\Belt_ui.paa";
        model="\a3\characters_f\BLUFOR\equip_b_belt.p3d";
        condition="getPlayerUID player in [""76561198103969469""]";
        displayName="Belt";
        maximumLoad=100;
    };

 


and i want make uniform for one side
I use this code
 

class Name_Belt_C: B_Kitbag_cbr
    {
        scope=2;
        picture="\ui\Belt_ui.paa";
        model="\a3\characters_f\BLUFOR\equip_b_belt.p3d";
        condition="playerSide == west";
        displayName="Belt";
        maximumLoad=100;
    };

 


In both cases, this form can be worn by all.

How i can make uniform for only one GUID and for one side?

 

 

Share this post


Link to post
Share on other sites

side is set in the modelSides entry.

That condition entry that you are making up doesn't exist at all. You cannot limit a uniform to one GUID with config.

You could run a script that checks who is currently wearing that uniform, and force the wearer to drop it.

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

×