[POMOC]prebacivanje teksta

Započeo Ole
4. Sep. 2016. Zaključano
305
pregleda
5
postova
OleSon
4
Shot Caller
4. Sep. 2016.
Skripta koju koristim:moja
Detaljan opis problema:eh, napravio sam textdraw tekst za box i sad me zanima kako kad tekst dodje do kraja ekrana znaci da nemoze ici dalje(ali kod mene trenuno moze), da se prebaci u novi red ispod? Nadam se da ste me ukapirali 😄
Dio skripte:
stock SendXMessage(playerid, const text[])
{
    for(new line; line < 15; line++)
    {
        TextDrawShowForPlayer(playerid, XMsg);//show the lines
    }
    for(new line; line < 15; line++)
    {
        TextDrawHideForAll(XMsg);//hide the line
        if(line < 14)
        {
            XMsgStr = XMsgStr[line+1];//Message going up ^
            TextDrawSetString(XMsg, XMsgStr);
        }
    }
    format(XMsgStr, 128, "%s",text);//Message !
    TextDrawSetString(XMsg, XMsgStr);//Start fron Line 9
    for(new line; line < 15; line++) // goes up
    {
        TextDrawShowForAll(XMsg);//TextDraw show for player
    }
    return 1;
}

Neke slike/video za lakse dobivanje pomoci(neobavezno):imate stock ako jos nesto treba recite evo i slika problema http://prntscr.com/ce1xcd
Rax_King
5
Godfather
4. Sep. 2016.
if (strlen(textdraw string) > 30) strins("~n~", textdraw string, 30); //ako je string veci od 30 stavice na plolje 30 string "~n~"
OleSon
4
Shot Caller
4. Sep. 2016.
☢ χυηdєя_SkillArena ☢ wrote on September 4, 2016, 4:54 pm:
if (strlen(textdraw string) > 30) strins("~n~", textdraw string, 30); //ako je string veci od 30 stavice na plolje 30 string "~n~"
oprosti, gdje da dodam to ?
Rax_King
5
Godfather
4. Sep. 2016.
Gdje hoces da ti se string razdvaja?
OleSon
4
Shot Caller
4. Sep. 2016.
jel moram dati koordinate ili? ovo na slici je u donjem desnom uglu

Morate biti prijavljeni da biste odgovorili na ovu temu.

Prijava

© 2026 SmartShark. All rights reserved.

Powered by Momentum|v2026.3.001 Alpha