Dio skripte:
FUNCTION: MiniStatsUpdate(i)
{
new zlt, bnk;
format(bnk, 64, "~w~$%d", PI);
format(zlt, 64, "~w~%dg", PI);
PlayerTextDrawSetString(i, TDEditor_TD, bnk);
PlayerTextDrawSetString(i, TDEditor_TD, zlt);
}
Evo i textdraw
TDEditor_TD = TextDrawCreate(587.235839, 131.452072, "~w~100g");
TextDrawLetterSize(TDEditor_TD, 0.400000, 1.600000);
TextDrawAlignment(TDEditor_TD, 1);
TextDrawColor(TDEditor_TD, -1);
TextDrawSetShadow(TDEditor_TD, 0);
TextDrawSetOutline(TDEditor_TD, 0);
TextDrawBackgroundColor(TDEditor_TD, 255);
TextDrawFont(TDEditor_TD, 2);
TextDrawSetProportional(TDEditor_TD, 1);
TextDrawSetShadow(TDEditor_TD, 0);
TDEditor_TD = TextDrawCreate(543.137634, 121.281616, "~w~$100000");
TextDrawLetterSize(TDEditor_TD, 0.400000, 1.600000);
TextDrawAlignment(TDEditor_TD, 1);
TextDrawColor(TDEditor_TD, -1);
TextDrawSetShadow(TDEditor_TD, 0);
TextDrawSetOutline(TDEditor_TD, 0);
TextDrawBackgroundColor(TDEditor_TD, 255);
TextDrawFont(TDEditor_TD, 2);
TextDrawSetProportional(TDEditor_TD, 1);
TextDrawSetShadow(TDEditor_TD, 0);Debug iz server_log(ukoliko je u pitanju crashanje servera - crashdetect log):Evo koje warninge izbacije
C:\Users\AldenH\Desktop\Samp\gamemodes\GAMEM.pwn(112777) : warning 213: tag mismatch // PlayerTextDrawSetString(i, TDEditor_TD, bnk);
C:\Users\AldenH\Desktop\Samp\gamemodes\GAMEM.pwn(112778) : warning 213: tag mismatch // PlayerTextDrawSetString(i, TDEditor_TD, zlt);
C:\Users\AldenH\Desktop\Samp\gamemodes\GAMEM.pwn(114676) : warning 213: tag mismatch // format(zlt, 64, "~w~%dg", PI);
Slika/video ingame problema(obavezno ako je ingame problem):/