Quote:
|
Originally Posted by backwardsman97
Quote:
|
Originally Posted by MenaceX^
It's already there if I understand you well.
MAX_PLAYERS is array, 128 is array, two arrays
MAX_PLAYERS = 200, if you didn't know, so you can do
new Variable[200][128];
|
Yeah but if you use MAX_PLAYERS and have a server with 30 slots, you can just go into a_samp and change MAX_PLAYERS to 30 instead of going into each script and changing that number.
Quote:
|
Originally Posted by Luxeon
thanks guys !
how to use it with 'if()' ?
to check first and second array (two different examples please)
Luxeon
|
And what exactly do you mean?
|
how to check what the first array has, and the second one
Variable[first_array][second_array]
like: if(first_array == somethings){ //do something }
if(second_array == something2){ //blaa }