Skripta koju koristim:croserbia
Detaljan opis problema: Kod mene vise Compiler ne radi 😢 😢 e neznam kako da popravim
Dio skripte:
Neke slike/video za lakse dobivanje pomoci(neobavezno):
PLSS POMAZITE STO PRIJE
[POMOC] Hitnoooo!!!
1,946
pregleda
25
postova
16. Maj 2011.
Zenga1998 wrote on May 16, 2011, 4:28 pm:
Pa ocu Compile i odjednom Pawno Compiler Library didn't respond... il kako vec neznam privest kako treba na engleski jer imam na njemacki xD
sta si zadnje dodavao prepuno ti je errora
16. Maj 2011.
to sam dodao..
if(strcmp(cmd, "/headadmin", true) == 0 || strcmp(cmd, "/he", true) == 0)
{
if(IsPlayerConnected(playerid))
{
GetPlayerName(playerid, sendername, sizeof(sendername));
new length = strlen(cmdtext);
while ((idx < length) && (cmdtext <= ' '))
{
idx++;
}
new offset = idx;
new result;
while ((idx < length) && ((idx - offset) < (sizeof(result) - 1)))
{
result[idx - offset] = cmdtext;
idx++;
}
result[idx - offset] = EOS;
if(!strlen(result))
{
SendClientMessage(playerid, COLOR_GRAD2, "KORISTITE: (/he)adadmin [headadmin chat]");
return 1;
}
format(string, sizeof(string), "*HeadAdmin %s: %s", PlayerInfo, sendername, result);
if (PlayerInfo >= 1)
{
SendAdminMessage(PLAVA, string);
}
printf("HeadAdmin %s: %s", sendername, result);
}
return 1;
}
if(strcmp(cmd, "/headadmin", true) == 0 || strcmp(cmd, "/he", true) == 0)
{
if(IsPlayerConnected(playerid))
{
GetPlayerName(playerid, sendername, sizeof(sendername));
new length = strlen(cmdtext);
while ((idx < length) && (cmdtext <= ' '))
{
idx++;
}
new offset = idx;
new result;
while ((idx < length) && ((idx - offset) < (sizeof(result) - 1)))
{
result[idx - offset] = cmdtext;
idx++;
}
result[idx - offset] = EOS;
if(!strlen(result))
{
SendClientMessage(playerid, COLOR_GRAD2, "KORISTITE: (/he)adadmin [headadmin chat]");
return 1;
}
format(string, sizeof(string), "*HeadAdmin %s: %s", PlayerInfo, sendername, result);
if (PlayerInfo >= 1)
{
SendAdminMessage(PLAVA, string);
}
printf("HeadAdmin %s: %s", sendername, result);
}
return 1;
}
16. Maj 2011.
ne znam ja bas skriptati..ali to ti kazem za pawno izbrisi to pa probaj compile 😁 videces da tu u toj komandi imas puno gresaka 😄
16. Maj 2011.
Zenga1998 wrote on May 16, 2011, 4:31 pm:
izbriso sam i opet isto 😢
Od zadnjeg puta kada si uradio Compile...sta si posle dodavao? to izbrisi ili pokusaj ispraviti
16. Maj 2011.
Zenga1998 wrote on May 16, 2011, 4:39 pm:
sad sam malo prije sve izbriso sta sam dodo bio i opet nece
jesi li ono sto si definisao..i ako si ista definisao jesi li to izbrisao??
16. Maj 2011.
SendClientMessage(playerid, COLOR_GRAD2, "KORISTITE: (/he)adadmin [headadmin chat]");
return 1;
Ovo izbaci iz komande... Komanda ima gresaka i to ti crashuje pawnocc.. to se i meni desavalo kad sam pravio /advertise.. :/ Izbaci komandu i izbaci ono pre toga sto si radio pa stisni "compile".. ima gresaka u nekoj komadni sto si pravio i to ti crashuje pawnocc... naravno posle ce ti biti dosta warninga "lose indentation".. to znaci da poravnas redove.. ali otom potom.. prvo ovo resi..
return 1;
Ovo izbaci iz komande... Komanda ima gresaka i to ti crashuje pawnocc.. to se i meni desavalo kad sam pravio /advertise.. :/ Izbaci komandu i izbaci ono pre toga sto si radio pa stisni "compile".. ima gresaka u nekoj komadni sto si pravio i to ti crashuje pawnocc... naravno posle ce ti biti dosta warninga "lose indentation".. to znaci da poravnas redove.. ali otom potom.. prvo ovo resi..
16. Maj 2011.
Zenga1998 wrote on May 16, 2011, 5:35 pm:
Znaci oto sta si ti metnio i sve preko toga il sta.. nekuzim o.O.
Daj ako mores sredi otu komandu kako treba... ja sam ono izbriso sta si ti reko al opet nece compile
Daj ako mores sredi otu komandu kako treba... ja sam ono izbriso sta si ti reko al opet nece compile
Moras izbacit komandu i jesi li pravio neku komandu pre ove?
Ne mozes nista uradit dok ne izbacis komandu koja ti je blokirala pawnocc.. :/ imao sam slican problem
16. Maj 2011.
imam /a admin chat evo ti za obe skripta
if(strcmp(cmd, "/admin", true)==0 || strcmp(cmd, "/a", true) == 0)
{
if(IsPlayerConnected(playerid))
{
GetPlayerName(playerid, sendername, sizeof(sendername));
new length = strlen(cmdtext);
while ((idx < length) && (cmdtext <= ' '))
{
idx++;
}
new offset = idx;
new result;
while ((idx < length) && ((idx - offset) < (sizeof(result) - 1)))
{
result[idx - offset] = cmdtext;
idx++;
}
result[idx - offset] = EOS;
if(!strlen(result))
format(string, sizeof(string), "*%d Admin %s: %s", PlayerInfo, sendername, result);
if (PlayerInfo >= 1)
{
SendAdminMessage(ORANGE, string);
}
printf("Admin %s: %s", sendername, result);
}
return 1;
}
if(strcmp(cmd, "/headadmin", true) == 0 || strcmp(cmd, "/he", true) == 0)
{
if(IsPlayerConnected(playerid))
{
GetPlayerName(playerid, sendername, sizeof(sendername));
new length = strlen(cmdtext);
while ((idx < length) && (cmdtext <= ' '))
{
idx++;
}
new offset = idx;
new result;
while ((idx < length) && ((idx - offset) < (sizeof(result) - 133😎))
{
result[idx - offset] = cmdtext;
idx++;
}
result[idx - offset] = EOS;
if(!strlen(result))
format(string, sizeof(string), "*%d HeadAdmin %s: %s", PlayerInfo, sendername, result);
if (PlayerInfo >= 133😎
{
SendAdminMessage(plava, string);
}
printf("Admin %s: %s", sendername, result);
}
return 1;
}
if(strcmp(cmd, "/admin", true)==0 || strcmp(cmd, "/a", true) == 0)
{
if(IsPlayerConnected(playerid))
{
GetPlayerName(playerid, sendername, sizeof(sendername));
new length = strlen(cmdtext);
while ((idx < length) && (cmdtext <= ' '))
{
idx++;
}
new offset = idx;
new result;
while ((idx < length) && ((idx - offset) < (sizeof(result) - 1)))
{
result[idx - offset] = cmdtext;
idx++;
}
result[idx - offset] = EOS;
if(!strlen(result))
format(string, sizeof(string), "*%d Admin %s: %s", PlayerInfo, sendername, result);
if (PlayerInfo >= 1)
{
SendAdminMessage(ORANGE, string);
}
printf("Admin %s: %s", sendername, result);
}
return 1;
}
if(strcmp(cmd, "/headadmin", true) == 0 || strcmp(cmd, "/he", true) == 0)
{
if(IsPlayerConnected(playerid))
{
GetPlayerName(playerid, sendername, sizeof(sendername));
new length = strlen(cmdtext);
while ((idx < length) && (cmdtext <= ' '))
{
idx++;
}
new offset = idx;
new result;
while ((idx < length) && ((idx - offset) < (sizeof(result) - 133😎))
{
result[idx - offset] = cmdtext;
idx++;
}
result[idx - offset] = EOS;
if(!strlen(result))
format(string, sizeof(string), "*%d HeadAdmin %s: %s", PlayerInfo, sendername, result);
if (PlayerInfo >= 133😎
{
SendAdminMessage(plava, string);
}
printf("Admin %s: %s", sendername, result);
}
return 1;
}
Morate biti prijavljeni da biste odgovorili na ovu temu.
Prijava