Detaljan opis problema: Evoraio sam neki dialog za posao i kad ga ubacim izbacuje mi errore negdje gore na pocetku skripte.Ja mislim da sam negdje zagradu zaboravio.
Dio skripte:
if(dialogid == DILER_ORE) //Diler oruzija
{
if(!response) return 1; if(response)
{
if(listitem == 0)
{
new aha = PlayerInfo;
if(aha >= 100)
{
SCM(playerid,WHITE,"{FFFFFF}:{FFF1AF} Napravili ste Desert Deagle.");
PlayerInfo -= 10;
SetPlayerWeapon(24,100);
}
else if(aha < 100)
{
SCM(playerid,WHITE,"{FFFFFF}:{FFF1AF} Nemate dovoljno materijala.");
}
}
if(listitem == 1)
{
new aha = PlayerInfo;
if(aha >= 120)
{
SCM(playerid,WHITE,"{FFFFFF}:{FFF1AF} Napravili ste MP5.");
PlayerInfo -= 120;
SetPlayerWeapon(29,100);
}
else if(aha < 120)
{
SCM(playerid,WHITE,"{FFFFFF}:{FFF1AF} Nemate dovoljno materijala.");
}
}
if(listitem == 2)
{
new aha = PlayerInfo;
if(aha >= 180)
{
SCM(playerid,WHITE,"{FFFFFF}:{FFF1AF} Napravili ste Shotgun.");
PlayerInfo -= 180;
SetPlayerWeapon(25,100);
}
else if(aha < 180)
{
SCM(playerid,WHITE,"{FFFFFF}:{FFF1AF} Nemate dovoljno materijala.");
}
}
if(listitem == 3)
{
new aha = PlayerInfo;
if aha >= 200)
{
SCM(playerid,WHITE,"{FFFFFF}:{FFF1AF} Napravili ste AK-47.");
PlayerInfo -= 200;
SetPlayerWeapon(30,250);
}
else if(aha < 200)
{
SCM(playerid,WHITE,"{FFFFFF}:{FFF1AF} Nemate dovoljno materijala.");
}
}Neke slike/video za lakse dobivanje pomoci(neobavezno): //
