Potrebna mi je pomoc!

Započeo Hunter.#, Maj 20, 2019, 13:56:37 POSLE PODNE

prethodna tema - sledeća tema

0 članova i 2 gostiju pregledaju ovu temu.

Problem(error/warning): Kako mogu da namestim da Admin 7(Vlasnik) da moze da se porta do Admin 8 (Skripter)?
Deo skripte: if( PlayerInfo[playerid][pAdmin] < PlayerInfo[giveplayerid][pAdmin]) return SCM(playerid,-1,""esco_boja"BC:"BELA"RPG: "BELA"Ne mozete se portati do igraca koji je jaci od vas!");
Debug iz server_log(ukoliko je u pitanju crashanje servera - crashdetect log): NEMA
Slika/video ingame problema(obavezno ako je ingame problem): NEMA
Poslednja Izmena: Maj 22, 2019, 21:19:01 POSLE PODNE od Bašovski

Nemam vremena da pravim nešto komplikovanije, ali mislim da će ovo pomoći.
Ispravite me ukoliko sam negdje pogriješio, žurim ;)
if(PlayerInfo[playerid][pAdmin] < 7)
{
	if( PlayerInfo[playerid][pAdmin] < PlayerInfo[giveplayerid][pAdmin]) 
	return SCM(playerid,-1,""esco_boja"BC:"BELA"RPG: "BELA"Ne mozete se portati do igraca koji je jaci od vas!");
}
else
{
	GetPlayerPos(giveplayerid, x, y, z);
	SetPlayerPos(playerid, x+1, y+1, z);
}

Citat: RevOLvɘЯ.pwn poslato Maj 20, 2019, 14:30:09 POSLE PODNE
Nemam vremena da pravim nešto komplikovanije, ali mislim da će ovo pomoći.
Ispravite me ukoliko sam negdje pogriješio, žurim ;)
if(PlayerInfo[playerid][pAdmin] < 7)
{
	if( PlayerInfo[playerid][pAdmin] < PlayerInfo[giveplayerid][pAdmin]) 
	return SCM(playerid,-1,""esco_boja"BC:"BELA"RPG: "BELA"Ne mozete se portati do igraca koji je jaci od vas!");
}
else
{
	GetPlayerPos(giveplayerid, x, y, z);
	SetPlayerPos(playerid, x+1, y+1, z);
}

Brate imam komandu /goto ali ja hocu da znam kako da namestim A7 da moze da se gota do A8


EVO CMD:

