15.11.2009, 20:19
pawn Код:
stock IsValidFightingStyle(style)
{
#define MAX_FIGHT_STYLES 6
new fightStyles[MAX_FIGHT_STYLES] =
{
4, 5, 6, 7, 15, 26
};
for (new i = 0; i < MAX_FIGHT_STYLES; i++)
{
if (style == fightStyles[i]) return true;
}
return false;
}