[ajuda] textdraw -
histire - 22.03.2012
bom estou fasendo para 1 settime para 1 public chamar a outra sу que sempre fala que simbolo ja estб definido
pawn Код:
public TextAbaixo
(playerid
){ TextAbaixo
= TextDrawCreate
(1.000000,
435.000000,
"Acesse Nosso Forum : http://123 ");
TextDrawUseBox
(TextAbaixo,
1);
TextDrawBoxColor
(TextAbaixo, 0x00000066
);
TextDrawTextSize
(TextAbaixo,
641.000000,
0.000000);
TextDrawAlignment
(TextAbaixo,
0);
TextDrawBackgroundColor
(TextAbaixo, 0x000000ff
);
TextDrawFont
(TextAbaixo,
3);
TextDrawLetterSize
(TextAbaixo,
0.499999,
1.300000);
TextDrawColor
(TextAbaixo,0xffffffff
);
TextDrawSetOutline
(TextAbaixo,
1);
TextDrawSetProportional
(TextAbaixo,
1);
TextDrawSetShadow
(TextAbaixo,
1);
TextAbaixo
= SetTimerEx
("textdpois",
10000, true,
"i", playerid
);
}public textdpois
(playerid
){ textdpois
= TextDrawCreate
(1.000000,
435.000000,
"Comandos Uteis: /relatorio /comandos /ajuda");
TextDrawUseBox
(textdpois,
1);
TextDrawBoxColor
(textdpois, 0x00000066
);
TextDrawTextSize
(textdpois,
641.000000,
0.000000);
TextDrawAlignment
(textdpois,
0);
TextDrawBackgroundColor
(textdpois, 0x000000ff
);
TextDrawFont
(textdpois,
3);
TextDrawLetterSize
(textdpois,
0.499999,
1.300000);
TextDrawColor
(textdpois,0xffffffff
);
TextDrawSetOutline
(textdpois,
1);
TextDrawSetProportional
(textdpois,
1);
TextDrawSetShadow
(textdpois,
1);
textdpois
= SetTimerEx
("TextAbaixo",
10000, true,
"i", playerid
);
}
qual poblema?
pawn Код:
C:\Users\Marli\Downloads\SA-MP\SA-MP\gamemodes\new.pwn(147) : error 021: symbol already defined: "TextAbaixo"
C:\Users\Marli\Downloads\SA-MP\SA-MP\gamemodes\new.pwn(163) : error 021: symbol already defined: "textdpois"
C:\Users\Marli\Downloads\SA-MP\SA-MP\gamemodes\new.pwn(980) : warning 203: symbol is never used: "textdpois
Re: [ajuda] textdraw -
ViniBorn - 22.03.2012
Muda o nome da variбvel do TextDraw, tб com o mesmo nome da public.
Re: [ajuda] textdraw -
histire - 22.03.2012
mais nao estб sendo usada O.o
C:\Users\Marli\Downloads\SA-MP\SA-MP\gamemodes\new.pwn(14

: error 021: symbol already defined: "Textembaixo" tentei mudar
Re: [ajuda] textdraw -
ViniBorn - 22.03.2012
pawn Код:
new Text: TextEmbaixo;
new Text: TextApos ;
public TextAbaixo
(playerid
){ TextEmbaixo
= TextDrawCreate
(1.000000,
435.000000,
"Acesse Nosso Forum : http://123 ");
TextDrawUseBox
(TextEmbaixo ,
1);
TextDrawBoxColor
(TextEmbaixo , 0x00000066
);
TextDrawTextSize
(TextEmbaixo ,
641.000000,
0.000000);
TextDrawAlignment
(TextEmbaixo ,
0);
TextDrawBackgroundColor
(TextEmbaixo , 0x000000ff
);
TextDrawFont
(TextEmbaixo ,
3);
TextDrawLetterSize
(TextEmbaixo ,
0.499999,
1.300000);
TextDrawColor
(TextEmbaixo ,0xffffffff
);
TextDrawSetOutline
(TextEmbaixo ,
1);
TextDrawSetProportional
(TextEmbaixo ,
1);
TextDrawSetShadow
(TextEmbaixo ,
1);
SetTimerEx
("TextApos ",
10000, true,
"i", playerid
);
}public TextDepois
(playerid
){ TextApos
= TextDrawCreate
(1.000000,
435.000000,
"Comandos Uteis: /relatorio /comandos /ajuda");
TextDrawUseBox
(TextApos ,
1);
TextDrawBoxColor
(TextApos , 0x00000066
);
TextDrawTextSize
(TextApos ,
641.000000,
0.000000);
TextDrawAlignment
(TextApos ,
0);
TextDrawBackgroundColor
(TextApos , 0x000000ff
);
TextDrawFont
(TextApos ,
3);
TextDrawLetterSize
(TextApos ,
0.499999,
1.300000);
TextDrawColor
(TextApos ,0xffffffff
);
TextDrawSetOutline
(TextApos ,
1);
TextDrawSetProportional
(TextApos ,
1);
TextDrawSetShadow
(TextApos ,
1);
SetTimerEx
("TextAbaixo",
10000, true,
"i", playerid
);
}
Re: [ajuda] textdraw -
histire - 22.03.2012
pawn Код:
C:\Users\Marli\Downloads\SA-MP\SA-MP\gamemodes\new.pwn(92) : error 076: syntax error in the expression, or invalid function call
C:\Users\Marli\Downloads\SA-MP\SA-MP\gamemodes\new.pwn(101) : warning 235: public function lacks forward declaration (symbol "TextAbaixo")
C:\Users\Marli\Downloads\SA-MP\SA-MP\gamemodes\new.pwn(117) : error 021: symbol already defined: "TextApos"
C:\Users\Marli\Downloads\SA-MP\SA-MP\gamemodes\new.pwn(926) : warning 203: symbol is never used: "TextApos"
Re: [ajuda] textdraw -
ViniBorn - 22.03.2012
Coloca forwards...
pawn Код:
forward TextAbaixo(playerid);
forward TextDepois(playerid);
Re: [ajuda] textdraw -
histire - 22.03.2012
pawn Код:
C:\Users\Marli\Downloads\SA-MP\SA-MP\gamemodes\new.pwn(113) : error 076: syntax error in the expression, or invalid function call
agora da isso em todas textdraw
@Edit consegui

vlws