YCMD:goto(playerid, params[],help)
{

   if(PlayerInfo[playerid][pRadi] == 1) return SCM(playerid,-1,""esco_boja"BC:"BELA"RPG: "BELA"Radis posao ne mozes da koristis ovu komandu!");
   if(GetPVarInt(playerid,"EditorMode") == 1) return SCM(playerid,-1,""esco_boja"BC:"BELA"RPG: "BELA"Zasto bi koristio ovu komanndu kad koristis namestaj sistem, gde ti je MOZAK?!");
   new string[128], giveplayerid, giveplayer[MAX_PLAYER_NAME];
   new Float:plx,Float:ply,Float:plz;
   if(PlayerInfo[playerid][pAdmin] >= 1 || PlayerInfo[playerid][pGM] >= 1 || PlayerInfo[playerid][pPromoter] >= 1 || PlayerInfo[playerid][pVip] >= 5)
   {
      if( !sscanf(params, "u", giveplayerid ) ) {
          if( giveplayerid == INVALID_PLAYER_ID ) return SCM(playerid, -1,""LeGeNDaJeCar"Igrac nije povezan!");
          if( PlayerInfo[playerid][pPromoter] == 1 && PlayerInfo[giveplayerid][pAdmin] >= 1) return SCM(playerid,-1,""esco_boja"BC:"BELA"RPG: "BELA"Ne mozete se portati do igraca koji je jaci od vas!");
          if( PlayerInfo[playerid][pPromoter] == 1 && PlayerInfo[giveplayerid][pGM] >= 1) return SCM(playerid,-1,""esco_boja"BC:"BELA"RPG: "BELA"Ne mozete se portati do igraca koji je jaci od vas!");
          if( PlayerInfo[playerid][pGM] >= 1 && PlayerInfo[giveplayerid][pAdmin] >= 1) return SCM(playerid,-1,""esco_boja"BC:"BELA"RPG: "BELA"Ne mozete se portati do igraca koji je jaci od vas!");
          if( PlayerInfo[playerid][pVip] >= 1 && PlayerInfo[giveplayerid][pAdmin] >= 1) return SCM(playerid,-1,""esco_boja"BC:"BELA"RPG: "BELA"Ne mozete se portati do igraca koji je jaci od vas!");
            if( PlayerInfo[playerid][pVip] >= 1 && PlayerInfo[giveplayerid][pGM] >= 1) return SCM(playerid,-1,""esco_boja"BC:"BELA"RPG: "BELA"Ne mozete se portati do igraca koji je jaci od vas!");
            if( PlayerInfo[playerid][pAdmin] < PlayerInfo[giveplayerid][pAdmin]) return SCM(playerid,-1,""esco_boja"BC:"BELA"RPG: "BELA"Ne mozete se portati do igraca koji je jaci od vas!");
         if( PlayerInfo[playerid][pTrazeniLevel] >= 1) return SCM(playerid,-1,""esco_boja"BC:"BELA"RPG:"BELA"Ne mozete se portati do igraca jer imate trazeni level!");
         if( PlayerInfo[giveplayerid][pTrazeniLevel] >= 1) return SCM(playerid,-1,""esco_boja"BC:"BELA"RPG: "BELA"Ne mozete se portati do igraca koji ima trazeni level!");
         if( PlayerInfo[playerid][pZatvor] != 0) return SCM(playerid,-1,""esco_boja"BC:"BELA"RPG: "BELA"Ne mozete se portati do igraca jer ste zatvoreni!");
         if( PlayerInfo[giveplayerid][pGoto] == 1) return SCM(playerid,-1,""esco_boja"BC:"BELA"RPG: "BELA"Igrac je zabranio mogucnost portanja do njegal!");
            if( PlayerInfo[giveplayerid][pZatvor] != 0) return SCM(playerid,-1,""esco_boja"BC:"BELA"RPG: "BELA"Ne mozete se portati do igraca jer je zatvoren!");
         if( PlayerInfo[playerid][pWar] >= 1) return SCM(playerid,-1,""esco_boja"BC:"BELA"RPG: "BELA"Ne mozete se portati do igraca jer ste u waru!");
         if( PlayerInfo[giveplayerid][pWar] >= 1) return SCM(playerid,-1,""esco_boja"BC:"BELA"RPG: "BELA"Ne mozete se portati do igraca jer je u waru!");
         if(giveplayerid == playerid) return SCM(playerid, -1, "Ne mozes do samog sebe!");
         GetPlayerName(giveplayerid, giveplayer, sizeof(giveplayer)); GetPlayerPos(giveplayerid, plx, ply, plz);
         if (GetPlayerState(playerid) == 2)
         {
            new tmpcar = GetPlayerVehicleID(playerid);
            SetVehiclePos(tmpcar, plx, ply+4, plz);
         }
         else
         {
            SetPlayerPos(playerid,plx,ply+2, plz);
         }
         SetPlayerInterior(playerid, GetPlayerInterior(giveplayerid));
         SetPlayerVirtualWorld(playerid, GetPlayerVirtualWorld(giveplayerid));

         format(string, sizeof(string),""esco_boja"BC:"BELA"RPG: "BELA"Teleportovao si se do igraca %s.",GetName(giveplayerid));
         SCM(playerid, -1, string);
         new arank[124];
         if(PlayerInfo[playerid][pAdmin] == 1) { arank = "Admin 1"; }
         else if(PlayerInfo[playerid][pAdmin] == 2) { arank = "Admin 2"; }
         else if(PlayerInfo[playerid][pAdmin] == 3) { arank = "Admin 3"; }
         else if(PlayerInfo[playerid][pAdmin] == 4) { arank = "Admin 4"; }
         else if(PlayerInfo[playerid][pAdmin] == 5) { arank = "Head Admin"; }
         else if(PlayerInfo[playerid][pAdmin] == 8) { arank = "Skripter"; }
         else if(PlayerInfo[playerid][pVlasnik] == 1) { arank = "Vlasnik"; }
         else if(PlayerInfo[playerid][pAdmin] == 6) { arank = "Direktor"; }
         else if(PlayerInfo[playerid][pAdmin] == 7) { arank = "Vlasnik"; }
         else if(PlayerInfo[playerid][pGM] == 1) { arank = "Helper 1"; }
         else if(PlayerInfo[playerid][pGM] == 2) { arank = "Helper 2"; }
         else if(PlayerInfo[playerid][pGM] == 3) { arank = "Vodja Helpera"; }
         else if(PlayerInfo[playerid][pPromoter] == 1) { arank = "Promoter"; }
         else if(PlayerInfo[playerid][pVip] == 1) { arank = "Vip Level 1"; }
         else if(PlayerInfo[playerid][pVip] == 2) { arank = "Vip Level 2"; }
         else if(PlayerInfo[playerid][pVip] == 3) { arank = "Vip Level 3"; }
         else if(PlayerInfo[playerid][pVip] == 4) { arank = "Vip Level 4"; }
         else if(PlayerInfo[playerid][pVip] == 5) { arank = "Premium"; }
         format(string, sizeof(string),""SRWBOJA"(BC:RPG): "BELA"%s %s se teleportovao do tebe.",arank, GetName(playerid));
         SCM(giveplayerid, -1, string);
      }
      else SCM(playerid, -1,""esco_boja"BC:"BELA"RPG: "BELA"/goto [ID/Nick]");
   }
   else SCM(playerid, -1,""esco_boja"BC:"BELA"RPG: "BELA"Samo Admini & Helperi!");
   return 1;
}

