moto7198712

Admin Load Out Help Please

5 posts in this topic

Hey everyone i started a script for a admin load out this is what i have but when i add it to the server i get nothing is there another way of doing this or am i missing something ??

Here is the paste bin http://pastebin.com/PWsw5w2X

if (!isServer) then {
    waitUntil {!isNull player};
    waitUntil {player == player};
    
    while {true} do {
        _player = player;
        player addEventHandler ["Respawn", {
            if (getPlayerUID player in ["UID1"]) then {
                player addWeapon "rhs_weap_mk18_grip2_KAC";
                player addMagazine "rhs_mag_30Rnd_556x45_Mk318_Stanag";
                player additem "ItemRadio";
                player additem "ItemMap";
                player additem "ItemGPS";
                player additem "ItemCompass";
                player addBackpack "B_Carryall_cbr";
                player addVest "V_PlateCarrierIAGL_oli";
                player forceAddUniform "U_B_CombatUniform_mcam_vest";
                player forceAddHeadgear "rhs_6b27m_ml_bala";
                
            
    
                
            };
        }];
        waitUntil {_player != player};
    };
};

 

 

Edited by moto7198712

Share this post


Link to post
Share on other sites
Advertisement

I think i got what you need.

https://github.com/Jenartor/exile_uid-loadout

With these changes you can define your own admin-loadout.

They will spawn with them. Hopefully that's what you wanted.

 

Edit:

In your case you can use:

    loadOut[] =
    {
        "ItemCompass",
        "ItemMap",
        "Exile_Item_XM8",
        "ItemRadio",
        "Exile_Item_PlasticBottleFreshWater",
        "ItemGPS",
        "rhs_weap_mk18_grip2_KAC",
        "rhs_mag_30Rnd_556x45_Mk318_Stanag",
        "B_Carryall_cbr",
        "V_PlateCarrierIAGL_oli",
        "U_B_CombatUniform_mcam_vest",
        "rhs_6b27m_ml_bala"
    };

But i don't know, if that will work with RHS-Items

Edited by Jenartor
  • Like 2

Share this post


Link to post
Share on other sites

Does this script work, and if so where do i add it?

 

Thanks

 

forget that, found the intructions now :)

Edited by Razor77

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

  • Recently Browsing   0 members

    No registered users viewing this page.