[POMOC]Error

Započeo [ПГ]Душан, Maj 13, 2012, 17:44:03 POSLE PODNE

prethodna tema - sledeća tema

0 članova i 1 gost pregledaju ovu temu.

Skripta koju koristim: TX
Detaljan opis problema: E ovako na jenom djelu su strcmp komande a kada se one zavrse idu ZCMD i sada ja dodam na kraju komandi kada upise pogresnu komandu da mu posalje poruku ovu i kada kompaliram izbaci mi ove errore!A kada dodam na zavrsetak strcmd komadni sve je ok!
Dio skripte: }
SendClientMessage(playerid, COLOR_GRAD1, ""COL_RED"(ZeuS)"COL_ORANGE"Ta komanda ne postoji, da vidite listu svih dostupnih komandi upisite "COL_YELLOW"/help.");
return 1;
}


errori: C:\Users\Korisnik-d\Desktop\TechLand Xperia\gamemodes\CLRP.pwn(4330) : error 017: undefined symbol "IsABicycle"
C:\Users\Korisnik-d\Desktop\TechLand Xperia\gamemodes\CLRP.pwn(4334) : error 017: undefined symbol "IsACar"
C:\Users\Korisnik-d\Desktop\TechLand Xperia\gamemodes\CLRP.pwn(4393) : error 017: undefined symbol "IsABicycle"
C:\Users\Korisnik-d\Desktop\TechLand Xperia\gamemodes\CLRP.pwn(4430) : error 017: undefined symbol "IsABicycle"
C:\Users\Korisnik-d\Desktop\TechLand Xperia\gamemodes\CLRP.pwn(4530) : error 017: undefined symbol "GivePlayerCash"
C:\Users\Korisnik-d\Desktop\TechLand Xperia\gamemodes\CLRP.pwn(4563) : error 017: undefined symbol "GivePlayerCash"
C:\Users\Korisnik-d\Desktop\TechLand Xperia\gamemodes\CLRP.pwn(4658) : error 004: function "SafeResetPlayerWeapons" is not implemented
C:\Users\Korisnik-d\Desktop\TechLand Xperia\gamemodes\CLRP.pwn(4659) : error 004: function "SafeGivePlayerWeapon" is not implemented
C:\Users\Korisnik-d\Desktop\TechLand Xperia\gamemodes\CLRP.pwn(4683) : error 004: function "SafeResetPlayerWeapons" is not implemented
C:\Users\Korisnik-d\Desktop\TechLand Xperia\gamemodes\CLRP.pwn(5057) : error 004: function "PlayerToPoint" is not implemented
C:\Users\Korisnik-d\Desktop\TechLand Xperia\gamemodes\CLRP.pwn(5069) : error 004: function "PlayerToPoint" is not implemented
C:\Users\Korisnik-d\Desktop\TechLand Xperia\gamemodes\CLRP.pwn(5073) : error 004: function "PlayerToPoint" is not implemented
C:\Users\Korisnik-d\Desktop\TechLand Xperia\gamemodes\CLRP.pwn(5085) : error 004: function "PlayerToPoint" is not implemented
C:\Users\Korisnik-d\Desktop\TechLand Xperia\gamemodes\CLRP.pwn(5089) : error 004: function "PlayerToPoint" is not implemented
C:\Users\Korisnik-d\Desktop\TechLand Xperia\gamemodes\CLRP.pwn(5093) : error 004: function "PlayerToPoint" is not implemented
C:\Users\Korisnik-d\Desktop\TechLand Xperia\gamemodes\CLRP.pwn(5097) : error 004: function "PlayerToPoint" is not implemented
C:\Users\Korisnik-d\Desktop\TechLand Xperia\gamemodes\CLRP.pwn(5101) : error 004: function "PlayerToPoint" is not implemented
C:\Users\Korisnik-d\Desktop\TechLand Xperia\gamemodes\CLRP.pwn(5105) : error 004: function "PlayerToPoint" is not implemented
C:\Users\Korisnik-d\Desktop\TechLand Xperia\gamemodes\CLRP.pwn(5109) : error 004: function "PlayerToPoint" is not implemented
C:\Users\Korisnik-d\Desktop\TechLand Xperia\gamemodes\CLRP.pwn(5113) : error 004: function "PlayerToPoint" is not implemented
C:\Users\Korisnik-d\Desktop\TechLand Xperia\gamemodes\CLRP.pwn(5117) : error 004: function "PlayerToPoint" is not implemented
C:\Users\Korisnik-d\Desktop\TechLand Xperia\gamemodes\CLRP.pwn(5121) : error 004: function "PlayerToPoint" is not implemented
C:\Users\Korisnik-d\Desktop\TechLand Xperia\gamemodes\CLRP.pwn(5133) : error 004: function "PlayerToPoint" is not implemented
C:\Users\Korisnik-d\Desktop\TechLand Xperia\gamemodes\CLRP.pwn(5137) : error 004: function "PlayerToPoint" is not implemented
C:\Users\Korisnik-d\Desktop\TechLand Xperia\gamemodes\CLRP.pwn(5141) : error 004: function "PlayerToPoint" is not implemented
C:\Users\Korisnik-d\Desktop\TechLand Xperia\gamemodes\CLRP.pwn(5145) : error 004: function "PlayerToPoint" is not implemented

