Ok blocked on enum...
#1

How i can make something like

pawn Код:
enum Items {
    ItemID,
    ItemName[138],
    ItemEquipped,
}
new Player_Items[MAX_PLAYERS][MAX_PLAYERITEMS][Items];
Using defining or const?
Reply
#2

Код:
#define MAX_PLAYERITEMS x

new PlayerItems_ItemID[MAX_PLAYERS][MAX_PLAYERITEMS];
new PlayerItems_ItemName[MAX_PLAYERS][MAX_PLAYERITEMS][138];
new PlayerItems_ItemEquipped[MAX_PLAYERS][MAX_PLAYERSITEMS];
o.o

but.. why?
Reply
#3

Im asking this in a enum.
Reply
#4

enumerators are constants..
Reply
#5

Yes i know so? lol
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)