Quote:
Originally Posted by RoacH`
pawn Код:
public OnFilterScriptInit() { for(new i = 0; i < MAX_PLAYERS; i++) { cop[i] = TextDrawCreate(500, 120, "~b~Cops: ~w~%d"); TextDrawBackgroundColor(cop[i], 255); TextDrawFont(cop[i], 1); TextDrawLetterSize(cop[i], 0.69, 1.4000); TextDrawColor(cop[i], 0x0000FFFF); TextDrawSetOutline(cop[i], 1); TextDrawSetProportional(cop[i], 1); } for(new i = 0; i < MAX_PLAYERS; i++) { zumbi[i] = TextDrawCreate(500, 100, "~r~Zumbis: ~w~%d"); TextDrawBackgroundColor(zumbi[i], 255); TextDrawFont(zumbi[i], 1); TextDrawLetterSize(zumbi[i], 0.69, 1.4000); TextDrawColor(zumbi[i], COR_VERMELHOE); TextDrawSetOutline(zumbi[i], 1); TextDrawSetProportional(zumbi[i], 1); }
|
Para que dois loops? .-.
Tenta fazer um if pra verificar se o player estб no evento e joga TextDrawShowForAll para os que estгo no evento. Use loop.