Balkan SA:MP

PAWN skriptanje, gamemodovi, filterskripte, include fajlovi, mape, pluginovi => Razgovor u vezi PAWN - skriptanja => Temu započeo: Ciger poslato Avgust 25, 2020, 09:47:47 PRE PODNE

Naslov: TextDraw se ne prekizuje
Poruka od: Ciger poslato Avgust 25, 2020, 09:47:47 PRE PODNE
Problem(error/warning): Jednostavno nece da se prikaze, ne znam u cemu je problem
Deo skripte: Pokusao sam ovako, to sam satavljao pod onplayerconect
[pawn]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);[/pawn]
Pokusao i ovako
[pawn]    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);[/pawn]
, pod onplayerspawn sam ga prikazivao [pawn]    TextDrawShowForPlayer(playerid, LogoTD1);
    TextDrawShowForPlayer(playerid, LogoTD2);[/pawn] 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
Naslov: Odg: TextDraw se ne prekizuje
Poruka od: V01D poslato Avgust 25, 2020, 10:38:33 PRE PODNE
Probaj napravi kao komandu i onda kada ukucas da prikaze tdove
Naslov: Odg: TextDraw se ne prekizuje
Poruka od: Ciger poslato Avgust 25, 2020, 10:49:39 PRE PODNE
Probao, isto nista
Naslov: Odg: TextDraw se ne prekizuje
Poruka od: Contixo poslato Avgust 25, 2020, 10:58:02 PRE PODNE
https://wiki.sa-mp.com/wiki/PlayerTextDrawShow jer je player textdraw

PlayerTextDrawShow (playerid, LogoTD1[playerid]);
Naslov: Odg: TextDraw se ne prekizuje
Poruka od: Ciger poslato Avgust 25, 2020, 11:35:39 PRE PODNE
reseno, hvala