Dio skripte:
new p = PlayerInfo;
new oruzije1 = KucaInfo;
new oruzije2 = KucaInfo;
new oruzije3 = KucaInfo;
new municija1 = KucaInfo;
new municija2 = KucaInfo;
new municija3 = KucaInfo;
new str1, str2, str3,string, string1, string2, string3;
GetWeaponName(oruzije1, str1, sizeof(str1));
GetWeaponName(oruzije2, str2, sizeof(str2));
GetWeaponName(oruzije3, str3, sizeof(str3));
if(oruzije1 == 0) { str1 = "Prazno"; }
if(oruzije2 == 0) { str2 = "Prazno"; }
if(oruzije3 == 0) { str3 = "Prazno"; }a ovako bih da mu prikazem:
format(string, sizeof(string), "%s | %d\n%s | %d\n%s | %d", str1, municija1, str2, municija2, str3, municija3);
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): link slike