YCMD:goto(playerid, params[],help)
{

   if(PlayerInfo[playerid][pRadi] == 1) return SCM(playerid,-1,""esco_boja"BC:"BELA"RPG: "BELA"Radis posao ne mozes da koristis ovu komandu!");
   if(GetPVarInt(playerid,"EditorMode") == 1) return SCM(playerid,-1,""esco_boja"BC:"BELA"RPG: "BELA"Zasto bi koristio ovu komanndu kad koristis namestaj sistem, gde ti je MOZAK?!");
   new string[128], giveplayerid, giveplayer[MAX_PLAYER_NAME];
   new Float:plx,Float:ply,Float:plz;
   if(PlayerInfo[playerid][pAdmin] >= 1 || PlayerInfo[playerid][pGM] >= 1 || PlayerInfo[playerid][pPromoter] >= 1 || PlayerInfo[playerid][pVip] >= 5)
   {
      if( !sscanf(params, "u", giveplayerid ) ) {
          if( giveplayerid == INVALID_PLAYER_ID ) return SCM(playerid, -1,""LeGeNDaJeCar"Igrac nije povezan!");
          if( PlayerInfo[playerid][pPromoter] == 1 && PlayerInfo[giveplayerid][pAdmin] >= 1) return SCM(playerid,-1,""esco_boja"BC:"BELA"RPG: "BELA"Ne mozete se portati do igraca koji je jaci od vas!");
          if( PlayerInfo[playerid][pPromoter] == 1 && PlayerInfo[giveplayerid][pGM] >= 1) return SCM(playerid,-1,""esco_boja"BC:"BELA"RPG: "BELA"Ne mozete se portati do igraca koji je jaci od vas!");
          if( PlayerInfo[playerid][pGM] >= 1 && PlayerInfo[giveplayerid][pAdmin] >= 1) return SCM(playerid,-1,""esco_boja"BC:"BELA"RPG: "BELA"Ne mozete se portati do igraca koji je jaci od vas!");
          if( PlayerInfo[playerid][pVip] >= 1 && PlayerInfo[giveplayerid][pAdmin] >= 1) return SCM(playerid,-1,""esco_boja"BC:"BELA"RPG: "BELA"Ne mozete se portati do igraca koji je jaci od vas!");
            if( PlayerInfo[playerid][pVip] >= 1 && PlayerInfo[giveplayerid][pGM] >= 1) return SCM(playerid,-1,""esco_boja"BC:"BELA"RPG: "BELA"Ne mozete se portati do igraca koji je jaci od vas!");
            if( PlayerInfo[playerid][pAdmin] < PlayerInfo[giveplayerid][pAdmin] && PlayerInfo[playerid][pAdmin] < 7) return SCM(playerid,-1,""esco_boja"BC:"BELA"RPG: "BELA"Ne mozete se portati do igraca koji je jaci od vas!");
         if( PlayerInfo[playerid][pTrazeniLevel] >= 1) return SCM(playerid,-1,""esco_boja"BC:"BELA"RPG:"BELA"Ne mozete se portati do igraca jer imate trazeni level!");
         if( PlayerInfo[giveplayerid][pTrazeniLevel] >= 1) return SCM(playerid,-1,""esco_boja"BC:"BELA"RPG: "BELA"Ne mozete se portati do igraca koji ima trazeni level!");
         if( PlayerInfo[playerid][pZatvor] != 0) return SCM(playerid,-1,""esco_boja"BC:"BELA"RPG: "BELA"Ne mozete se portati do igraca jer ste zatvoreni!");
         if( PlayerInfo[giveplayerid][pGoto] == 1) return SCM(playerid,-1,""esco_boja"BC:"BELA"RPG: "BELA"Igrac je zabranio mogucnost portanja do njegal!");
            if( PlayerInfo[giveplayerid][pZatvor] != 0) return SCM(playerid,-1,""esco_boja"BC:"BELA"RPG: "BELA"Ne mozete se portati do igraca jer je zatvoren!");
         if( PlayerInfo[playerid][pWar] >= 1) return SCM(playerid,-1,""esco_boja"BC:"BELA"RPG: "BELA"Ne mozete se portati do igraca jer ste u waru!");
         if( PlayerInfo[giveplayerid][pWar] >= 1) return SCM(playerid,-1,""esco_boja"BC:"BELA"RPG: "BELA"Ne mozete se portati do igraca jer je u waru!");
         if(giveplayerid == playerid) return SCM(playerid, -1, "Ne mozes do samog sebe!");
         GetPlayerName(giveplayerid, giveplayer, sizeof(giveplayer)); GetPlayerPos(giveplayerid, plx, ply, plz);
         if (GetPlayerState(playerid) == 2)
         {
            new tmpcar = GetPlayerVehicleID(playerid);
            SetVehiclePos(tmpcar, plx, ply+4, plz);
         }
         else
         {
            SetPlayerPos(playerid,plx,ply+2, plz);
         }
         SetPlayerInterior(playerid, GetPlayerInterior(giveplayerid));
         SetPlayerVirtualWorld(playerid, GetPlayerVirtualWorld(giveplayerid));

         format(string, sizeof(string),""esco_boja"BC:"BELA"RPG: "BELA"Teleportovao si se do igraca %s.",GetName(giveplayerid));
         SCM(playerid, -1, string);
         new arank[124];
         if(PlayerInfo[playerid][pAdmin] == 1) { arank = "Admin 1"; }
         else if(PlayerInfo[playerid][pAdmin] == 2) { arank = "Admin 2"; }
         else if(PlayerInfo[playerid][pAdmin] == 3) { arank = "Admin 3"; }
         else if(PlayerInfo[playerid][pAdmin] == 4) { arank = "Admin 4"; }
         else if(PlayerInfo[playerid][pAdmin] == 5) { arank = "Head Admin"; }
         else if(PlayerInfo[playerid][pAdmin] == 8) { arank = "Skripter"; }
         else if(PlayerInfo[playerid][pVlasnik] == 1) { arank = "Vlasnik"; }
         else if(PlayerInfo[playerid][pAdmin] == 6) { arank = "Direktor"; }
         else if(PlayerInfo[playerid][pAdmin] == 7) { arank = "Vlasnik"; }
         else if(PlayerInfo[playerid][pGM] == 1) { arank = "Helper 1"; }
         else if(PlayerInfo[playerid][pGM] == 2) { arank = "Helper 2"; }
         else if(PlayerInfo[playerid][pGM] == 3) { arank = "Vodja Helpera"; }
         else if(PlayerInfo[playerid][pPromoter] == 1) { arank = "Promoter"; }
         else if(PlayerInfo[playerid][pVip] == 1) { arank = "Vip Level 1"; }
         else if(PlayerInfo[playerid][pVip] == 2) { arank = "Vip Level 2"; }
         else if(PlayerInfo[playerid][pVip] == 3) { arank = "Vip Level 3"; }
         else if(PlayerInfo[playerid][pVip] == 4) { arank = "Vip Level 4"; }
         else if(PlayerInfo[playerid][pVip] == 5) { arank = "Premium"; }
         format(string, sizeof(string),""SRWBOJA"(BC:RPG): "BELA"%s %s se teleportovao do tebe.",arank, GetName(playerid));
         SCM(giveplayerid, -1, string);
      }
      else SCM(playerid, -1,""esco_boja"BC:"BELA"RPG: "BELA"/goto [ID/Nick]");
   }
   else SCM(playerid, -1,""esco_boja"BC:"BELA"RPG: "BELA"Samo Admini & Helperi!");
   return 1;
}
Probaj

