Debug iz server_log(ukoliko je u pitanju crashanje servera - crashdetect log):
else if(strcmp(vehicle, "list", true) == 0)
{
new carkey = PlayerInfo;
new carkey2 = PlayerInfo;
new carkey3 = PlayerInfo;
if(PlayerInfo == -1 && PlayerInfo == -1 && PlayerInfo == -1)
{
SendClientMessage(playerid, COLOR_RED,"----------------------------------[ Lista vozila ]----------------------------------");
SendClientMessage(playerid, BELA2," Nemate nijedno vozilo!");
SendClientMessage(playerid, COLOR_RED,"-------------------------------------------------------------------------------------------");
return 1;
}
else
{
SendClientMessage(playerid, COLOR_RED," ");
SendClientMessage(playerid, COLOR_RED,"----------------------------------[ Lista vozilaa ]----------------------------------");
if (PlayerInfo != -1)
{
new string;
format(string, sizeof(string), "{BFC0C2} 1.SLOT| Model: %s Cena: %d Tablice:[%s] Boja 1 ID:[%d] Boja 2 ID:[%d] Zakljucano:[%s] Neaktivnost Registrovano jos", VoziloInfo, ceneAuta(VoziloInfo),VoziloInfo, VoziloInfo, VoziloInfo, VoziloInfo);
SendClientMessage(playerid, -1, string);
}
if (PlayerInfo != -1)
{
new string;
format(string, sizeof(string), "{BFC0C2} 2.SLOT| Model: %s Cena: %d Tablice:[%s] Boja 1 ID:[%d] Boja 2 ID:[%d] Zakljucano:[%s] Neaktivnost Registrovano jos", VoziloInfo, ceneAuta(VoziloInfo), VoziloInfo, VoziloInfo, VoziloInfo, VoziloInfo);
SendClientMessage(playerid, -1,string);
}
if (PlayerInfo != -1)
{
new string;
format(string, sizeof(string), "{BFC0C2} 3.SLOT| Model: %s Cena: %d Tablice:[%s] Boja 1 ID:[%d] Boja 2 ID:[%d] Zakljucano:[%s] Neaktivnost Registrovano jos", VoziloInfo, ceneAuta(VoziloInfo), VoziloInfo, VoziloInfo, VoziloInfo, VoziloInfo);
SendClientMessage(playerid, -1,string);
}
SendClientMessage(playerid, COLOR_RED,"-------------------------------------------------------------------------------------------");
}
}
return 1;Slika/video ingame problema(obavezno ako je ingame problem): https://i.imgur.com/ykvjNPJ.jpg
