Pokazivanje nick-a u textdrawu

Započeo Miki Speed
21. Apr. 2020. Zaključano
421
pregleda
3
postova
Miki Pawno
4
Shot Caller
21. Apr. 2020.
Problem(error/warning): nema errora waringa samo nece da se pojavi nick u textdrawu
Dio skripte: [ pawn ]Crazy School[ /pawn ]
Debug iz server_log(ukoliko je u pitanju crashanje servera - crashdetect log): [ code ]vaš odgovor[ /code ]
Slika/video ingame problema(obavezno ako je ingame problem): link slike

Nick = CreatePlayerTextDraw(playerid, 405.256195, 431.500091, "ITZ.YANSI42O");
PlayerTextDrawLetterSize(playerid, Nick, 0.169018, 1.034165);
PlayerTextDrawAlignment(playerid, Nick, 1);
PlayerTextDrawColor(playerid, Nick, -1);
PlayerTextDrawSetShadow(playerid, Nick, 0);
PlayerTextDrawSetOutline(playerid, Nick, 0);
PlayerTextDrawBackgroundColor(playerid, Nick, 255);
PlayerTextDrawFont(playerid, Nick, 2);
PlayerTextDrawSetProportional(playerid, Nick, 1);
PlayerTextDrawSetShadow(playerid, Nick, 0);

forward NickIgraca(playerid);
public NickIgraca(playerid)
{
    new NickIgraca, name;
    GetPlayerName(playerid, name, MAX_PLAYER_NAME);
    format(NickIgraca, sizeof(NickIgraca), "%s", name);
    PlayerTextDrawSetString(playerid, Nick, NickIgraca);
    PlayerTextDrawShow(playerid, Nick);
    return 1;
}
Balsa.
5
Crime Lord
21. Apr. 2020.
Da li si nedje stavio NickIgraca(playerid); ?
Gaucho69
5
Crime Lord
21. Apr. 2020.
  Nick = CreatePlayerTextDraw(playerid, 405.256195, 431.500091, "ITZ.YANSI42O");
  PlayerTextDrawLetterSize(playerid, Nick, 0.169018, 1.034165);
  PlayerTextDrawAlignment(playerid, Nick, 1);
  PlayerTextDrawColor(playerid, Nick, -1);
  PlayerTextDrawSetShadow(playerid, Nick, 0);
  PlayerTextDrawSetOutline(playerid, Nick, 0);
  PlayerTextDrawBackgroundColor(playerid, Nick, 255);
  PlayerTextDrawFont(playerid, Nick, 2);
  PlayerTextDrawSetProportional(playerid, Nick, 1);
  PlayerTextDrawSetShadow(playerid, Nick, 0);

Koi ce ti k forward samo pod onplayerspawn dodaj ovo

        new name;
GetPlayerName(playerid, name, sizeof(name));
PlayerTextDrawSetString(playerid, Nick, name);
        PlayerTextDrawShow(playerid, Nick);

Morate biti prijavljeni da biste odgovorili na ovu temu.

Prijava

© 2026 SmartShark. All rights reserved.

Powered by Momentum|v2026.3.001 Alpha