TextDraw se ne prekizuje


Započeo Ciger, Avgust 25, 2020, 09:47:47 PRE PODNE

prethodna tema - sledeća tema

0 članova i 1 gost pregledaju ovu temu.

Problem(error/warning): Jednostavno nece da se prikaze, ne znam u cemu je problem
Deo skripte: Pokusao sam ovako, to sam satavljao pod onplayerconect
LogoTD1[playerid] = CreatePlayerTextDraw(playerid, 617.000000, 4.000000, "v0.1");
    PlayerTextDrawBackgroundColor(playerid, LogoTD1[playerid], 255);
    PlayerTextDrawFont(playerid, LogoTD1[playerid], 2);
    PlayerTextDrawLetterSize(playerid, LogoTD1[playerid], 0.200000, 1.000000);
    PlayerTextDrawColor(playerid, LogoTD1[playerid], -16776961);
    PlayerTextDrawSetOutline(playerid, LogoTD1[playerid], 0);
    PlayerTextDrawSetProportional(playerid, LogoTD1[playerid], 1);
    PlayerTextDrawSetShadow(playerid, LogoTD1[playerid], 1);

    LogoTD2[playerid] = CreatePlayerTextDraw(playerid, 500.000000, 9.000000, "United Games");
    PlayerTextDrawBackgroundColor(playerid, LogoTD2[playerid], 255);
    PlayerTextDrawFont(playerid, LogoTD2[playerid], 2);
    PlayerTextDrawLetterSize(playerid, LogoTD2[playerid], 0.360000, 1.700000);
    PlayerTextDrawColor(playerid, LogoTD2[playerid], -1);
    PlayerTextDrawSetOutline(playerid, LogoTD2[playerid], 0);
    PlayerTextDrawSetProportional(playerid, LogoTD2[playerid], 1);
    PlayerTextDrawSetShadow(playerid, LogoTD2[playerid], 1);

Pokusao i ovako
    LogoTD1 = TextDrawCreate(617.000000, 4.000000, "v0.1");
    TextDrawBackgroundColor(LogoTD1, 255);
    TextDrawFont(LogoTD1, 2);
    TextDrawLetterSize(LogoTD1, 0.200000, 1.000000);
    TextDrawColor(LogoTD1, -16776961);
    TextDrawSetOutline(LogoTD1, 0);
    TextDrawSetProportional(LogoTD1, 1);
    TextDrawSetShadow(LogoTD1, 1);

    LogoTD2 = TextDrawCreate(500.000000, 9.000000, "United Games");
    TextDrawBackgroundColor(LogoTD2, 255);
    TextDrawFont(LogoTD2, 2);
    TextDrawLetterSize(LogoTD2, 0.360000, 1.700000);
    TextDrawColor(LogoTD2, -1);
    TextDrawSetOutline(LogoTD2, 0);
    TextDrawSetProportional(LogoTD2, 1);
    TextDrawSetShadow(LogoTD2, 1);

, pod onplayerspawn sam ga prikazivao
    TextDrawShowForPlayer(playerid, LogoTD1);
    TextDrawShowForPlayer(playerid, LogoTD2);
i jednostavno se ne prikazuje ne znam stvarno pa, cak sam pravio i filterscriptu pa tako da ga prikaze ali nece
Debug iz server_log(ukoliko je u pitanju crashanje servera - crashdetect log):
Vaš odgovor
Poslednja Izmena: Avgust 25, 2020, 20:46:33 POSLE PODNE od Švabо

Probaj napravi kao komandu i onda kada ukucas da prikaze tdove


https://wiki.sa-mp.com/wiki/PlayerTextDrawShow jer je player textdraw

PlayerTextDrawShow (playerid, LogoTD1[playerid]);