Szerző Téma: Változó textdraw  (Megtekintve 2481 alkalommal)

Nem elérhető Mokus

  • 608
    • Profil megtekintése
Változó textdraw
« Dátum: 2012. Október 18. - 15:10:42 »
+1 Show voters
Sziasztok.Keresgéltem a textdraw frissitésrõl és rá találtam erre a scriptre nem én készitettem használjátok egészséggel
http://sampforum.hu/index.php?topic=20624.5 <- valószínûleg innen származik
Készitõ:
 
   
    #include <a_samp>
    #include <zcmd>
     
     
    #define FILTERSCRIPT
    #define green 0x33AA33AA
     
    forward Changecmds();
    forward ChangeTextcmds (text[]);
    new Text:Textcmds;
    new TextcmdsCount = 0;
     
    #define gamemodecount 11
    #define ms 5000
    #define websitecount 11
    #define ms 5000
    #define cmdscount 11
    #define ms 5000
     
     
    public OnFilterScriptInit()
    {
       print(\"\\n--------------------------------------\");
       print(\"Váltakozó textdraw betöltve by NiKe\");
       print(\"--------------------------------------\\n\");
     
       Textcmds = TextDrawCreate(4.000000, 324.000000, \"/help\");
       TextDrawBackgroundColor(Textcmds, -16776961);
       TextDrawFont(Textcmds, 0);
       TextDrawLetterSize(Textcmds, 0.509999, 1.499999);
       TextDrawColor(Textcmds, 255);
       TextDrawSetOutline(Textcmds, 1);
       TextDrawSetProportional(Textcmds, 1);
     
     
       SetTimer(\"Changecmds\",ms,5000);
       return 1;
    }
     
    public OnFilterScriptExit()
    {
       TextDrawDestroy(Textcmds);
       return 1;
    }
     
    public OnPlayerConnect(playerid)
    {
       SendClientMessage(playerid, green,\"A parancsok,fontosabb dolgok térkép fölött!\");
       return 1;
    }
     
    public OnPlayerDisconnect(playerid, reason)
    {
       TextDrawHideForPlayer(playerid, Textcmds);
       return 1;
    }
    public ChangeTextcmds(text[])
    {
       TextDrawHideForAll(Textcmds);
       TextDrawSetString(Textcmds,text);
       TextDrawShowForAll(Textcmds);
       return 1;
    }
    public Changecmds()
    {
        if(TextcmdsCount > cmdscount) TextcmdsCount = 0;
        switch(TextcmdsCount)
       {
           case 0:
           {
             ChangeTextcmds(\"/help\");  // Ezeket átirhatod de csak ami kékkel van!!itt a /help
           }
           case 1:
           {
             ChangeTextcmds(\"/rescue\");
            }
            case 2:
           {
             ChangeTextcmds(\"/cmds\");
            }
            case 3:
           {
             ChangeTextcmds(\"/gohome\");
            }
            case 4:
           {
             ChangeTextcmds(\"/convoy\");
            }
            case 5:
           {
             ChangeTextcmds(\"Face:Kaminozz es Fuvarozz\");
            }
            case 6:
           {
             ChangeTextcmds(\"/work\");
            }
            case 7:
           {
             ChangeTextcmds(\"Admin tgf:OFF\");
            }
            case 8:
           {
              ChangeTextcmds(\"Ha barmi problemad van szolj egy adminnak\");
            }
            case 9:
           {
              ChangeTextcmds(\"Tulaj:NiKe,WRx,Foadmin:Volvo\");
            }
            case 10:
           {
              ChangeTextcmds(\"/givecash\");
            }
            case 11:
           {
              ChangeTextcmds(\"/getcar\");
            }
            case 12:
           {
              ChangeTextcmds(\"/gobus\");
            }
            case 13:
           {
              ChangeTextcmds(\"/assist\");
            }
            case 14:
           {
              ChangeTextcmds(\"convoykick\");
            }
     
            case 15:
           {
             ChangeTextcmds(\"/munkavege\"); // Folytathatod tovább ugy ahogy itt láthatod
            }
           }
        TextcmdsCount++;
    }
   

 
   
« Utoljára szerkesztve: 2012. Október 18. - 15:51:09 írta ChuckNorris »

Nem elérhető instant

  • 2778
  • ZzzzzZ
    • Profil megtekintése
Változó textdraw
« Válasz #1 Dátum: 2012. Október 18. - 15:16:11 »
0 Show voters
ez nem nike scriptje sztem. mert ezt már én is felhasználtam.. angol forumos csak nem tom a linkjét készítõjét

Nem elérhető Flash

  • 5726
  • (っ◕‿◕)っ
    • Profil megtekintése
Változó textdraw
« Válasz #2 Dátum: 2012. Október 18. - 15:20:56 »
0 Show voters
Én is használtam ezt még régen, de szerintem nem kell ide változó td script se afk, se ezek a könnyû szarok, mert ebbõl nagyon semmit se lehet tanulni.

Változó textdraw
« Válasz #3 Dátum: 2012. Október 18. - 15:35:07 »
0 Show voters
Nekem ezt irja mikor rá megyek a linkre:Sajnáljuk Vendég, te ki lettél tiltva a fórumról!
Ezért kár volt regisztrálni. Üdv, DaVe
A tiltás nem fog lejárni.
xDDD

Változó textdraw
« Válasz #4 Dátum: 2012. Október 18. - 15:52:24 »
0 Show voters
Nem kell eredeti meg ilyesmi link, az a csávó lopta, belinkeltem felülre a legkorábbi verziót amit találtam, eredetileg is innen van.

Nem elérhető Mokus

  • 608
    • Profil megtekintése
Változó textdraw
« Válasz #5 Dátum: 2012. Október 18. - 16:46:47 »
0 Show voters
Köszönöm Chuck Norris hogy meg kerested az eredetit

Nem elérhető Beckham

  • 1693
  • Noresz
  • Discord: Noresz#4265
    • Profil megtekintése
    • OctansV Alt:v szervere
Változó textdraw
« Válasz #6 Dátum: 2012. Október 20. - 22:47:32 »
0 Show voters
Ez a textdraw hol helyezkedik el?a pénz alatt? vagy hol?

Változó textdraw
« Válasz #7 Dátum: 2012. Október 20. - 22:57:24 »
0 Show voters
SendClientMessage(playerid, green,\"A parancsok,fontosabb dolgok térkép fölött!\");[/quote]Ez nem mond valamit?

Nem elérhető Cappsy

  • Adminisztrátor
  • 2754
    • Profil megtekintése
Változó textdraw
« Válasz #8 Dátum: 2012. Október 21. - 10:32:01 »
0 Show voters
Szép  :yes:
Bár rpg szerverre hova használjam fel? XD

 

SimplePortal 2.3.7 © 2008-2024, SimplePortal