Detaljan opis problema: Ubacivo sam greedy house system i stalno mi izbacuje error
Dio skripte:
stock KuceLP(idkuce)
{
new string;
if(KucaInfo == 0)
{
Delete3DTextLabel(KucaLabel);
DestroyDynamicPickup(KucaPickup);
format(string,sizeof(string),""BELA1"Kuca na Prodaju!\nVrsta: "BELA"%s\n"BELA1"Cena: "BELA"%d$\n"BELA1"Level: "BELA"%d\n"BELA1"Adresa: "BELA"%s\n"BELA1"Za kupovinu kuce /kupikucu",KucaInfo,KucaInfo,KucaInfo,UlicaKuce(idkuce));
KucaLabel = Create3DTextLabel(string ,0x33CCFFAA,KucaInfo,KucaInfo,KucaInfo,30.0,0,1);
KucaPickup = CreateDynamicPickup(1273, 1, KucaInfo, KucaInfo, KucaInfo);
}
else if(KucaInfo == 1)
{
Delete3DTextLabel(KucaLabel);
DestroyDynamicPickup(KucaPickup);
if(KucaInfo == 0)
{
format(string,sizeof(string),""HZELENA"Vlasnik: "BELA"%s\n"HZELENA"Vrsta: "BELA"%s\n"HZELENA"Level: "BELA"%d\n"HZELENA"Cena: "BELA"%d$\n"HZELENA"Adresa: "BELA"%s",KucaInfo,KucaInfo,KucaInfo,KucaInfo,UlicaKuce(idkuce));
}
else if(KucaInfo == 1)
{
format(string,sizeof(string),""HZELENA"Vlasnik: "BELA"%s\n"HZELENA"Vrsta: "BELA"%s\n"HZELENA"Level: "BELA"%d\n"HZELENA"Cena: "BELA"%d$\n"HZELENA"Cena Renta: "BELA"%d$\n"HZELENA"Adresa: "BELA"%s\n"HZELENA"Za rent kuce /rentajkucu",KucaInfo,KucaInfo,KucaInfo,KucaInfo,KucaInfo,UlicaKuce(idkuce));
}
KucaLabel = Create3DTextLabel(string ,0x33CCFFAA,KucaInfo,KucaInfo,KucaInfo,30.0,0,1);
KucaPickup = CreateDynamicPickup(1239, 1, KucaInfo, KucaInfo, KucaInfo);
}
return 1;
}Neke slike/video za lakse dobivanje pomoci(neobavezno): //
C:\Users\Vlado\Desktop\Expert Gaming\pawno\include\zcmd.inc(18) : warning 201: redefinition of constant/macro (symbol "COMMAND:%1(%2)")
C:\Users\Vlado\Desktop\Gaming\pawno\include\zcmd.inc(21) : warning 201: redefinition of constant/macro (symbol "CMD:%1(%2)")
C:\Users\Vlado\Desktop\Gaming\gamemodes\g-rp.pwn(855) : error 001: expected token: "-string end-", but found "-identifier-"
C:\Users\Vlado\Desktop\Gaming\gamemodes\g-rp.pwn(855) : error 001: expected token: "-string end-", but found "-identifier-"
C:\Users\Vlado\Desktop\Gaming\gamemodes\g-rp.pwn(855) : warning 215: expression has no effect
C:\Users\Vlado\Desktop\Gaming\gamemodes\g-rp.pwn(855) : error 001: expected token: ";", but found "-integer value-"
C:\Users\Vlado\Desktop\Gaming\gamemodes\g-rp.pwn(855) : fatal error 107: too many error messages on one line
Compilation aborted.Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase
4 Errors.
