21.05.2016, 12:33
It may compiled but you will get a run time error 4 if you run that code.
First think what you want to do because I look those:
and I'm pretty sure you meant to do something else. Having an array with size of 1 makes it only accessible at index 0 and human at index 0 and 1.
Were you supposed to define them as teams? If yes, it'd be:
(even though we used to define a symbol in caps with #define pattern)
or
First think what you want to do because I look those:
pawn Код:
new zombie[1], human[2];
Were you supposed to define them as teams? If yes, it'd be:
pawn Код:
#define zombie 1
#define human 2
or
pawn Код:
enum
{
zombie = 1,
human
};