[Pomoc]Dialog

1. Dec. 2012. Zaključano
268
pregleda
6
postova
Robi031
4
Enforcer
1. Dec. 2012.
Skripta koju koristim:Moj gm od 0
Detaljan opis problema:Erori
Dio skripte:
Pa u ovome je problem :S
if(dialogid == 3)//Odjeca 1
    {
    if(response)
    {
if(listitem == 0)
    {
if (GetPlayerMoney(playerid) >= 20)
    {
SetPlayerSkin(playerid, 223);
SendClientMessage(playerid,COLOR,"{00D0FF}| ODJECA | {FFFFFF} Uspješno ste kupili odjecu!");
PlayerPlaySound(playerid, 1150, 0.0, 0.0, 0.0);
}
else
  {
SendClientMessage(playerid,COLOR,"{00D0FF}| ODJECA | {FFFFFF} Nemate dovoljno novaca! [20$]!");
}
}
if(listitem == 1)
    {
if (GetPlayerMoney(playerid) >= 20)
    {
SetPlayerSkin(playerid, 18);
SendClientMessage(playerid,COLOR,"{00D0FF}| ODJECA | {FFFFFF} Uspješno ste kupili odjecu!");
PlayerPlaySound(playerid, 1150, 0.0, 0.0, 0.0);
}
else
  {
SendClientMessage(playerid,COLOR,"{00D0FF}| ODJECA | {FFFFFF} Nemate dovoljno novaca! [20$]!");
}
}
if(listitem == 2)
    {
if (GetPlayerMoney(playerid) >= 96)
    {
SetPlayerSkin(playerid, 277);
SendClientMessage(playerid,COLOR,"{00D0FF}| ODJECA | {FFFFFF} Uspješno ste kupili odjecu!");
PlayerPlaySound(playerid, 1150, 0.0, 0.0, 0.0);
}
else
  {
SendClientMessage(playerid,COLOR,"{00D0FF}| ODJECA | {FFFFFF} Nemate dovoljno novaca! [20$]!");
}
}
if(listitem == 3)
    {
if (GetPlayerMoney(playerid) >= 20)
    {
SetPlayerSkin(playerid, 188);
SendClientMessage(playerid,COLOR,"{00D0FF}| ODJECA | {FFFFFF} Uspješno ste kupili odjecu!");
PlayerPlaySound(playerid, 1150, 0.0, 0.0, 0.0);
}
else
  {
SendClientMessage(playerid,COLOR,"{00D0FF}| ODJECA | {FFFFFF} Nemate dovoljno novaca! [20$]!");
}
}
    return 1;
    }

a ovo su errori
C:\Users\Galaxy\Desktop\Life On Balkan\Life On Balkan - RolePlay\gamemodes\lob-rpg.pwn(430) : warning 217: loose indentation
C:\Users\Galaxy\Desktop\Life On Balkan\Life On Balkan - RolePlay\gamemodes\lob-rpg.pwn(486) : warning 217: loose indentation
C:\Users\Galaxy\Desktop\Life On Balkan\Life On Balkan - RolePlay\gamemodes\lob-rpg.pwn(488) : warning 217: loose indentation
C:\Users\Galaxy\Desktop\Life On Balkan\Life On Balkan - RolePlay\gamemodes\lob-rpg.pwn(491) : error 029: invalid expression, assumed zero
C:\Users\Galaxy\Desktop\Life On Balkan\Life On Balkan - RolePlay\gamemodes\lob-rpg.pwn(491) : error 004: function "OnPlayerClickPlayer" is not implemented
C:\Users\Galaxy\Desktop\Life On Balkan\Life On Balkan - RolePlay\gamemodes\lob-rpg.pwn(495) : error 030: compound statement not closed at the end of file (started at line 410)
Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase

3 Errors.

Neke slike/video za lakse dobivanje pomoci(neobavezno):
Blaeks_Biofor
5
Forum Don
1. Dec. 2012.
Poravnaj linije za ova 3 warninga, i daj mi linije 491 i 495
Robi031
4
Enforcer
1. Dec. 2012.
public OnPlayerClickPlayer(playerid, clickedplayerid, source)
{
return 1;
}

a ova 495 nepostoji :S I ono se nemoze poravnat tj moze ali praviln je stavljeno:S Nesto je greska drugo zato izbacuje te lose
Blaeks_Biofor
5
Forum Don
1. Dec. 2012.
stavi ovo na vrh
#pragma tabsize 0
, a ovde znaci da negde nisi returnao kako treba
Robi031
4
Enforcer
1. Dec. 2012.
sad cu vidit :S a ovo radi
Robi031
4
Enforcer
2. Dec. 2012.
*BUMP*
PLZ POMOC

Morate biti prijavljeni da biste odgovorili na ovu temu.

Prijava

© 2026 SmartShark. All rights reserved.

Powered by Momentum|v2026.3.001 Alpha