[POMOC]4 Errora

Započeo WilliamS, Jun 05, 2013, 19:34:19 POSLE PODNE

prethodna tema - sledeća tema

0 članova i 2 gostiju pregledaju ovu temu.

Skripta koju koristim:Cyber
Detaljan opis problema:Pa ovako probao sam nesto od warninga da popravim i dobio sam 4 errora evo vam warninzi i erori C:\Users\Salipur\Desktop\Infernal_Gaming(Cyber)\cyber\gamemodes\Cyber.pwn(45) : warning 201: redefinition of constant/macro (symbol "COL_RED")
C:\Users\Salipur\Desktop\Infernal_Gaming(Cyber)\cyber\gamemodes\Cyber.pwn(399) : warning 201: redefinition of constant/macro (symbol "COL_RED")
C:\Users\Salipur\Desktop\Infernal_Gaming(Cyber)\cyber\gamemodes\Cyber.pwn(645) : warning 201: redefinition of constant/macro (symbol "CRNA")
C:\Users\Salipur\Desktop\Infernal_Gaming(Cyber)\cyber\gamemodes\Cyber.pwn(646) : warning 201: redefinition of constant/macro (symbol "SIVA")
C:\Users\Salipur\Desktop\Infernal_Gaming(Cyber)\cyber\gamemodes\Cyber.pwn(647) : warning 201: redefinition of constant/macro (symbol "CRVENA")
C:\Users\Salipur\Desktop\Infernal_Gaming(Cyber)\cyber\gamemodes\Cyber.pwn(648) : warning 201: redefinition of constant/macro (symbol "ZUTA")
C:\Users\Salipur\Desktop\Infernal_Gaming(Cyber)\cyber\gamemodes\Cyber.pwn(649) : warning 201: redefinition of constant/macro (symbol "NARANDZASTA")
C:\Users\Salipur\Desktop\Infernal_Gaming(Cyber)\cyber\gamemodes\Cyber.pwn(653) : warning 201: redefinition of constant/macro (symbol "PLAVA")
C:\Users\Salipur\Desktop\Infernal_Gaming(Cyber)\cyber\gamemodes\Cyber.pwn(656) : warning 201: redefinition of constant/macro (symbol "ROZA")
C:\Users\Salipur\Desktop\Infernal_Gaming(Cyber)\cyber\gamemodes\Cyber.pwn(15375) : error 001: expected token: "-string end-", but found "-identifier-"
C:\Users\Salipur\Desktop\Infernal_Gaming(Cyber)\cyber\gamemodes\Cyber.pwn(15375) : error 001: expected token: "-string end-", but found "-identifier-"
C:\Users\Salipur\Desktop\Infernal_Gaming(Cyber)\cyber\gamemodes\Cyber.pwn(15375) : warning 215: expression has no effect
C:\Users\Salipur\Desktop\Infernal_Gaming(Cyber)\cyber\gamemodes\Cyber.pwn(15375) : error 001: expected token: ";", but found "-integer value-"
C:\Users\Salipur\Desktop\Infernal_Gaming(Cyber)\cyber\gamemodes\Cyber.pwn(15375) : fatal error 107: too many error messages on one line
a linija 15375         else SendClientMessage(playerid, -1, ""COL_RED"[CG]"COL_WHITE"Koristenje: "COL_RED"/e [text]");


Dio skripte:Imate
Neke slike/video za lakse dobivanje pomoci(neobavezno):/


Respect:ColdPlay,Artie,dnjl.


Daj mi primer?Ili mozes da mi sredis to dacu ti na PM mod? PlS?


Respect:ColdPlay,Artie,dnjl.

Pa to sam i stavio


Respect:ColdPlay,Artie,dnjl.

daj da vidim kako si definisao ove boje u SCM sto koristis COL_RED i ove...
RESPECT: Blaeks, Yui_Sang, Gagi, Kapetan Husein, Luksa, Slay, Denis_Lapi, Zoran(Dude)

