[HELP]

Započeo Maad
23. Mar. 2013. Zaključano
241
pregleda
5
postova
Zoki_Topalovic
4
Shot Caller
23. Mar. 2013.
Skripta koju koristim:nbe
Detaljan opis problema: Ima bug npr nemoze helper da se porta do igraca pise da Ne moze da se porta do OSCa jaceg od vas .. Pa sam ja to brisao i nmg sada da compile stopped working a to je zato sto sam negde omasio { } pa ako neko ima strpljenja da pogleda i da resim to 😄                 
Dio skripte:
	                    }
else
{
SendClientMessage(playerid, COLOR_GRAD1, "  Nisi ovlascen da koristis ovu komandu (OSC+1,HELPER+1,MP+1,VIP+1) !");
}
}
}
else
{
format(string, sizeof(string), "  %d nije aktivan igrac.", plo);
SendClientMessage(playerid, COLOR_GRAD1, string);
}
}
else
{
SendClientMessage(playerid, COLOR_GREY, "Ne mozete se portati jer imate wanted");
}
}
else
{
SendClientMessage(playerid, COLOR_GREY, "Niste OSC,HELPER,VIP,MAPPER,PROMOTER !");
}
}
else
{
SendClientMessage(playerid, COLOR_GREY, "Ne mozete se portati do igraca koji ima wanted");
}
}
else
{
SendClientMessage(playerid, COLOR_GREY, "Ne mozete se portati jer ste u zatvoru");
}
}
            else
            {
  SendClientMessage(playerid, COLOR_GREY, "Ne mozete se portati jer radite poslove za koje ne sme port");
            }
      }
    return 1;
    }


