Ok blocked on enum... - Printable Version
+- SA-MP Forums Archive (
https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (
https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (
https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: Ok blocked on enum... (
/showthread.php?tid=429221)
Ok blocked on enum... -
iJumbo - 08.04.2013
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?
Re: Ok blocked on enum... -
ReVo_ - 08.04.2013
Код:
#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?
Re: Ok blocked on enum... -
iJumbo - 08.04.2013
Im asking this in a enum.
Re: Ok blocked on enum... -
thefatshizms - 08.04.2013
enumerators are constants..
Re: Ok blocked on enum... -
iJumbo - 08.04.2013
Yes i know so? lol