Dio skripte:
Ovo je za klik
if(playertextid == StatsTD)
{
if(UlogovanProvera == 0) return SCM(playerid,-1,"UP:RP | "CRVENA"Moras se ulogovati da bi koristio ovu
komandu!");
if(IsPlayerInAnyVehicle(playerid)) return SCM(playerid, -1, "UP:RP | "CRVENA"Ne mozete gledati stats dok ste u vozilu!");
KreirajStats(playerid);
return 1;
}
Evo i td
StatsTD = CreatePlayerTextDraw(playerid, 528.761779, 435.626617, "STATS");
PlayerTextDrawTextSize(playerid, StatsTD, 5.165428, 5.691200);
PlayerTextDrawLetterSize(playerid, StatsTD, 0.165428, 0.691200);
PlayerTextDrawAlignment(playerid, StatsTD, 1);
PlayerTextDrawColor(playerid, StatsTD, -862387969);
PlayerTextDrawSetShadow(playerid, StatsTD, 0);
PlayerTextDrawSetOutline(playerid, StatsTD, 1);
PlayerTextDrawBackgroundColor(playerid, StatsTD, 51);
PlayerTextDrawFont(playerid, StatsTD, 2);
PlayerTextDrawSetProportional(playerid, StatsTD, 1);
PlayerTextDrawSetSelectable(playerid, StatsTD, true);Debug iz server_log(ukoliko je u pitanju crashanje servera - crashdetect log): //
Slika/video ingame problema(obavezno ako je ingame problem): https://imgur.com/a/lAT99u0
