Jáá 26 Odesláno: 21. Srpen, 2012 Share Odesláno: 21. Srpen, 2012 #include // potrebné #define MESSAGE_TIME 60000 // 3600000 je to vlastne čas kedy sa správa zobrazi.. 60 sekund = 1 minuta 60 * 1000 = 60000 ms = 1 minuta new Text:vastext123; //definace pre textdraw new ServerMessage[1][] = { "Sem text !!." }; //to vlastne ta samotná správa .. forward ShowMessage(); forward HideMessage(); // aby sa to ukázalo.. public OnFilterScriptInit() { SetTimer("ShowMessage", MESSAGE_TIME, true); return 1; } // ak máte Mod tak zmente na OnGameModeInit public ShowMessage() { new RandomMessage = random(sizeof(ServerMessage)); vastext123 = TextDrawCreate(10.0, 100.0, ServerMessage[RandomMessage]); TextDrawFont(vastext123, 2); TextDrawColor(vastext123, 0x85D0FFAA); TextDrawSetOutline(vastext123, 1); TextDrawAlignment(vastext123, 1); TextDrawShowForAll(vastext123); SetTimer("HideMessage", 3000, false); } // deláme vlastne to cez text draw takze definace aby to fungovalo.. public HideMessage() { TextDrawHideForAll(vastext123); } // Skritie textdrawu pre vsetkych.. Cez textdraw nieje vela možností ako to spravit .Dúfam že sa vam ten môj bude hodit.. Nezaručujem že to je bez chyby! Ak vam to nepôjde chyby alebo vylepšenia píšte do komentov Niečo je aj zo samp fora.. Link to comment Share on other sites More sharing options...
paveldaa 0 Odesláno: 21. Srpen, 2012 Share Odesláno: 21. Srpen, 2012 vypadá to pěkně ,mohl bys přihodit screeny ,9,5/10 Link to comment Share on other sites More sharing options...
Petr 44 Odesláno: 21. Srpen, 2012 Share Odesláno: 21. Srpen, 2012 vypadá to pěkně ,mohl bys přihodit screeny ,9,5/10 Screeny? Link to comment Share on other sites More sharing options...
Jáá 26 Odesláno: 21. Srpen, 2012 Author Share Odesláno: 21. Srpen, 2012 už je fotím cekejte Link to comment Share on other sites More sharing options...
MartinHavo 14 Odesláno: 21. Srpen, 2012 Share Odesláno: 21. Srpen, 2012 Slo by to lepsie spravit ale aj tak je to dobre ked si novacik, aspon si myslim ze si novacik Link to comment Share on other sites More sharing options...
Jáá 26 Odesláno: 21. Srpen, 2012 Author Share Odesláno: 21. Srpen, 2012 Súradnice toho textdrawu som dal niekde inde než som chcel prosiim mohol by mi niekto pomoct a napisat sem suradnice do Dolného pravého rohu? Link to comment Share on other sites More sharing options...
Majitel ffredyk 168 Odesláno: 21. Srpen, 2012 Majitel Share Odesláno: 21. Srpen, 2012 640X 480Y Link to comment Share on other sites More sharing options...
Jáá 26 Odesláno: 21. Srpen, 2012 Author Share Odesláno: 21. Srpen, 2012 tak dal som to do horného pravého rohu Screeny pridané Link to comment Share on other sites More sharing options...
Sparko 0 Odesláno: 22. Srpen, 2012 Share Odesláno: 22. Srpen, 2012 Pekné 8/10 Link to comment Share on other sites More sharing options...
Administrátor Lucifer Morningstar 86 Odesláno: 22. Srpen, 2012 Administrátor Share Odesláno: 22. Srpen, 2012 Pekný Návod 9/10 . Link to comment Share on other sites More sharing options...
TheRohlikar 21 Odesláno: 22. Srpen, 2012 Share Odesláno: 22. Srpen, 2012 Je to pěkné - 8/10 PS: Ale toto : [NAVOD] Random Message cez Textdraw .. Jestli ej tohle návod, tak já jsem ježíš Link to comment Share on other sites More sharing options...
AK47 2 Odesláno: 22. Srpen, 2012 Share Odesláno: 22. Srpen, 2012 Dobré 9/10 ale nedá se to dát i na jiný místo? Link to comment Share on other sites More sharing options...
TheRohlikar 21 Odesláno: 22. Srpen, 2012 Share Odesláno: 22. Srpen, 2012 Pokud umíš udělat TD, tak si to tam dáš sám Link to comment Share on other sites More sharing options...
Guest Odesláno: 22. Srpen, 2012 Share Odesláno: 22. Srpen, 2012 new ServerMessage[1][] = { "Sem text !!." }; //to vlastne ta samotná správa .. blbost, sem můžeš přidat jen 1 zprávu Link to comment Share on other sites More sharing options...
Majitel ffredyk 168 Odesláno: 22. Srpen, 2012 Majitel Share Odesláno: 22. Srpen, 2012 new ServerMessage[1][] = { "Sem text !!." }; //to vlastne ta samotná správa .. blbost, sem můžeš přidat jen 1 zprávu new ServerMessage[][] = { "Jupíí :-)" }; //teď už by jich mělo jít mraky :-) Link to comment Share on other sites More sharing options...
Guest Odesláno: 22. Srpen, 2012 Share Odesláno: 22. Srpen, 2012 new ServerMessage[1][] = { "Sem text !!." }; //to vlastne ta samotná správa .. blbost, sem můžeš přidat jen 1 zprávu new ServerMessage[][] = { "Jupíí :-)" }; //teď už by jich mělo jít mraky :-) Já vím, já to chtěl hlavně po autorovi Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now