Jump to content
Sign in to follow this  
Metallica_Wolf

Admin Only Loadout

Recommended Posts

Hi guys.

Is there a way i am able to give admins on my server a specific loadout (using either an admin code or SteamID) while keeping the other survivors playing the Vanilla Dayz as set out in the INIT file on my server?

I'm new new scripting and any and all help will be much appreciated.

Merry Christmas.  Cheers

Edited by Metallica_Wolf

Share this post


Link to post
Share on other sites

player.RemoveAllItems();
                
        ref TStringArray admins = {"steam64"};
      
        for ( int i = 0; i < admins.Count(); ++i ){
            
            if (player.GetIdentity().GetPlainId() == admins){    
                
                if (true)
                {    
                    Admin loadout
                }
                if (false)
                {
                    default/standard loadout or whatever you want
                }
            }
        }

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  

×