Best player data saving method
#1

I mean saving data in server's RAM, without saving in file. I know currently 2 methods:

- normal
Code:
new pXXX[MAX_PLAYERS];
pXXX[playerid] = 62;
- enum

Code:
enum E_PLAYERS
{
	pXXX
};
new PlayerData[MAX_PLAYERS][E_PLAYERS];
PlayerData[playerid][pXXX] = 62;
Do you know some another faster methods?
Reply
#2

Refresh.
Reply
#3

Refresh. Please answer.
Reply
#4

The Method with Enums is much better i think, i hate it do create 50 Variables like this

Code:
new bla[MAX_PLAYERS];
new bla0[MAX_PLAYERS];
new bla1[MAX_PLAYERS];
And if i want Change something i know where it is and where i can find it
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)