Skripta koju koristim:CL:
Detaljan opis problema:Znaci pisem /count i ono pocne odbrojavat al kaze da komanda ne postoji :S isto tako za /unistitour, on unisti vozila i kaze da ne postoji komanda :S:
Dio skripte:ak bude bilo potrebno:
Neke slike/video za lakse dobivanje pomoci(neobavezno): http://www.zaslike.com/files/56dlvfy49adc1pcd674v.jpg:
[pomoc] Komanda ne postoji(problem)
585
pregleda
5
postova
2. Feb. 2012.
Godfather
Novi Član
240 / 250 XP
🌱Početnik(0)
2,079
Postovi:
24
Teme:
Pridružio se:Feb. 2011
3. Feb. 2012.
evo sad se to pocelo dogadjat i sa /gotolist :S
if(strcmp(cmd, "/gotolist", true) == 0)
{
if (PlayerInfo >= 2)
{
SendClientMessage(playerid, COLOR_GRAD2, "Lokacije: gotols, gotosf, gotolv, gotobolnica, gotoburg");
SendClientMessage(playerid, COLOR_GRAD2, "Lokacije: gotobank, gotospawn, gotostunt");
SendClientMessage(playerid, COLOR_GRAD2, "Lokacije: gotocross, gotocross1, gotohell, gotohell1");
SendClientMessage(playerid, COLOR_GRAD2, "Lokacije: gotorace, gotomonster, gotosurvivor");
}
else
{
SendClientMessage(playerid, COLOR_WHITE, " Niste ovlasteni da koristite tu komandu !");
}
}Godfather
Novi Član
240 / 250 XP
🌱Početnik(0)
2,079
Postovi:
24
Teme:
Pridružio se:Feb. 2011
3. Feb. 2012.
Fix :
if(strcmp(cmd, "/gotolist", true) == 0)
{
if (PlayerInfo >= 2)
{
SendClientMessage(playerid, COLOR_GRAD2, "Lokacije: gotols, gotosf, gotolv, gotobolnica, gotoburg");
SendClientMessage(playerid, COLOR_GRAD2, "Lokacije: gotobank, gotospawn, gotostunt");
SendClientMessage(playerid, COLOR_GRAD2, "Lokacije: gotocross, gotocross1, gotohell, gotohell1");
SendClientMessage(playerid, COLOR_GRAD2, "Lokacije: gotorace, gotomonster, gotosurvivor");
}
else
{
SendClientMessage(playerid, COLOR_WHITE, " Niste ovlasteni da koristite tu komandu !");
}
return 1;
}3. Feb. 2012.
hvala, znao sam da je return u pitanju 😄 posto sam pocetnik pa ga nisam znao na dobro mjesto ubacit xD 😐 sad cu testat
Morate biti prijavljeni da biste odgovorili na ovu temu.
Prijava