Код:
coloquei isso e deu erros
Код:
BoxGuerra[i] = TextDrawCreate(640.000000,105.000000,"C");
TextDrawUseBox(BoxGuerra[i],1);
TextDrawBoxColor(BoxGuerra[i],0x00000066);
TextDrawTextSize(BoxGuerra[i],464.000000,7.000000);
TextDrawAlignment(BoxGuerra[i],0);
TextDrawBackgroundColor(BoxGuerra[i],0x000000ff);
TextDrawFont(BoxGuerra[i],3);
TextDrawLetterSize(BoxGuerra[i],-0.000000,14.000000);
TextDrawColor(BoxGuerra[i],0xffffffff);
TextDrawSetOutline(BoxGuerra[i],1);
TextDrawSetProportional(BoxGuerra[i],1);
TextDrawSetShadow(BoxGuerra[i],1);
se eu deixo o [i] Aparece esse erro
error 017: undefined symbol "i"
//===================================
se eu nгo deixo aparece esses erros
error 033: array must be indexed (variable "BoxGuerra")
error 035: argument type mismatch (argument 1)
error 035: argument type mismatch (argument 1)
error 035: argument type mismatch (argument 1)
error 035: argument type mismatch (argument 1)
error 035: argument type mismatch (argument 1)
error 035: argument type mismatch (argument 1)
error 035: argument type mismatch (argument 1)
error 017: undefined symbol "i"
error 035: argument type mismatch (argument 1)
pawn Код:
for(new i=0; i <= MAX_PLAYERS; i++)
{
BoxGuerra[i] = TextDrawCreate(640.000000,105.000000,"C");
TextDrawUseBox(BoxGuerra[i],1);
TextDrawBoxColor(BoxGuerra[i],0x00000066);
TextDrawTextSize(BoxGuerra[i],464.000000,7.000000);
TextDrawAlignment(BoxGuerra[i],0);
TextDrawBackgroundColor(BoxGuerra[i],0x000000ff);
TextDrawFont(BoxGuerra[i],3);
TextDrawLetterSize(BoxGuerra[i],-0.000000,14.000000);
TextDrawColor(BoxGuerra[i],0xffffffff);
TextDrawSetOutline(BoxGuerra[i],1);
TextDrawSetProportional(BoxGuerra[i],1);
TextDrawSetShadow(BoxGuerra[i],1);
}