Taykiro Posted April 16, 2012 Report Share Posted April 16, 2012 Salut , nu ma prea stiu la textdraw si as vrea sa ma ajute cineva sa imi spuna cum sa bag astea . Leam gasit pe .com si imi plac [pawn]MyTD = TextDrawCreate(1.000, 1.00,"~n~~n~~n~~n~~n~~n~~n~~n~~n~~n~~n~~n~"); TextDrawUseBox(MyTD , 1); TextDrawFont(MyTD , 1); TextDrawLetterSize(MyTD ,0.3,1); TextDrawSetShadow(MyTD ,1); TextDrawSetOutline(MyTD ,1); TextDrawBackgroundColor(MyTD ,0x00F600AA); TextDrawBoxColor(MyTD ,0x000000cc); TextDrawColor(MyTD ,0x00F600AA); TextDrawTextSize(MyTD , 720.0, 200.0); TextDrawSetProportional(MyTD, 1); TextDrawAlignment(MyTD, 0); //Other Text Draw MyRD = TextDrawCreate(1.000, 300.00,"~n~~n~~n~~n~~n~~n~~n~~n~~n~~n~~n~~n~~n~~n~~n~~n~~n~"); TextDrawUseBox(MyRD , 1); TextDrawFont(MyRD , 3); TextDrawLetterSize(MyRD ,0.3,1); TextDrawSetShadow(MyRD ,1); TextDrawSetOutline(MyRD ,1); TextDrawBackgroundColor(MyRD ,0x000000FF); TextDrawBoxColor(MyRD ,0x000000cc); TextDrawColor(MyRD ,0x000000FF); TextDrawTextSize(MyRD , 720.0, 200.0); TextDrawSetProportional(MyRD, 1); TextDrawAlignment(MyRD, 0); //Text Draw for Ad. Welcome = TextDrawCreate(277.000000, 305.000000, "change me"); text1 = TextDrawCreate(300.000000, 320.000000, "change me"); text2 = TextDrawCreate(240.000000, 335.000000, " change me"); TextDrawAlignment(Welcome, 0); TextDrawAlignment(text1, 0); TextDrawAlignment(text2, 0); TextDrawBackgroundColor(Welcome, 0x00ff0066); TextDrawBackgroundColor(text1, 0xF6F600AA); TextDrawBackgroundColor(text2, 0xF6F600AA); TextDrawFont(Welcome, 3); TextDrawLetterSize(Welcome, 0.599999, 1.600000); TextDrawFont(text1, 3); TextDrawLetterSize(text1, 0.599999, 1.600000); TextDrawFont(text2, 3); TextDrawLetterSize(text2, 0.599999, 1.600000); TextDrawColor(Welcome, 0xAA3333AA); TextDrawColor(text1, 0xAA3333AA); TextDrawColor(text2, 0xAA3333AA); TextDrawSetOutline(Welcome, 1); TextDrawSetOutline(text1, 1); TextDrawSetOutline(text2, 1); TextDrawSetProportional(Welcome, 1); TextDrawSetProportional(text1, 1); TextDrawSetProportional(text2, 1); TextDrawSetShadow(Welcome, 0); TextDrawSetShadow(text1, 0); TextDrawSetShadow(text2, 0); [/pawn] Link to comment Share on other sites More sharing options...
Rimmon Posted April 16, 2012 Report Share Posted April 16, 2012 La OnGameModeInit Massari e curva mea Link to comment Share on other sites More sharing options...
Taykiro Posted April 16, 2012 Author Report Share Posted April 16, 2012 Nu merge , se compileaza bine dar cand intru pe sv e la fel :| Are ceva daca am modificat in loc de text1 si text2 text6 si text7? Link to comment Share on other sites More sharing options...
Armyww Posted April 16, 2012 Report Share Posted April 16, 2012 http://wiki.sa-mp.com/wiki/TextDrawShowForPlayer 8-l Link to comment Share on other sites More sharing options...
Taykiro Posted April 16, 2012 Author Report Share Posted April 16, 2012 http://wiki.sa-mp.com/wiki/TextDrawShowForPlayer 8-lAm facut la toate cu new Text:... dar nu merge trebuie si forward? Link to comment Share on other sites More sharing options...
Punct. Posted April 16, 2012 Report Share Posted April 16, 2012 Ce vrei sa faci cu TD-ul asta?Sa apara la o comanda/sa fie mereu pe ecran...? Nu mai deschideti in pu*a mea servere de SA:MP ! Jucati-va pe cele care sunt ! Sunt suficiente ! Reguli de bun simt: 1. Nu faceti reclama unde nu trebuie ! 2. Nu injurati ca la usa cortului ! 3. Daca esti analfabeti, taci din gura ! 4. Nu abuza de 'scuze', 'din greseala' ! My work ::: http://pastebin.com/VRNRcaAs Link to comment Share on other sites More sharing options...
TzAkS Posted April 16, 2012 Report Share Posted April 16, 2012 Pui unde vreo tu sa apara..cand se conecteaza playerul sau din comanda..Pui [pawn]TextDrawShowForPlayer(playerid,MyTD);TextDrawShowForPlayer(playerid,MyRD);TextDrawShowForPlayer(playerid,Welcome);[/pawn] Link to comment Share on other sites More sharing options...
Taykiro Posted April 16, 2012 Author Report Share Posted April 16, 2012 Ce vrei sa faci cu TD-ul asta?Sa apara la o comanda/sa fie mereu pe ecran...?Numa la inceput . Am reusit [move]Multumesc la toti.[/move] Link to comment Share on other sites More sharing options...
Question
Taykiro
Salut , nu ma prea stiu la textdraw si as vrea sa ma ajute cineva sa imi spuna cum sa bag astea . Leam gasit pe .com si imi plac
[pawn]MyTD = TextDrawCreate(1.000, 1.00,"~n~~n~~n~~n~~n~~n~~n~~n~~n~~n~~n~~n~");
TextDrawUseBox(MyTD , 1);
TextDrawFont(MyTD , 1);
TextDrawLetterSize(MyTD ,0.3,1);
TextDrawSetShadow(MyTD ,1);
TextDrawSetOutline(MyTD ,1);
TextDrawBackgroundColor(MyTD ,0x00F600AA);
TextDrawBoxColor(MyTD ,0x000000cc);
TextDrawColor(MyTD ,0x00F600AA);
TextDrawTextSize(MyTD , 720.0, 200.0);
TextDrawSetProportional(MyTD, 1);
TextDrawAlignment(MyTD, 0);
//Other Text Draw
MyRD = TextDrawCreate(1.000, 300.00,"~n~~n~~n~~n~~n~~n~~n~~n~~n~~n~~n~~n~~n~~n~~n~~n~~n~");
TextDrawUseBox(MyRD , 1);
TextDrawFont(MyRD , 3);
TextDrawLetterSize(MyRD ,0.3,1);
TextDrawSetShadow(MyRD ,1);
TextDrawSetOutline(MyRD ,1);
TextDrawBackgroundColor(MyRD ,0x000000FF);
TextDrawBoxColor(MyRD ,0x000000cc);
TextDrawColor(MyRD ,0x000000FF);
TextDrawTextSize(MyRD , 720.0, 200.0);
TextDrawSetProportional(MyRD, 1);
TextDrawAlignment(MyRD, 0);
//Text Draw for Ad.
Welcome = TextDrawCreate(277.000000, 305.000000, "change me");
text1 = TextDrawCreate(300.000000, 320.000000, "change me");
text2 = TextDrawCreate(240.000000, 335.000000, " change me");
TextDrawAlignment(Welcome, 0);
TextDrawAlignment(text1, 0);
TextDrawAlignment(text2, 0);
TextDrawBackgroundColor(Welcome, 0x00ff0066);
TextDrawBackgroundColor(text1, 0xF6F600AA);
TextDrawBackgroundColor(text2, 0xF6F600AA);
TextDrawFont(Welcome, 3);
TextDrawLetterSize(Welcome, 0.599999, 1.600000);
TextDrawFont(text1, 3);
TextDrawLetterSize(text1, 0.599999, 1.600000);
TextDrawFont(text2, 3);
TextDrawLetterSize(text2, 0.599999, 1.600000);
TextDrawColor(Welcome, 0xAA3333AA);
TextDrawColor(text1, 0xAA3333AA);
TextDrawColor(text2, 0xAA3333AA);
TextDrawSetOutline(Welcome, 1);
TextDrawSetOutline(text1, 1);
TextDrawSetOutline(text2, 1);
TextDrawSetProportional(Welcome, 1);
TextDrawSetProportional(text1, 1);
TextDrawSetProportional(text2, 1);
TextDrawSetShadow(Welcome, 0);
TextDrawSetShadow(text1, 0);
TextDrawSetShadow(text2, 0); [/pawn]
Link to comment
Share on other sites
7 answers to this question
Recommended Posts