Facebook - Klik



c0x

*

Izbrisi iz cmd ovu proveru...
if( PlayerInfo[playerid][pAdmin] < PlayerInfo[giveplayerid][pAdmin]) return SCM(playerid,-1,""esco_boja"BC:"BELA"RPG: "BELA"Ne mozete se portati do igraca koji je jaci od vas!");

Citat: c0x poslato Maj 21, 2019, 11:21:20 PRE PODNE
Izbrisi iz cmd ovu proveru...
if( PlayerInfo[playerid][pAdmin] < PlayerInfo[giveplayerid][pAdmin]) return SCM(playerid,-1,""esco_boja"BC:"BELA"RPG: "BELA"Ne mozete se portati do igraca koji je jaci od vas!");

Zasto bi to izbrisao kad to znaci ako je playerinfo od igraca koji je koristio komandu pAdmin manji od Plejer Infa od id-a koji je igrac ukucao da mu zaustavi funkciju i poslaje poruku..  ::) ???

Citat: • Shomy • poslato Maj 21, 2019, 11:17:49 PRE PODNE
YCMD:goto(playerid, params[],help)
{

   if(PlayerInfo[playerid][pRadi] == 1) return SCM(playerid,-1,""esco_boja"BC:"BELA"RPG: "BELA"Radis posao ne mozes da koristis ovu komandu!");
   if(GetPVarInt(playerid,"EditorMode") == 1) return SCM(playerid,-1,""esco_boja"BC:"BELA"RPG: "BELA"Zasto bi koristio ovu komanndu kad koristis namestaj sistem, gde ti je MOZAK?!");
   new string[128], giveplayerid, giveplayer[MAX_PLAYER_NAME];
   new Float:plx,Float:ply,Float:plz;
   if(PlayerInfo[playerid][pAdmin] >= 1 || PlayerInfo[playerid][pGM] >= 1 || PlayerInfo[playerid][pPromoter] >= 1 || PlayerInfo[playerid][pVip] >= 5)
   {
      if( !sscanf(params, "u", giveplayerid ) ) {
          if( giveplayerid == INVALID_PLAYER_ID ) return SCM(playerid, -1,""LeGeNDaJeCar"Igrac nije povezan!");
          if( PlayerInfo[playerid][pPromoter] == 1 && PlayerInfo[giveplayerid][pAdmin] >= 1) return SCM(playerid,-1,""esco_boja"BC:"BELA"RPG: "BELA"Ne mozete se portati do igraca koji je jaci od vas!");
          if( PlayerInfo[playerid][pPromoter] == 1 && PlayerInfo[giveplayerid][pGM] >= 1) return SCM(playerid,-1,""esco_boja"BC:"BELA"RPG: "BELA"Ne mozete se portati do igraca koji je jaci od vas!");
          if( PlayerInfo[playerid][pGM] >= 1 && PlayerInfo[giveplayerid][pAdmin] >= 1) return SCM(playerid,-1,""esco_boja"BC:"BELA"RPG: "BELA"Ne mozete se portati do igraca koji je jaci od vas!");
          if( PlayerInfo[playerid][pVip] >= 1 && PlayerInfo[giveplayerid][pAdmin] >= 1) return SCM(playerid,-1,""esco_boja"BC:"BELA"RPG: "BELA"Ne mozete se portati do igraca koji je jaci od vas!");
            if( PlayerInfo[playerid][pVip] >= 1 && PlayerInfo[giveplayerid][pGM] >= 1) return SCM(playerid,-1,""esco_boja"BC:"BELA"RPG: "BELA"Ne mozete se portati do igraca koji je jaci od vas!");
            if( PlayerInfo[playerid][pAdmin] < PlayerInfo[giveplayerid][pAdmin] && PlayerInfo[playerid][pAdmin] < 7) return SCM(playerid,-1,""esco_boja"BC:"BELA"RPG: "BELA"Ne mozete se portati do igraca koji je jaci od vas!");
         if( PlayerInfo[playerid][pTrazeniLevel] >= 1) return SCM(playerid,-1,""esco_boja"BC:"BELA"RPG:"BELA"Ne mozete se portati do igraca jer imate trazeni level!");
         if( PlayerInfo[giveplayerid][pTrazeniLevel] >= 1) return SCM(playerid,-1,""esco_boja"BC:"BELA"RPG: "BELA"Ne mozete se portati do igraca koji ima trazeni level!");
         if( PlayerInfo[playerid][pZatvor] != 0) return SCM(playerid,-1,""esco_boja"BC:"BELA"RPG: "BELA"Ne mozete se portati do igraca jer ste zatvoreni!");
         if( PlayerInfo[giveplayerid][pGoto] == 1) return SCM(playerid,-1,""esco_boja"BC:"BELA"RPG: "BELA"Igrac je zabranio mogucnost portanja do njegal!");
            if( PlayerInfo[giveplayerid][pZatvor] != 0) return SCM(playerid,-1,""esco_boja"BC:"BELA"RPG: "BELA"Ne mozete se portati do igraca jer je zatvoren!");
         if( PlayerInfo[playerid][pWar] >= 1) return SCM(playerid,-1,""esco_boja"BC:"BELA"RPG: "BELA"Ne mozete se portati do igraca jer ste u waru!");
         if( PlayerInfo[giveplayerid][pWar] >= 1) return SCM(playerid,-1,""esco_boja"BC:"BELA"RPG: "BELA"Ne mozete se portati do igraca jer je u waru!");
         if(giveplayerid == playerid) return SCM(playerid, -1, "Ne mozes do samog sebe!");
         GetPlayerName(giveplayerid, giveplayer, sizeof(giveplayer)); GetPlayerPos(giveplayerid, plx, ply, plz);
         if (GetPlayerState(playerid) == 2)
         {
            new tmpcar = GetPlayerVehicleID(playerid);
            SetVehiclePos(tmpcar, plx, ply+4, plz);
         }
         else
         {
            SetPlayerPos(playerid,plx,ply+2, plz);
         }
         SetPlayerInterior(playerid, GetPlayerInterior(giveplayerid));
         SetPlayerVirtualWorld(playerid, GetPlayerVirtualWorld(giveplayerid));

         format(string, sizeof(string),""esco_boja"BC:"BELA"RPG: "BELA"Teleportovao si se do igraca %s.",GetName(giveplayerid));
         SCM(playerid, -1, string);
         new arank[124];
         if(PlayerInfo[playerid][pAdmin] == 1) { arank = "Admin 1"; }
         else if(PlayerInfo[playerid][pAdmin] == 2) { arank = "Admin 2"; }
         else if(PlayerInfo[playerid][pAdmin] == 3) { arank = "Admin 3"; }
         else if(PlayerInfo[playerid][pAdmin] == 4) { arank = "Admin 4"; }
         else if(PlayerInfo[playerid][pAdmin] == 5) { arank = "Head Admin"; }
         else if(PlayerInfo[playerid][pAdmin] == 8) { arank = "Skripter"; }
         else if(PlayerInfo[playerid][pVlasnik] == 1) { arank = "Vlasnik"; }
         else if(PlayerInfo[playerid][pAdmin] == 6) { arank = "Direktor"; }
         else if(PlayerInfo[playerid][pAdmin] == 7) { arank = "Vlasnik"; }
         else if(PlayerInfo[playerid][pGM] == 1) { arank = "Helper 1"; }
         else if(PlayerInfo[playerid][pGM] == 2) { arank = "Helper 2"; }
         else if(PlayerInfo[playerid][pGM] == 3) { arank = "Vodja Helpera"; }
         else if(PlayerInfo[playerid][pPromoter] == 1) { arank = "Promoter"; }
         else if(PlayerInfo[playerid][pVip] == 1) { arank = "Vip Level 1"; }
         else if(PlayerInfo[playerid][pVip] == 2) { arank = "Vip Level 2"; }
         else if(PlayerInfo[playerid][pVip] == 3) { arank = "Vip Level 3"; }
         else if(PlayerInfo[playerid][pVip] == 4) { arank = "Vip Level 4"; }
         else if(PlayerInfo[playerid][pVip] == 5) { arank = "Premium"; }
         format(string, sizeof(string),""SRWBOJA"(BC:RPG): "BELA"%s %s se teleportovao do tebe.",arank, GetName(playerid));
         SCM(giveplayerid, -1, string);
      }
      else SCM(playerid, -1,""esco_boja"BC:"BELA"RPG: "BELA"/goto [ID/Nick]");
   }
   else SCM(playerid, -1,""esco_boja"BC:"BELA"RPG: "BELA"Samo Admini & Helperi!");
   return 1;
}
Probaj
Hvala ti brate sredio sam