Dio skripte:
stock wc_Update(playerid, koliko, bool:vrsta)
{
if(vrsta == true)
{
new stringic;
format(stringic, sizeof(stringic), "WC STATUS: %d", PLAYER_ENUM);
PlayerTextDrawSetString(playerid, wcTD, stringic);
PLAYER_ENUM += koliko;
if(PLAYER_ENUM > 100) PLAYER_ENUM = 100;
}
else if(vrsta == false)
{
new stringic;
format(stringic, sizeof(stringic), "WC STATUS: %d", PLAYER_ENUM);
PlayerTextDrawSetString(playerid, wcTD, stringic);
PLAYER_ENUM -= koliko;
if(PLAYER_ENUM < 0) PLAYER_ENUM = 0;
}
return 1;
}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): https://prnt.sc/s66qq1
