Which method is better for loading/saving?
#1

Hi guys,
Which of these methods do you recommend for loading pricelist of products of the property? Loading from files every time the players wants to show pricelist or save it to the variables from files at ongamemodinit or loading it from mysql database every time the player want to show pricelist?

The owner of the property can change the prices that's why I need to save/load it often.

I just want the best optimalization and I don't know which of these methods is the best.
Reply
#2

I would say looping through each save file for getting price.
Reply


Forum Jump:


Users browsing this thread: 3 Guest(s)