Skripta koju koristim:UP
Detaljan opis problema:Imam 3 WARNINGA
Dio skripte:
Neke slike/video za lakse dobivanje pomoci(neobavezno):
YCMD:pice(playerid, params[], help)
{
#pragma unused help
if(UlogovanProvera[playerid] == 0) return SCM(playerid,-1,"ET:RP | "CRVENA"Moras se ulogovati da bi koristio ovu komandu!");
new x;
for(new i; i < MAX_FIRMI; i++)
{
if(IsPlayerInRangeOfPoint(playerid, 25.0,165.1613,-1842.1246,4.2688, FirmaInfo[i][fIzlazX], FirmaInfo[i][fIzlazY], FirmaInfo[i][fIzlazZ]) && GetPlayerVirtualWorld(playerid) == FirmaInfo[i][fVW])
{
if(FirmaInfo[i][fVrsta] == VRSTA_PIGPEN || FirmaInfo[i][fVrsta] == VRSTA_BAR || FirmaInfo[i][fVrsta] == VRSTA_DISCO)
{
x++;
if(FirmaInfo[UsaoFirma[playerid]][fProizvodi] <= 0) return SCM(playerid,-1,""ZPLAVA"[Firma]: "BELA"Nemamo vise proizvoda!");
new str[350];
format(str, sizeof(str), ""ORANGE"- "BELA"Pivo (10$)\n"ORANGE"- "BELA"Rakija (20$)\n"ORANGE"- "BELA"Viski (Jack Daniels 50$)\n"ORANGE"- "BELA"Liker (40$)\n"ORANGE"- "BELA"Pelinkovac (35$)\n"ORANGE"- "BELA"Vodka (30$)\n"ORANGE"- "BELA"Lozovaca (25$)\n"ORANGE"- "BELA"Vino (Vranac 30$)\n"ORANGE"- "BELA"Voda (10$)");
SPD(playerid, KUPOVINA_PICE, DIALOG_STYLE_LIST, ""BELA"Pice - Meni", str, "Odaberi", "Izlaz");
break;
}
}
}
return 1;
}
OVDJE MI DAVA 3 WARNINGA
if(IsPlayerInRangeOfPoint(playerid, 25.0,165.1613,-1842.1246,4.2688, FirmaInfo[i][fIzlazX], FirmaInfo[i][fIzlazY], FirmaInfo[i][fIzlazZ]) && GetPlayerVirtualWorld(playerid) == FirmaInfo[i][fVW])
{
a warninzi su?
Daj warninze nismo ti mi ovdje vidovite tange da vidimo problem :D