Getting Errors and I have no Clue why.
#2

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


Messages In This Thread
Getting Errors and I have no Clue why. - by ShawtyyMacJunior - 30.11.2012, 23:14
Re: Getting Errors and I have no Clue why. - by AndreT - 30.11.2012, 23:25

Forum Jump:


Users browsing this thread: 1 Guest(s)