Nisam citavu komandu copy vec ono u sta sam ubedjen da pravi problem 🙂 ..  Ako bude bilo potrebno stavice se.
sime30
4
Enforcer
23. Mar. 2013.
Daj mi cijelu komandu, iako vec vidim pogreške, ali da budemo sigurni da radi!
Zoki_Topalovic
4
Shot Caller
23. Mar. 2013.
if(strcmp(cmd, "/goto", true) == 0)
{
    if(IsPlayerConnected(playerid))
    {
tmp = strtok(cmdtext, idx);
if(!strlen(tmp))
{
SendClientMessage(playerid, COLOR_GRAD2, "KORISCENJE: /goto [playerid/Deo imena]");
return 1;
}
new Float:plocx,Float:plocy,Float:plocz;
new plo;
plo = ReturnUser(tmp);
//if(GetPVarInt(plo,"ESCTajmer") == 1) return SCM(playerid, COLOR_GREY, "Igrac je AFK !");
if(PlayerInfo > PlayerInfo)
{
if(PlayerInfo != 25 || PlayerInfo != 26 || PlayerInfo != 17 || PlayerInfo != 16 || PlayerInfo != 14 || PlayerInfo != 7)
            {
if(PlayerInfo <= 1 || PlayerInfo <= 1)
{
if(WantedPoints <= 1 || WantedLevel <= 1)
            {
if(PlayerInfo >= 1 || PlayerInfo >= 1 || PlayerInfo >= 1 || PlayerInfo >= 1)
{
if(WantedPoints <= 1 || WantedLevel <= 1 || BankaWL <= 1)
            {
if (IsPlayerConnected(plo))
{
    if(plo != INVALID_PLAYER_ID)
    {
if (PlayerInfo >= 1 || PlayerInfo >= 1 || PlayerInfo >= 1 || PlayerInfo >= 1)
{
if(Spectate != 255)
{
Spectate = 256;
}
GetPlayerPos(plo, plocx, plocy, plocz);
if(PlayerInfo > 0)
{
SetPlayerInterior(playerid,PlayerInfo);
PlayerInfo = PlayerInfo;
PlayerInfo = PlayerInfo;
}
if(PlayerInfo == 0)
{
SetPlayerInterior(playerid,0);
}
if(plocz > 530.0 && PlayerInfo == 0) //the highest land point in sa = 526.8
{
SetPlayerInterior(playerid,1);
PlayerInfo = 1;
}
if (GetPlayerState(playerid) == 2)
{
new tmpcar = GetPlayerVehicleID(playerid);
JBC_SetVehiclePos(tmpcar, plocx, plocy+4, plocz);
TelePos = 0.0;TelePos = 0.0;
}
else
{
JBC_SetPlayerPos(playerid,plocx,plocy+2, plocz);
}
SendClientMessage(playerid, COLOR_GRAD1, "  Teleportovani ste");
new sendgoto;
GetPlayerName(playerid, sendgoto, sizeof(sendgoto));
new gotostr;
format(gotostr,sizeof(gotostr), "* PORT: %s se teleportovao do tebe !", sendgoto);
SCM(plo, BELA, gotostr);
}
else
{
SendClientMessage(playerid, COLOR_GRAD1, "  Nisi ovlascen da koristis ovu komandu (OSC+1,HELPER+1,MP+1,VIP+1) !");
}
}
}
else
{
format(string, sizeof(string), "  %d nije aktivan igrac.", plo);
SendClientMessage(playerid, COLOR_GRAD1, string);
}
}
else
{
SendClientMessage(playerid, COLOR_GREY, "Ne mozete se portati jer imate wanted");
}
}
else
{
SendClientMessage(playerid, COLOR_GREY, "Niste OSC,HELPER,VIP,MAPPER,PROMOTER !");
}
}
else
{
SendClientMessage(playerid, COLOR_GREY, "Ne mozete se portati do igraca koji ima wanted");
}
}
else
{
SendClientMessage(playerid, COLOR_GREY, "Ne mozete se portati jer ste u zatvoru");
}
}
            else
            {
  SendClientMessage(playerid, COLOR_GREY, "Ne mozete se portati jer radite poslove za koje ne sme port");
            }
      }
    return 1;
    }
sime30
4
Enforcer
23. Mar. 2013.
Izvoli

if(strcmp(cmd, "/goto", true) == 0)
{
    if(IsPlayerConnected(playerid))
    {
tmp = strtok(cmdtext, idx);
if(!strlen(tmp))
{
SendClientMessage(playerid, COLOR_GRAD2, "KORISCENJE: /goto [playerid/Deo imena]");
return 1;
}
new Float:plocx,Float:plocy,Float:plocz;
new plo;
plo = ReturnUser(tmp);
//if(GetPVarInt(plo,"ESCTajmer") == 1) return SCM(playerid, COLOR_GREY, "Igrac je AFK !");
if(PlayerInfo > PlayerInfo)
{
if(PlayerInfo != 25 || PlayerInfo != 26 || PlayerInfo != 17 || PlayerInfo != 16 || PlayerInfo != 14 || PlayerInfo != 7)
            {
if(PlayerInfo <= 1 || PlayerInfo <= 1)
{
if(WantedPoints <= 1 || WantedLevel <= 1)
            {
if(PlayerInfo >= 1 || PlayerInfo >= 1 || PlayerInfo >= 1 || PlayerInfo >= 1)
{
if(WantedPoints <= 1 || WantedLevel <= 1 || BankaWL <= 1)
            {
if (IsPlayerConnected(plo))
{
    if(plo != INVALID_PLAYER_ID)
    {
if (PlayerInfo >= 1 || PlayerInfo >= 1 || PlayerInfo >= 1 || PlayerInfo >= 1)
{
if(Spectate != 255)
{
Spectate = 256;
}
GetPlayerPos(plo, plocx, plocy, plocz);
if(PlayerInfo > 0)
{
SetPlayerInterior(playerid,PlayerInfo);
PlayerInfo = PlayerInfo;
PlayerInfo = PlayerInfo;
}
if(PlayerInfo == 0)
{
SetPlayerInterior(playerid,0);
}
if(plocz > 530.0 && PlayerInfo == 0) //the highest land point in sa = 526.8
{
SetPlayerInterior(playerid,1);
PlayerInfo = 1;
}
if (GetPlayerState(playerid) == 2)
{
new tmpcar = GetPlayerVehicleID(playerid);
JBC_SetVehiclePos(tmpcar, plocx, plocy+4, plocz);
TelePos = 0.0;TelePos = 0.0;
}
else
{
JBC_SetPlayerPos(playerid,plocx,plocy+2, plocz);
}
SendClientMessage(playerid, COLOR_GRAD1, "  Teleportovani ste");
new sendgoto;
GetPlayerName(playerid, sendgoto, sizeof(sendgoto));
new gotostr;
format(gotostr,sizeof(gotostr), "* PORT: %s se teleportovao do tebe !", sendgoto);
SCM(plo, BELA, gotostr);
}
else
{
SendClientMessage(playerid, COLOR_GRAD1, "  Nisi ovlascen da koristis ovu komandu (OSC+1,HELPER+1,MP+1,VIP+1) !");
}
}
}
else
{
format(string, sizeof(string), "  %d nije aktivan igrac.", plo);
SendClientMessage(playerid, COLOR_GRAD1, string);
}
}
else
{
SendClientMessage(playerid, COLOR_GREY, "Ne mozete se portati jer imate wanted");
}
}
else
{
SendClientMessage(playerid, COLOR_GREY, "Niste OSC,HELPER,VIP,MAPPER,PROMOTER !");
}
}
else
{
SendClientMessage(playerid, COLOR_GREY, "Ne mozete se portati do igraca koji ima wanted");
}
}
else
{
SendClientMessage(playerid, COLOR_GREY, "Ne mozete se portati jer ste u zatvoru");
}
}
else
            {
  SendClientMessage(playerid, COLOR_GREY, "Ne mozete se portati jer radite poslove za koje ne sme port");
            }
}
      }
    return 1;
    }
Zoki_Topalovic
4
Shot Caller
23. Mar. 2013.
ty moze LOCK.

Morate biti prijavljeni da biste odgovorili na ovu temu.

Prijava

© 2026 SmartShark. All rights reserved.

Powered by Momentum|v2026.3.001 Alpha