Jump to content

Forums Announcement

Read-Only Mode for Announcements & Changelogs

Dear Survivors, we'd like to inform you that this forum will transition to read-only mode. From now on, it will serve exclusively as a platform for official announcements and changelogs.

For all community discussions, debates, and engagement, we encourage you to join us on our social media platforms: Discord, Twitter/X, Facebook.

Thank you for being a valued part of our community. We look forward to connecting with you on our other channels!

Stay safe out there,
Your DayZ Team

Sign in to follow this  
Racey66

custom loadouts problems

Recommended Posts

Im trying to give custom loadouts to players. I currently use

string GUID; 
string player1;
string player2;
string player3;
string player4;
string player5;
string player6;
string player7;
string player8;

Etc.

Then use
 GUID = player.GetIdentity().GetPlainId();
        player1 =  "7xxxxxxxxxxxxxxxxxxx";//Player1
        player2 =  "7xxxxxxxxxxxxxxxxxxx";//Player2
        player3 =  "7xxxxxxxxxxxxxxxxxxx";//Player3
        player4 =  "7xxxxxxxxxxxxxxxxxxx";//Player4
        player5 =  "7xxxxxxxxxxxxxxxxxxx";//Player5
        player6 =  "7xxxxxxxxxxxxxxxxxxx";//Player6
        player7 =  "7xxxxxxxxxxxxxxxxxxx";//Player7
        player8 =  "7xxxxxxxxxxxxxxxxxxx";//Player8

Then I list the custom loadouts. It all works fine but as soon as I reach 47 players the server refuses to start. Is there a better way to do it, maybe one section for bronze players , one for silver etc. etc?

Share this post


Link to post
Share on other sites
Sign in to follow this  

×