13.04.2016, 19:55
pawn Код:
#define LoopDynamic(%0,%1) for(new %0 = 0; %0 < %1; %0 ++ ) if(IsPlayerConnected(%0))
pawn Код:
LoopDynamic(x, MAX_PLAYERS)
{
printf("%d", x);
}
isso aqui funcionбria ?
#define LoopDynamic(%0,%1) for(new %0 = 0; %0 < %1; %0 ++ ) if(IsPlayerConnected(%0))
LoopDynamic(x, MAX_PLAYERS)
{
printf("%d", x);
}
public OnGameModeInit() { LoopDynamic(MAX_PLAYERS); return 1; } stock LoopDynamic(NUMBER) { for(new i = 0; i < NUMBER; i++) { printf("%i - %i", i, NUMBER); } return 1; }