Seleзгo de Time e Skins atravйs de Text Draws -
Rysllo - 09.01.2013
Imagem:
Caso de Bug:
http://imageshack.us/photo/my-images/838/pedidoh.jpg
Este й o meu sistema de seleзгo de Times em Text Draws Clicбveis, mas o problema й que eu queria que apуs o Login, aparecesse estas textdraws e apуs clicar no nome do time ele ir para a seleзгo de skins apenas daquele time.
Se alguem pudesse me ajudar com isto, agradeceria muito.
OBS: A бrea demarcada em vermelho no caso a mudanзa de skins, queria que nгo estivesse ali.
OBS2: Nгo sei como fazer as imagens aparecerem, se alguem souber me mande o cуdigo pls D:
Re: Seleзгo de Time e Skins atravйs de Text Draws -
tonisantolia - 09.01.2013
Para aparecer a imagem: [img ] Codigo da imagem [/ img] sem espaзo
Re: Seleзгo de Time e Skins atravйs de Text Draws -
ReDKiiL - 09.01.2013
Nгo й possivel.
Recomendo spawnar os players para depois fazer estб seleзao.
Re: Seleзгo de Time e Skins atravйs de Text Draws -
Rysllo - 09.01.2013
Quote:
Originally Posted by ReDKiiL
Nгo й possivel.
Recomendo spawnar os players para depois fazer estб seleзao.
|
E vocк saberia como fazer isso apуs o player spawnado?
Re: Seleзгo de Time e Skins atravйs de Text Draws -
ReDKiiL - 09.01.2013
Quote:
Originally Posted by Rysllo
E vocк saberia como fazer isso apуs o player spawnado?
|
Nunca fiz mais creio que sim.
faz assim:
Spawn o player,e mostra os textdraw de ele selecionar a gang.
Depois voce faz um sistema de textdraw clicavel para ele selecionar a skin.
Vou fazer isto em breve no meu servidor.
@Schooc
Pelo que eu saiba tem como esconder estбs setinhas ae nгo :/
Re: Seleзгo de Time e Skins atravйs de Text Draws -
Schocc - 09.01.2013
Quote:
Originally Posted by ReDKiiL
Nгo й possivel.
Recomendo spawnar os players para depois fazer estб seleзao.
|
й possivel sim
Re: Seleзгo de Time e Skins atravйs de Text Draws -
Rysllo - 09.01.2013
Quote:
Originally Posted by ReDKiiL
Nunca fiz mais creio que sim.
|
E poderia me passar sua lуgica ou cуdigo?
Re: Seleзгo de Time e Skins atravйs de Text Draws -
zSuYaNw - 09.01.2013
Й fбcil fazer,
Mande os textdraws que faзo para vocк.
Re: Seleзгo de Time e Skins atravйs de Text Draws -
Rysllo - 09.01.2013
Quote:
Originally Posted by [Full]Garfield[XDB]
Й fбcil fazer,
Mande os textdraws que faзo para vocк.
|
pawn Код:
new
Text:TextoDeEscolhaDeTimes,
Text:TimeAztecas,
Text:TimeBallas,
Text:TimeBikers,
Text:TimeGrove,
Text:TimeMafia,
Text:TimeNang,
Text:TimePmls,
Text:TimeRifa,
Text:TimeTriads,
Text:TimeVagos;
pawn Код:
TextoDeEscolhaDeTimes = TextDrawCreate(292.000000, 30.000000, "~l~Escolha seu Time clicando no nome dele");
TextDrawAlignment(TextoDeEscolhaDeTimes, 2);
TextDrawBackgroundColor(TextoDeEscolhaDeTimes, -1);
TextDrawFont(TextoDeEscolhaDeTimes, 3);
TextDrawLetterSize(TextoDeEscolhaDeTimes, 0.500000, 1.000000);
TextDrawColor(TextoDeEscolhaDeTimes, -1);
TextDrawSetOutline(TextoDeEscolhaDeTimes, 1);
TextDrawSetProportional(TextoDeEscolhaDeTimes, 1);
TimeAztecas = TextDrawCreate(150.000000, 50.000000, "~l~Varrio~n~Los~n~Aztecas");
TextDrawAlignment(TimeAztecas, 2);
TextDrawBackgroundColor(TimeAztecas, 869072810);
TextDrawFont(TimeAztecas, 3);
TextDrawLetterSize(TimeAztecas, 0.500000, 2.000000);
TextDrawColor(TimeAztecas, -1);
TextDrawSetOutline(TimeAztecas, 1);
TextDrawSetProportional(TimeAztecas, 1);
TimeBallas = TextDrawCreate(300.000000, 60.000000, "~l~The~n~Ballas");
TextDrawAlignment(TimeBallas, 2);
TextDrawBackgroundColor(TimeBallas, -1727987798);
TextDrawFont(TimeBallas, 3);
TextDrawLetterSize(TimeBallas, 0.500000, 2.000000);
TextDrawColor(TimeBallas, -1);
TextDrawSetOutline(TimeBallas, 1);
TextDrawSetProportional(TimeBallas, 1);
TimeBikers = TextDrawCreate(450.000000, 60.000000, "~l~The~n~Bikers");
TextDrawAlignment(TimeBikers, 2);
TextDrawBackgroundColor(TimeBikers, -167771990);
TextDrawFont(TimeBikers, 3);
TextDrawLetterSize(TimeBikers, 0.500000, 2.000000);
TextDrawColor(TimeBikers, -1);
TextDrawSetOutline(TimeBikers, 1);
TextDrawSetProportional(TimeBikers, 1);
TimeGrove = TextDrawCreate(150.000000, 150.000000, "~l~Grove~n~Street~n~Families");
TextDrawAlignment(TimeGrove, 2);
TextDrawBackgroundColor(TimeGrove, 866792362);
TextDrawFont(TimeGrove, 3);
TextDrawLetterSize(TimeGrove, 0.500000, 2.000000);
TextDrawColor(TimeGrove, -1);
TextDrawSetOutline(TimeGrove, 1);
TextDrawSetProportional(TimeGrove, 1);
TimeMafia = TextDrawCreate(300.000000, 150.000000, "~l~The~n~Russian~n~Mafia");
TextDrawAlignment(TimeMafia, 2);
TextDrawBackgroundColor(TimeMafia, -1347440726);
TextDrawFont(TimeMafia, 3);
TextDrawLetterSize(TimeMafia, 0.500000, 2.000000);
TextDrawColor(TimeMafia, -1);
TextDrawSetOutline(TimeMafia, 1);
TextDrawSetProportional(TimeMafia, 1);
TimeNang = TextDrawCreate(450.000000, 150.000000, "~l~Da~n~Nang~n~Boys");
TextDrawAlignment(TimeNang, 2);
TextDrawBackgroundColor(TimeNang, -1);
TextDrawFont(TimeNang, 3);
TextDrawLetterSize(TimeNang, 0.500000, 2.000000);
TextDrawColor(TimeNang, -1);
TextDrawSetOutline(TimeNang, 1);
TextDrawSetProportional(TimeNang, 0);
TimePmls = TextDrawCreate(150.000000, 250.000000, "~l~Policia~n~Militar de~n~Los Santos");
TextDrawAlignment(TimePmls, 2);
TextDrawBackgroundColor(TimePmls, 5046186);
TextDrawFont(TimePmls, 3);
TextDrawLetterSize(TimePmls, 0.500000, 2.000000);
TextDrawColor(TimePmls, -1);
TextDrawSetOutline(TimePmls, 1);
TextDrawSetProportional(TimePmls, 1);
TimeRifa = TextDrawCreate(300.000000, 250.000000, "~l~San~n~Fierro~n~Rifa");
TextDrawAlignment(TimeRifa, 2);
TextDrawBackgroundColor(TimeRifa, -1711276118);
TextDrawFont(TimeRifa, 3);
TextDrawLetterSize(TimeRifa, 0.500000, 2.000000);
TextDrawColor(TimeRifa, -1);
TextDrawSetOutline(TimeRifa, 1);
TextDrawSetProportional(TimeRifa, 1);
TimeTriads = TextDrawCreate(450.000000, 250.000000, "~l~San~n~Fierro~n~Triads");
TextDrawAlignment(TimeTriads, 2);
TextDrawBackgroundColor(TimeTriads, 1650615039);
TextDrawFont(TimeTriads, 3);
TextDrawLetterSize(TimeTriads, 0.500000, 2.000000);
TextDrawColor(TimeTriads, -1);
TextDrawSetOutline(TimeTriads, 1);
TextDrawSetProportional(TimeTriads, 1);
TimeVagos = TextDrawCreate(300.000000, 350.000000, "~l~Los~n~Santos~n~Vagos");
TextDrawAlignment(TimeVagos, 2);
TextDrawBackgroundColor(TimeVagos, -65366);
TextDrawFont(TimeVagos, 3);
TextDrawLetterSize(TimeVagos, 0.500000, 2.000000);
TextDrawColor(TimeVagos, -1);
TextDrawSetOutline(TimeVagos, 1);
TextDrawSetProportional(TimeVagos, 1);
TextDrawSetSelectable(TextoDeEscolhaDeTimes, false);
TextDrawSetSelectable(TimeAztecas, true);
TextDrawSetSelectable(TimeBallas, true);
TextDrawSetSelectable(TimeBikers, true);
TextDrawSetSelectable(TimeGrove, true);
TextDrawSetSelectable(TimeMafia, true);
TextDrawSetSelectable(TimeNang, true);
TextDrawSetSelectable(TimePmls, true);
TextDrawSetSelectable(TimeRifa, true);
TextDrawSetSelectable(TimeTriads, true);
TextDrawSetSelectable(TimeVagos, true);
Re: Seleзгo de Time e Skins atravйs de Text Draws -
zSuYaNw - 09.01.2013
Quote:
Originally Posted by Rysllo
pawn Код:
new Text:TextoDeEscolhaDeTimes, Text:TimeAztecas, Text:TimeBallas, Text:TimeBikers, Text:TimeGrove, Text:TimeMafia, Text:TimeNang, Text:TimePmls, Text:TimeRifa, Text:TimeTriads, Text:TimeVagos;
pawn Код:
TextoDeEscolhaDeTimes = TextDrawCreate(292.000000, 30.000000, "~l~Escolha seu Time clicando no nome dele"); TextDrawAlignment(TextoDeEscolhaDeTimes, 2); TextDrawBackgroundColor(TextoDeEscolhaDeTimes, -1); TextDrawFont(TextoDeEscolhaDeTimes, 3); TextDrawLetterSize(TextoDeEscolhaDeTimes, 0.500000, 1.000000); TextDrawColor(TextoDeEscolhaDeTimes, -1); TextDrawSetOutline(TextoDeEscolhaDeTimes, 1); TextDrawSetProportional(TextoDeEscolhaDeTimes, 1);
TimeAztecas = TextDrawCreate(150.000000, 50.000000, "~l~Varrio~n~Los~n~Aztecas"); TextDrawAlignment(TimeAztecas, 2); TextDrawBackgroundColor(TimeAztecas, 869072810); TextDrawFont(TimeAztecas, 3); TextDrawLetterSize(TimeAztecas, 0.500000, 2.000000); TextDrawColor(TimeAztecas, -1); TextDrawSetOutline(TimeAztecas, 1); TextDrawSetProportional(TimeAztecas, 1);
TimeBallas = TextDrawCreate(300.000000, 60.000000, "~l~The~n~Ballas"); TextDrawAlignment(TimeBallas, 2); TextDrawBackgroundColor(TimeBallas, -1727987798); TextDrawFont(TimeBallas, 3); TextDrawLetterSize(TimeBallas, 0.500000, 2.000000); TextDrawColor(TimeBallas, -1); TextDrawSetOutline(TimeBallas, 1); TextDrawSetProportional(TimeBallas, 1);
TimeBikers = TextDrawCreate(450.000000, 60.000000, "~l~The~n~Bikers"); TextDrawAlignment(TimeBikers, 2); TextDrawBackgroundColor(TimeBikers, -167771990); TextDrawFont(TimeBikers, 3); TextDrawLetterSize(TimeBikers, 0.500000, 2.000000); TextDrawColor(TimeBikers, -1); TextDrawSetOutline(TimeBikers, 1); TextDrawSetProportional(TimeBikers, 1);
TimeGrove = TextDrawCreate(150.000000, 150.000000, "~l~Grove~n~Street~n~Families"); TextDrawAlignment(TimeGrove, 2); TextDrawBackgroundColor(TimeGrove, 866792362); TextDrawFont(TimeGrove, 3); TextDrawLetterSize(TimeGrove, 0.500000, 2.000000); TextDrawColor(TimeGrove, -1); TextDrawSetOutline(TimeGrove, 1); TextDrawSetProportional(TimeGrove, 1);
TimeMafia = TextDrawCreate(300.000000, 150.000000, "~l~The~n~Russian~n~Mafia"); TextDrawAlignment(TimeMafia, 2); TextDrawBackgroundColor(TimeMafia, -1347440726); TextDrawFont(TimeMafia, 3); TextDrawLetterSize(TimeMafia, 0.500000, 2.000000); TextDrawColor(TimeMafia, -1); TextDrawSetOutline(TimeMafia, 1); TextDrawSetProportional(TimeMafia, 1);
TimeNang = TextDrawCreate(450.000000, 150.000000, "~l~Da~n~Nang~n~Boys"); TextDrawAlignment(TimeNang, 2); TextDrawBackgroundColor(TimeNang, -1); TextDrawFont(TimeNang, 3); TextDrawLetterSize(TimeNang, 0.500000, 2.000000); TextDrawColor(TimeNang, -1); TextDrawSetOutline(TimeNang, 1); TextDrawSetProportional(TimeNang, 0);
TimePmls = TextDrawCreate(150.000000, 250.000000, "~l~Policia~n~Militar de~n~Los Santos"); TextDrawAlignment(TimePmls, 2); TextDrawBackgroundColor(TimePmls, 5046186); TextDrawFont(TimePmls, 3); TextDrawLetterSize(TimePmls, 0.500000, 2.000000); TextDrawColor(TimePmls, -1); TextDrawSetOutline(TimePmls, 1); TextDrawSetProportional(TimePmls, 1);
TimeRifa = TextDrawCreate(300.000000, 250.000000, "~l~San~n~Fierro~n~Rifa"); TextDrawAlignment(TimeRifa, 2); TextDrawBackgroundColor(TimeRifa, -1711276118); TextDrawFont(TimeRifa, 3); TextDrawLetterSize(TimeRifa, 0.500000, 2.000000); TextDrawColor(TimeRifa, -1); TextDrawSetOutline(TimeRifa, 1); TextDrawSetProportional(TimeRifa, 1);
TimeTriads = TextDrawCreate(450.000000, 250.000000, "~l~San~n~Fierro~n~Triads"); TextDrawAlignment(TimeTriads, 2); TextDrawBackgroundColor(TimeTriads, 1650615039); TextDrawFont(TimeTriads, 3); TextDrawLetterSize(TimeTriads, 0.500000, 2.000000); TextDrawColor(TimeTriads, -1); TextDrawSetOutline(TimeTriads, 1); TextDrawSetProportional(TimeTriads, 1);
TimeVagos = TextDrawCreate(300.000000, 350.000000, "~l~Los~n~Santos~n~Vagos"); TextDrawAlignment(TimeVagos, 2); TextDrawBackgroundColor(TimeVagos, -65366); TextDrawFont(TimeVagos, 3); TextDrawLetterSize(TimeVagos, 0.500000, 2.000000); TextDrawColor(TimeVagos, -1); TextDrawSetOutline(TimeVagos, 1); TextDrawSetProportional(TimeVagos, 1);
TextDrawSetSelectable(TextoDeEscolhaDeTimes, false); TextDrawSetSelectable(TimeAztecas, true); TextDrawSetSelectable(TimeBallas, true); TextDrawSetSelectable(TimeBikers, true); TextDrawSetSelectable(TimeGrove, true); TextDrawSetSelectable(TimeMafia, true); TextDrawSetSelectable(TimeNang, true); TextDrawSetSelectable(TimePmls, true); TextDrawSetSelectable(TimeRifa, true); TextDrawSetSelectable(TimeTriads, true); TextDrawSetSelectable(TimeVagos, true);
|
Droga, pensei que vocк nгo ia mandar.
#Quando chegar em casa eu posto.