Neke slike/video za lakse dobivanje pomoci(neobavezno): //
IP: 193.192.59.227:7785
Troll Or Be Trolled !
Hoce neko lol-a?!


Citat: Claude_ poslato Maj 13, 2012, 17:49:53 POSLE PODNE
nagdje si zaboravio { }

evo pogledaj pa vidi ti jesam li zaboravio :

CMD:zavrsirat(playerid, params[])
{
if(PlayerInfo[playerid][pAdmin] >= 4)
{
if(RatnoVrijeme != 0)
{
RatnoVrijeme = 0;
foreach(Player, i)
{
if(GetPVarInt(i, "Ratuje") != 0)
{
    new string[128];
    new sendername[MAX_PLAYER_NAME];
DeletePlayer3DTextLabel(i, ratnitext1);DeletePlayer3DTextLabel(i, ratnitext2);SetPVarInt(i, "Tim1", 0);SetPVarInt(i, "Tim2", 0);
SetPVarInt(i, "Ratuje", 0); ResetPlayerWeapons(i); SpawnPlayer(i); TextDrawHideForPlayer(i, preostalovrijeme);TextDrawHideForPlayer(i, crvenitim);TextDrawHideForPlayer(i, plavitim);TextDrawHideForPlayer(i, ratnaz);
format(string,sizeof(string), "{FF0000}Rat je ponisten! | {FFFF80}Admin: %s",  sendername);SCM(i, 0xFF4141FF, string);
}
}
                                new string1[128],idname[MAX_PLAYER_NAME];
format(string1,sizeof(string1), "{FF0000}Ponistio si{FFFF80} Rat ", idname);SCM(playerid, 0xFF4141FF, string1);
}
else SendClientMessage(playerid, COLOR_GRAD1, "Rat nije u toku!");
}
else SendClientMessage(playerid, COLOR_GRAD1, "Nisi ovlasten !");
return 1;
   }
SendClientMessage(playerid, COLOR_GRAD1, ""COL_RED"(ZeuS)"COL_ORANGE"Ta komanda ne postoji, da vidite listu svih dostupnih komandi upisite "COL_YELLOW"/help.");
return 1;
}
IP: 193.192.59.227:7785
Troll Or Be Trolled !
Hoce neko lol-a?!

CMD:zavrsirat(playerid, params[])
{
if(PlayerInfo[playerid][pAdmin] >= 4)
{
if(RatnoVrijeme != 0)
{
RatnoVrijeme = 0;
foreach(Player, i)
{
if(GetPVarInt(i, "Ratuje") != 0)
{
    new string[128];
    new sendername[MAX_PLAYER_NAME];
DeletePlayer3DTextLabel(i, ratnitext1);DeletePlayer3DTextLabel(i, ratnitext2);SetPVarInt(i, "Tim1", 0);SetPVarInt(i, "Tim2", 0);
SetPVarInt(i, "Ratuje", 0); ResetPlayerWeapons(i); SpawnPlayer(i); TextDrawHideForPlayer(i, preostalovrijeme);TextDrawHideForPlayer(i, crvenitim);TextDrawHideForPlayer(i, plavitim);TextDrawHideForPlayer(i, ratnaz);
format(string,sizeof(string), "{FF0000}Rat je ponisten! | {FFFF80}Admin: %s",  sendername);SCM(i, 0xFF4141FF, string);
}
}
                                new string1[128],idname[MAX_PLAYER_NAME];
format(string1,sizeof(string1), "{FF0000}Ponistio si{FFFF80} Rat ", idname);SCM(playerid, 0xFF4141FF, string1);
}
else SendClientMessage(playerid, COLOR_GRAD1, "Rat nije u toku!");
}
else SendClientMessage(playerid, COLOR_GRAD1, "Nisi ovlasten !");
return 1;
   
SendClientMessage(playerid, COLOR_GRAD1, ""COL_RED"(ZeuS)"COL_ORANGE"Ta komanda ne postoji, da vidite listu svih dostupnih komandi upisite "COL_YELLOW"/help.");
return 1;
}



