[pomoc] Komanda ne postoji(problem)

Započeo MT3 bolinx
2. Feb. 2012. Zaključano
585
pregleda
5
postova
Paul McCartney
4
Enforcer
2. Feb. 2012.
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:
Luis
5
Godfather
3. Feb. 2012.
Postavi te 2 komande..
Paul McCartney
4
Enforcer
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 !");
        }
}
Luis
5
Godfather
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;
}
Paul McCartney
4
Enforcer
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

© 2026 SmartShark. All rights reserved.

Powered by Momentum|v2026.3.001 Alpha