Programski jezici koje koristim: C, C#, Visual Basic, HTML, CSS, PHP (tek ucim).


Citat: |LZ| Bugi poslato Jun 06, 2013, 16:07:14 POSLE PODNE
daj da vidim kako si definisao ove boje u SCM sto koristis COL_RED i ove...
to ti nista nece pomoci bugi, definisane su kao 0.3c boje svakako

Sad sam resio 4 errora al su mi ostala 9 warninga 1 warning mi baca na liniji 45 evo je linija 45 #define COL_RED 0xAA3333AA e evo ga i warning C:\Users\Salipur\Desktop\Infernal_Gaming(Cyber)\cyber\gamemodes\Cyber.pwn(45) : warning 201: redefinition of constant/macro (symbol "COL_RED")


Respect:ColdPlay,Artie,dnjl.

pa ne mozes takvu boju koristiti kao 0.3c boju, definisi je ovako #define COL_RED            "{F81414}"

sada mi baca ovaj linija 399 #define COL_RED F81414 C:\Users\Salipur\Desktop\Infernal_Gaming(Cyber)\cyber\gamemodes\Cyber.pwn(399) : warning 201: redefinition of constant/macro (symbol "COL_RED")


Respect:ColdPlay,Artie,dnjl.

BUMP Neko?


Respect:ColdPlay,Artie,dnjl.

Citat: WilliamS poslato Jun 06, 2013, 20:44:02 POSLE PODNE
sada mi baca ovaj linija 399 #define COL_RED F81414 C:\Users\Salipur\Desktop\Infernal_Gaming(Cyber)\cyber\gamemodes\Cyber.pwn(399) : warning 201: redefinition of constant/macro (symbol "COL_RED")

pa to mos obrisat onda
Other Dimension RolePlay | Uskoro
Ukoliko zelite pomoci u razvoju servera, mozete se meni javit na PP/PM!

imas 2 iste boje, obrisi tu zadnju liniju 399

Tnx sad imam 7 warninga i prvi warning je ovaj Users\Salipur\Desktop\Infernal_Gaming(Cyber)\cyber\gamemodes\Cyber.pwn(644) : warning 201: redefinition of constant/macro (symbol "CRNA") a linija 644 je #define CRNA               "{0E0101}" I tako su mi svih 7 warninga jel to znaci da je dva puta definisano?


Respect:ColdPlay,Artie,dnjl.

Da obrisem onda tu Crnu?


Respect:ColdPlay,Artie,dnjl.

Izbrisao sam CRNU i sad mi baca errore na liniji 9666 evo je ta linija format(string, sizeof(string),""COLOR_BLUE"\n"COLOR_BLUE"Ime Firme: "COLOR_BLUE"%s\n"COLOR_BLUE"Vlasnik:"COLOR_BLUE" %s\n"COLOR_BLUE"Level:"COLOR_BLUE" %d",FI[i][fIme],FI[i][fVlasnik],FI[i][fLvl]); a evo ga errorr C:\Users\Salipur\Desktop\Infernal_Gaming(Cyber)\cyber\gamemodes\Cyber.pwn(9666) : error 001: expected token: "-string end-", but found "-identifier-"
C:\Users\Salipur\Desktop\Infernal_Gaming(Cyber)\cyber\gamemodes\Cyber.pwn(9666) : error 001: expected token: "-string end-", but found "-identifier-"
C:\Users\Salipur\Desktop\Infernal_Gaming(Cyber)\cyber\gamemodes\Cyber.pwn(9666) : warning 215: expression has no effect
C:\Users\Salipur\Desktop\Infernal_Gaming(Cyber)\cyber\gamemodes\Cyber.pwn(9666) : error 001: expected token: ";", but found "-integer value-"
C:\Users\Salipur\Desktop\Infernal_Gaming(Cyber)\cyber\gamemodes\Cyber.pwn(9666) : fatal error 107: too many error messages on one line


Respect:ColdPlay,Artie,dnjl.