Szerző Téma: Magyar Zászló Textdraw\'s  (Megtekintve 1825 alkalommal)

Magyar Zászló Textdraw\'s
« Dátum: 2012. Április 24. - 18:09:00 »
+2
Üdv!

Csináltam unalmamban egy magyar zászló textdraw-ot.


Ezt igazából a kezdõknek ajánlanám megnézni.


Nos íme egy kép róla:

\"sa-mp-039_www.kepfeltoltes.hu_.png\"
 
#include <a_samp>
new Text:Textdraw0;
new Text:Textdraw1;
new Text:Textdraw2;
new Text:Textdraw3;
new Text:Textdraw4;
new Text:Textdraw5;
 
public OnFilterScriptInit()
{
   
    Textdraw0 = TextDrawCreate(612.000000, 10.000000, \".\");
    TextDrawBackgroundColor(Textdraw0, 255);
    TextDrawFont(Textdraw0, 1);
    TextDrawLetterSize(Textdraw0, 0.000000, 1.000000);
    TextDrawColor(Textdraw0, -1);
    TextDrawSetOutline(Textdraw0, 0);
    TextDrawSetProportional(Textdraw0, 1);
    TextDrawSetShadow(Textdraw0, 1);
    TextDrawUseBox(Textdraw0, 1);
    TextDrawBoxColor(Textdraw0, -16776961);
    TextDrawTextSize(Textdraw0, 550.000000, 0.000000);
 
    Textdraw1 = TextDrawCreate(612.000000, 25.000000, \".\");
    TextDrawBackgroundColor(Textdraw1, 255);
    TextDrawFont(Textdraw1, 1);
    TextDrawLetterSize(Textdraw1, 0.000000, 1.000000);
    TextDrawColor(Textdraw1, -1);
    TextDrawSetOutline(Textdraw1, 0);
    TextDrawSetProportional(Textdraw1, 1);
    TextDrawSetShadow(Textdraw1, 1);
    TextDrawUseBox(Textdraw1, 1);
    TextDrawBoxColor(Textdraw1, -1);
    TextDrawTextSize(Textdraw1, 550.000000, 0.000000);
 
    Textdraw2 = TextDrawCreate(612.000000, 40.000000, \".\");
    TextDrawBackgroundColor(Textdraw2, 255);
    TextDrawFont(Textdraw2, 1);
    TextDrawLetterSize(Textdraw2, 0.000000, 1.000000);
    TextDrawColor(Textdraw2, -1);
    TextDrawSetOutline(Textdraw2, 0);
    TextDrawSetProportional(Textdraw2, 1);
    TextDrawSetShadow(Textdraw2, 1);
    TextDrawUseBox(Textdraw2, 1);
    TextDrawBoxColor(Textdraw2, 16711935);
    TextDrawTextSize(Textdraw2, 550.000000, 0.000000);
 
    Textdraw3 = TextDrawCreate(561.000000, 9.000000, \"Piros\");
    TextDrawBackgroundColor(Textdraw3, 255);
    TextDrawFont(Textdraw3, 1);
    TextDrawLetterSize(Textdraw3, 0.500000, 1.000000);
    TextDrawColor(Textdraw3, -16776961);
    TextDrawSetOutline(Textdraw3, 1);
    TextDrawSetProportional(Textdraw3, 1);
 
    Textdraw4 = TextDrawCreate(557.000000, 24.000000, \"Feher\");
    TextDrawBackgroundColor(Textdraw4, 255);
    TextDrawFont(Textdraw4, 1);
    TextDrawLetterSize(Textdraw4, 0.500000, 1.000000);
    TextDrawColor(Textdraw4, -1);
    TextDrawSetOutline(Textdraw4, 1);
    TextDrawSetProportional(Textdraw4, 1);
 
    Textdraw5 = TextDrawCreate(562.000000, 40.000000, \"Zold\");
    TextDrawBackgroundColor(Textdraw5, 255);
    TextDrawFont(Textdraw5, 1);
    TextDrawLetterSize(Textdraw5, 0.500000, 1.000000);
    TextDrawColor(Textdraw5, 16711935);
    TextDrawSetOutline(Textdraw5, 1);
    TextDrawSetProportional(Textdraw5, 1);
 
    for(new i; i < MAX_PLAYERS; i ++)
    {
        if(IsPlayerConnected(i))
        {
            TextDrawShowForPlayer(i, Textdraw0);
            TextDrawShowForPlayer(i, Textdraw1);
            TextDrawShowForPlayer(i, Textdraw2);
            TextDrawShowForPlayer(i, Textdraw3);
            TextDrawShowForPlayer(i, Textdraw4);
            TextDrawShowForPlayer(i, Textdraw5);
        }
    }
    return 1;
}
 
public OnFilterScriptExit()
{
    TextDrawHideForAll(Textdraw0);
    TextDrawDestroy(Textdraw0);
    TextDrawHideForAll(Textdraw1);
    TextDrawDestroy(Textdraw1);
    TextDrawHideForAll(Textdraw2);
    TextDrawDestroy(Textdraw2);
    TextDrawHideForAll(Textdraw3);
    TextDrawDestroy(Textdraw3);
    TextDrawHideForAll(Textdraw4);
    TextDrawDestroy(Textdraw4);
    TextDrawHideForAll(Textdraw5);
    TextDrawDestroy(Textdraw5);
    return 1;
}
 
public OnPlayerConnect(playerid)
{
    TextDrawShowForPlayer(playerid, Textdraw0);
    TextDrawShowForPlayer(playerid, Textdraw1);
    TextDrawShowForPlayer(playerid, Textdraw2);
    TextDrawShowForPlayer(playerid, Textdraw3);
    TextDrawShowForPlayer(playerid, Textdraw4);
    TextDrawShowForPlayer(playerid, Textdraw5);
    return 1;
}

 
Használjátok egészséggel!

Nem elérhető Rexii

  • 471
    • Profil megtekintése
Magyar Zászló Textdraw\'s
« Válasz #1 Dátum: 2012. Április 24. - 18:14:31 »
0
Nem rossz!

Magyar Zászló Textdraw\'s
« Válasz #2 Dátum: 2012. Április 24. - 18:15:23 »
0
Kösz!

[PlayZone]Rulexface

  • Vendég
Magyar Zászló Textdraw\'s
« Válasz #3 Dátum: 2012. Április 24. - 18:18:54 »
0
Másodjára kaplak lopáson nem szégyeled magad? Uramatyám ilyen elvetemült embereket elõbb a bemutatkozásod copyzod le most meg ezt..
ASD:AS:ASDD:D:a:SA:SDDASD:AS:ASDD:D:a:SA:SDDASD:AS:ASDD:D:a:SA:SDD
http://gtaforum.hu/index.php/topic,10842.0.html

Magyar Zászló Textdraw\'s
« Válasz #4 Dátum: 2012. Április 24. - 18:35:03 »
0
Hát ezt magamtól irtam de m1

Magyar Zászló Textdraw\'s
« Válasz #5 Dátum: 2012. Április 24. - 18:40:04 »
+1
Lol, érdekes hogy magadtól írtad, a töltények száma is egyezik, meg persze a pénzé is... Gratulálok.

[PlayZone]Rulexface

  • Vendég
Magyar Zászló Textdraw\'s
« Válasz #6 Dátum: 2012. Április 24. - 18:56:37 »
0
Idézetet írta: Neoflyythe date=1335285303\" data-ipsquote-contentapp=\"forums\" data-ipsquote-contenttype=\"forums\" data-ipsquote-contentid=\"20595\" data-ipsquote-contentclass=\"forums_Topic
Hát ezt magamtól irtam de m1
 
Mint ahogy azt a játékmódot is ami fentvan a gtaforumon be is linkeltem neked a témába plusz a bemutatkozásod is. Grat!

Magyar Zászló Textdraw\'s
« Válasz #7 Dátum: 2012. Április 24. - 19:37:59 »
0
Ezse a tied, már pár hete láttam 1 fun szeron..

Nem elérhető DrAkE

  • 2078
    • Profil megtekintése
Magyar Zászló Textdraw\'s
« Válasz #8 Dátum: 2012. Április 24. - 19:45:44 »
0
Fhúú geci, már megizzasztod ChuckNorrist, annyit lopsz.
Zárok!

Magyar Zászló Textdraw\'s
« Válasz #9 Dátum: 2012. Április 24. - 19:46:03 »
+1
A témanyitó ki lett tiltva.

 

SimplePortal 2.3.7 © 2008-2024, SimplePortal