foreach get slot
#1

I've got an array:

Код:
new my_admin_array[MAX_ADMINS][STORE_SOME_INFO];
And of course... MAX_ADMINS is less than MAX_PLAYERS and slot 0 is assigned to a certain playerid. What a great idea is to create an iterator for storing all the admins:

Код:
new Iterator:Admin<MAX_ADMINS>;
It contains admins playerids. And now I want to EXTRACT ITERATOR SLOT of a certain playerid so I could use it in my_admin_array[] as index. HOW do I do that?
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)