probaj ovako

Ma evo znam gdje sam zaboravio zatvoriti zagradu nije na toj komandi zavrsi rat ali sad imam ova 2 errora

C:\Users\Korisnik-d\Desktop\TechLand Xperia\gamemodes\CLRP.pwn(69837) : error 021: symbol already defined: "SendClientMessage"
C:\Users\Korisnik-d\Desktop\TechLand Xperia\gamemodes\CLRP.pwn(69838) : error 010: invalid function or declaration
IP: 193.192.59.227:7785
Troll Or Be Trolled !
Hoce neko lol-a?!

E nije se popravilo sad imam isti problem i kada sam kopirao ono sto si mi dao nece IG kada pogrjesim komandu da mi posalje poruku!
Poslednja Izmena: Maj 13, 2012, 18:23:23 POSLE PODNE od [B-E]Dusan
IP: 193.192.59.227:7785
Troll Or Be Trolled !
Hoce neko lol-a?!

Niko mi nezeli pomoci?
IP: 193.192.59.227:7785
Troll Or Be Trolled !
Hoce neko lol-a?!

sta imas 26 errora ili ti nece komanda IG ? :S

Citat: Claude_ poslato Maj 13, 2012, 18:47:15 POSLE PODNE
sta imas 26 errora ili ti nece komanda IG ? :S

Nemam ja 26 errora nego imam ova 2 errora

C:\Users\Korisnik-d\Desktop\TechLand Xperia\gamemodes\CLRP.pwn(69837) : error 021: symbol already defined: "SendClientMessage"
C:\Users\Korisnik-d\Desktop\TechLand Xperia\gamemodes\CLRP.pwn(69838) : error 010: invalid function or declaration
IP: 193.192.59.227:7785
Troll Or Be Trolled !
Hoce neko lol-a?!


Respect the Rules

[quote author=[B-E]Dusan link=topic=43624.msg327624#msg327624 date=1336931161]
Citat: Claude_ poslato Maj 13, 2012, 18:47:15 POSLE PODNE
sta imas 26 errora ili ti nece komanda IG ? :S

Nemam ja 26 errora nego imam ova 2 errora

C:\Users\Korisnik-d\Desktop\TechLand Xperia\gamemodes\CLRP.pwn(69837) : error 021: symbol already defined: "SendClientMessage"
C:\Users\Korisnik-d\Desktop\TechLand Xperia\gamemodes\CLRP.pwn(69838) : error 010: invalid function or declaration

[/quote]
Daj liniju za error 69838
A za ovaj prvi error ti je problewm sto imas vec definisano SendClientMessage

Citat: Claude_ poslato Maj 13, 2012, 20:33:10 POSLE PODNE
daj ta dva reda

}
SendClientMessage(playerid, COLOR_GRAD1, ""COL_RED"(ZeuS)"COL_ORANGE"Ta komanda ne postoji, da vidite listu svih dostupnih komandi upisite "COL_YELLOW"/help.");
return 1;
}
IP: 193.192.59.227:7785
Troll Or Be Trolled !
Hoce neko lol-a?!

Respect the Rules

[quote author=[B-E]Dusan link=topic=43624.msg327663#msg327663 date=1336934496]
Citat: Claude_ poslato Maj 13, 2012, 20:33:10 POSLE PODNE
daj ta dva reda

}
SendClientMessage(playerid, COLOR_GRAD1, ""COL_RED"(ZeuS)"COL_ORANGE"Ta komanda ne postoji, da vidite listu svih dostupnih komandi upisite "COL_YELLOW"/help.");
return 1;
}

[/quote]
Dva put si stavio ""COL_RED
SendClienMessage(playerid, COLOR_GRAD1, "COL_RED"(ZeuS)"COL_ORANGE"NEpoznata komanda "COL_YELLOW"/help."); probaj tako

opet isto
IP: 193.192.59.227:7785
Troll Or Be Trolled !
Hoce neko lol-a?!

Respect the Rules

[quote author=[B-E]Dusan link=topic=43624.msg327677#msg327677 date=1336935422]
opet isto
[/quote]
Daj tu ciejlu komandu