Hello again.
Now i need help with cellarray.inc.
I want to store data (like id, key=> value) in array and easy access to it.
But i wasted a lot of time trying to do it myself.
I need to create array for each player like this to retrieve data ("key" and "value")
Code:
player_id => array(
string_key => string_value,
another_string_key => another_string_value
),
another_player_id =>
string_key => string_value,
another_string_key => another_string_value
So, anybody can explain or write a code how to create dynamic array with 32 cells which contains data like "key"=>"value" n times?
Basically i want to store for each player id their settings on connect in array like: nvg color, language, hat and etc. data which is loading from DB and i don't want to create a lot of arrays for this (data can be dynamic, like some player have "nvg" key, another don't)
__________________