31.07.2013, 10:37
pawn Код:
// Top of the script
enum mE
{
Float:POS[3],
Int
}
new TD[MAX_PLAYERS][mE][5];
// OnGameModeInit
TD[0][POS[0]][0] = 1.0; // error 028: invalid subscript (not an array or too many subscripts): "POS"
// Top of the script
enum mE
{
Float:POS[3],
Int
}
new TD[MAX_PLAYERS][mE][5];
// OnGameModeInit
TD[0][POS[0]][0] = 1.0; // error 028: invalid subscript (not an array or too many subscripts): "POS"
TD[0/*playerid*/][POS][0][0] = 1.0;
enum {
PosX,
PosY,
Posz
};
enum mE
{
Float:POS[3],
Int
}
new TD[MAX_PLAYERS][mE];
// OnGameModeInit
TD[0][POS][0] = 1.0;
TD[0][POS][1] = 1.0;
TD[0][POS][2] = 1.0;