I have to use this code:
Code:
new String:players[SQL_GetRowCount(query)];
as you can see, I set length of array by count of rows in sql.
This code in
OnPluginStart, but I need a global array(I can't set it in global area 'cause I don't know how many rows in sql).
Although I can declare an array in global area with fixed length of array, but it's bad.
So how to figure it out?
__________________