Jump to content
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

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
Sign in to follow this  

×