30.11.2012, 23:25
You create mage as an array so when accessed, you must specify an index, for example:
If in your case you meant that 999 should be the amount of players, then better use MAX_PLAYERS to create your array:
and add an index to your code lines:
If this is not correct then explain what you are trying to do
pawn Код:
new mage[999];
mage[998] = 10; // VALID
mage = 10; // INVALID
pawn Код:
new mage[MAX_PLAYERS];
pawn Код:
mage[targetid] = 32;