View Single Post
Old 25/09/2018, 07:56 PM   #4
Calisthenics
High-roller
 
Join Date: May 2018
Posts: 1,226
Reputation: 205
Default Re: Weapons loading problem

MySQL can handle millions of rows, the number of them is meaningless to you if you design the database properly and I assure you that your method is not a good one -- it is not faster either.

You only need to store the weapons each player has in their inventory. If a player does not have any weapons, it will not load anything but in your example it will load a text, split 13 zeros and assign to a player-array that its values are already zeros!
Calisthenics is offline   Reply With Quote