Array/Enum(?)
#1

I forget the name for this, but how would I go about doing something like...

pawn Код:
items = [ MAX_ITEMS ] [ ] =
    { 1, ITEM_MEDKIT }
};
And I could then call it like;

pawn Код:
items [ 0 ] [ 0 ] (this would return "1")
Reply
#2

Explain further what you want.
Reply
#3

items[MAX_ITEMS][] = { { 1, MAX_MEDKIT } };

??
Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)