21.12.2013, 21:17
Just going to combine what Konstantinos and [uL]Pottus said :P
Loop
pawn Код:
#define WEAPON_KILL_SIZE (46)
enum pVars
{
Password[ 129 ],
Admin,
WeaponKills[ WEAPON_KILL_SIZE ]
}
new
PlayerInfo[ MAX_PLAYERS ][ pVars ],
bool: is_logged[ MAX_PLAYERS ];
pawn Код:
new i = 0;
while(i < WEAPON_KILL_SIZE)
{
//Your code.
i++;
}
// or
for(new i = 0; i < WEAPON_KILL_SIZE; i++)
{
//Your code
}