Započeo ʙᴜsᴛᴇʀ ᴄᴏɴɴᴇʟʟʏ
•19. Maj 2018.• ZaključanoErrori kod jedne linije!
504
pregleda
6
postova
Made Man
Balkan SA:MP
SA-MP Doprinos
Balkan SA:MP
SA-MP DoprinosNovi Član
90 / 100 XP
Početnik(0)
401
Postovi:
134
Teme:
Pridružio se:Feb. 2017
19. Maj 2018.
Imam error kod ove jedne linije ili ti kod komande cc!!
Cela komanda:
Error kod linije
Erori:
Cela komanda:
YCMD:cc(playerid, params[], help)
{
#pragma unused help
#pragma unused params
if(UlogovanProvera == 0) return SCM(playerid,-1,"LG:RPG | "CRVENA"Moras se ulogovati da bi koristio ovu komandu!");
if(PlayerInfo >= 1 || PlayerInfo >= 1)
{
new sati, minuta, dan, mesec, godina;
getdate(godina, mesec, dan);
gettime(sati, minuta);
new string; foreach(Player,i) { OcistiChat(i, 120); }
format(string,sizeof(string),""SVETLOPLAVA"[LG:RPG] "ORANGE"Chat ociscen od strane %s. "BELA"| "SVETLOPLAVA"www.legacygaming-rpg.proboards.com.", GetName(playerid));
SCMTA(-1,string);
format(string,sizeof(string),""SVETLOPLAVA"[LG:RPG] "ORANGE"Sada je: %d:%d! | Datum: %d.%d.%d! | "SVETLOPLAVA"Hvala vam sto igrate na nasem serveru!", sati, minuta, dan, mesec, godina);
SCMTA(-1,string);
}
else
{
SCM(playerid, -1, "[LG:RPG] "ZUTA"Samo Admini & GameMasteri!");
}
return 1;
}Error kod linije
format(string,sizeof(string),""SVETLOPLAVA"[LG:RPG] "ORANGE"Chat ociscen od strane "SVETLOPLAVA"%s. "BELA"| "SVETLOPLAVA"www.legacygaming-rpg.proboards.com.", GetName(playerid));Erori:
C:\Users\Buster\Desktop\Legacy Gaming RPG by Buster\gamemodes\LegacyGaming.pwn(29538) : error 001: expected token: "-string end-", but found "-identifier-"
C:\Users\Buster\Desktop\Legacy Gaming RPG by Buster\gamemodes\LegacyGaming.pwn(29538) : error 001: expected token: "-string end-", but found "-identifier-"
C:\Users\Buster\Desktop\Legacy Gaming RPG by Buster\gamemodes\LegacyGaming.pwn(29538) : warning 215: expression has no effect
C:\Users\Buster\Desktop\Legacy Gaming RPG by Buster\gamemodes\LegacyGaming.pwn(29538) : error 001: expected token: ";", but found "-integer value-"
C:\Users\Buster\Desktop\Legacy Gaming RPG by Buster\gamemodes\LegacyGaming.pwn(29538) : fatal error 107: too many error messages on one lineGodfather
Balkan SA:MP
SA-MP Doprinos
Balkan SA:MP
SA-MP DoprinosNovi Član
240 / 250 XP
Početnik(0)
1,602
Postovi:
65
Teme:
Pridružio se:Nov. 2015
19. Maj 2018.
Umesto SCMTA napisi SendClientMessageToAll ili dodaj na vrhu skripte #define SCMTA SendClientMessageToAll i dodaj ovaj public
forward OcistiChat(playerid, lines);
public OcistiChat(playerid, lines)
{
for(new i = 0; i < lines; i++)
{
SCM(playerid, -1, " ");
}
return 1;
}Shot Caller
Balkan SA:MP
SA-MP Doprinos
Balkan SA:MP
SA-MP DoprinosNovi Član
90 / 100 XP
Početnik(0)
102
Postovi:
18
Teme:
Pridružio se:Jan. 2018
Made Man
Balkan SA:MP
SA-MP Doprinos
Balkan SA:MP
SA-MP DoprinosNovi Član
90 / 100 XP
Početnik(0)
401
Postovi:
134
Teme:
Pridružio se:Feb. 2017
19. Maj 2018.
á—ªå‚乂 wrote on May 19, 2018, 2:36 pm:
Umesto SCMTA napisi SendClientMessageToAll ili dodaj na vrhu skripte #define SCMTA SendClientMessageToAll i dodaj ovaj public
forward OcistiChat(playerid, lines);
public OcistiChat(playerid, lines)
{
for(new i = 0; i < lines; i++)
{
SCM(playerid, -1, " ");
}
return 1;
}Hahahaha, brate, opet znaci sve isti errori kao do sada, a uradio sam sve kako si reko....
Evo ti linija sa errorima:
format(string,sizeof(string),""SVETLOPLAVA"[LG:RPG] "ORANGE"Chat ociscen od strane "SVETLOPLAVA"%s. "BELA"| "SVETLOPLAVA"www.legacygaming-rpg.proboards.com.", GetName(playerid));
Morate biti prijavljeni da biste odgovorili na ovu temu.
Prijava