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;
}
Pokazivanje nick-a u textdrawu
421
pregleda
3
postova
21. Apr. 2020.
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);
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