Dio skripte:
task Banka_Update()
{
foreach(new playerid : Player)
{
if(LGInfo == 0)
{
new strall;
format(strall, sizeof(strall), "Nemate Racun",LGInfo);
PlayerTextDrawSetString(playerid, TDEditor_PTD, strall);
}
if(LGInfo == 1)
{
new strall;
format(strall, sizeof(strall), "Banka: $%d",LGInfo);
PlayerTextDrawSetString(playerid, TDEditor_PTD, strall);
}
}
return 1;
}
task Zlato_Update()
{
foreach(new playerid : Player)
{
new strall;
format(strall, sizeof(strall), "Zlato: %dG",LGInfo);
PlayerTextDrawSetString(playerid, TDEditor_PTD, strall);
}
return 1;
}Banka TD:
TDEditor_PTD = CreatePlayerTextDraw(playerid, 96.666687, 434.955535, "00000000$");
PlayerTextDrawLetterSize(playerid, TDEditor_PTD, 0.164664, 0.944589);
PlayerTextDrawAlignment(playerid, TDEditor_PTD, 2);
PlayerTextDrawColor(playerid, TDEditor_PTD, -1);
PlayerTextDrawSetShadow(playerid, TDEditor_PTD, 0);
PlayerTextDrawSetOutline(playerid, TDEditor_PTD, 0);
PlayerTextDrawBackgroundColor(playerid, TDEditor_PTD, 255);
PlayerTextDrawFont(playerid, TDEditor_PTD, 2);
PlayerTextDrawSetProportional(playerid, TDEditor_PTD, 1);
PlayerTextDrawSetShadow(playerid, TDEditor_PTD, 0);Debug iz server_log(ukoliko je u pitanju crashanje servera - crashdetect log): ///
Slika/video ingame problema(obavezno ako je ingame problem): http://prntscr.com/k8jt7q
