Zagrade u CMD

Započeo Don Eagle, Maj 14, 2012, 21:35:14 POSLE PODNE

prethodna tema - sledeća tema

0 članova i 1 gost pregledaju ovu temu.

Skripta koju koristim : CLRP(moj edit)
Opis problema: Pa napravio sam komandu i nece da kompiluje fali neka zagrada ali nemogu prepoznati.
Deo skripte:
Neke slike (nebitno):

Komanda:

if (strcmp("/baza", cmdtext, true, 10) == 0)
{
    if (PlayerInfo[playerid][pLeader] == 5)
    {
            if (GetPlayerState(playerid) == 2)
{
new tmpcar = GetPlayerVehicleID(playerid);
SetVehiclePos(tmpcar, 8.7048,1535.6227,12.7500);
TelePos[playerid][0] = 0.0;TelePos[playerid][1] = 0.0;
}
else
{
SetPlayerPos(playerid, 8.7048,1535.6227,12.7500);
}
SendClientMessage(playerid, COLOR_GRAD1, "Teleportovani ste!");
SetPlayerInterior(playerid,0);
PlayerInfo[playerid][pInt] = 0;
    SetPlayerVirtualWorld(playerid, 0);
        PlayerInfo[playerid][pVirWorld] = 0;
    SendClientMessage(playerid, COLOR_GREY, "Portovao si se do baze.");
    }
            }
return 1;
    }
if (PlayerInfo[playerid][pLeader] == 2)
    {
            if (GetPlayerState(playerid) == 2)
{
new tmpcar = GetPlayerVehicleID(playerid);
SetVehiclePos(tmpcar, 8.7048,1535.6227,12.7500);
TelePos[playerid][0] = 0.0;TelePos[playerid][1] = 0.0;
}
else
{
SetPlayerPos(playerid, 8.7048,1535.6227,12.7500);
}
SendClientMessage(playerid, COLOR_GRAD1, "Teleportovani ste!");
SetPlayerInterior(playerid,0);
PlayerInfo[playerid][pInt] = 0;
    SetPlayerVirtualWorld(playerid, 0);
        PlayerInfo[playerid][pVirWorld] = 0;
    SendClientMessage(playerid, COLOR_GREY, "Portovao si se do baze.");
    }
            }
return 1;
    }
        if (PlayerInfo[playerid][pLeader] == 3)
    {
            if (GetPlayerState(playerid) == 2)
{
new tmpcar = GetPlayerVehicleID(playerid);
SetVehiclePos(tmpcar, 8.7048,1535.6227,12.7500);
TelePos[playerid][0] = 0.0;TelePos[playerid][1] = 0.0;
}
else
{
SetPlayerPos(playerid, 8.7048,1535.6227,12.7500);
}
SendClientMessage(playerid, COLOR_GRAD1, "Teleportovani ste!");
SetPlayerInterior(playerid,0);
PlayerInfo[playerid][pInt] = 0;
    SetPlayerVirtualWorld(playerid, 0);
        PlayerInfo[playerid][pVirWorld] = 0;
    SendClientMessage(playerid, COLOR_GREY, "Portovao si se do baze.");
            }
return 1;
    }
if (PlayerInfo[playerid][pLeader] == 8)
    {
            if (GetPlayerState(playerid) == 2)
{
new tmpcar = GetPlayerVehicleID(playerid);
SetVehiclePos(tmpcar, 8.7048,1535.6227,12.7500);
TelePos[playerid][0] = 0.0;TelePos[playerid][1] = 0.0;
}
else
{
SetPlayerPos(playerid, 8.7048,1535.6227,12.7500);
}
SendClientMessage(playerid, COLOR_GRAD1, "Teleportovani ste!");
SetPlayerInterior(playerid,0);
PlayerInfo[playerid][pInt] = 0;
    SetPlayerVirtualWorld(playerid, 0);
        PlayerInfo[playerid][pVirWorld] = 0;
    SendClientMessage(playerid, COLOR_GREY, "Portovao si se do baze.");
    }
            }
return 1;
    }
        if (PlayerInfo[playerid][pLeader] == 6)
    {
            if (GetPlayerState(playerid) == 2)
{
new tmpcar = GetPlayerVehicleID(playerid);
SetVehiclePos(tmpcar, 8.7048,1535.6227,12.7500);
TelePos[playerid][0] = 0.0;TelePos[playerid][1] = 0.0;
}
else
{
SetPlayerPos(playerid, 8.7048,1535.6227,12.7500);
}
SendClientMessage(playerid, COLOR_GRAD1, "Teleportovani ste!");
SetPlayerInterior(playerid,0);
PlayerInfo[playerid][pInt] = 0;
    SetPlayerVirtualWorld(playerid, 0);
        PlayerInfo[playerid][pVirWorld] = 0;
    SendClientMessage(playerid, COLOR_GREY, "Portovao si se do baze.");
    }
            }
return 1;
    }
if (PlayerInfo[playerid][pLeader] == 14)
    {
            if (GetPlayerState(playerid) == 2)
{
new tmpcar = GetPlayerVehicleID(playerid);
SetVehiclePos(tmpcar, 8.7048,1535.6227,12.7500);
TelePos[playerid][0] = 0.0;TelePos[playerid][1] = 0.0;
}
else
{
SetPlayerPos(playerid, 8.7048,1535.6227,12.7500);
}
SendClientMessage(playerid, COLOR_GRAD1, "Teleportovani ste!");
SetPlayerInterior(playerid,0);
PlayerInfo[playerid][pInt] = 0;
    SetPlayerVirtualWorld(playerid, 0);
        PlayerInfo[playerid][pVirWorld] = 0;
    SendClientMessage(playerid, COLOR_GREY, "Portovao si se do baze.");
    }
            }
return 1;
    }
if(PlayerInfo[playerid][pLeader] == 9)
        {
        if (GetPlayerState(playerid) == 2)
{
new tmpcar = GetPlayerVehicleID(playerid);
SetVehiclePos(tmpcar, 8.7048,1535.6227,12.7500);
TelePos[playerid][0] = 0.0;TelePos[playerid][1] = 0.0;
}
else
{
SetPlayerPos(playerid, 8.7048,1535.6227,12.7500);
}
SendClientMessage(playerid, COLOR_GRAD1, "Teleportovani ste!");
SetPlayerInterior(playerid,0);
PlayerInfo[playerid][pInt] = 0;
    SetPlayerVirtualWorld(playerid, 0);
        PlayerInfo[playerid][pVirWorld] = 0;
    SendClientMessage(playerid, COLOR_GREY, "Portovao si se do baze.");
    }
            }
return 1;
    }
    if(PlayerInfo[playerid][pLeader] == 1)
        {
        if (GetPlayerState(playerid) == 2)
{
new tmpcar = GetPlayerVehicleID(playerid);
SetVehiclePos(tmpcar, 8.7048,1535.6227,12.7500);
TelePos[playerid][0] = 0.0;TelePos[playerid][1] = 0.0;
}
else
{
SetPlayerPos(playerid, 8.7048,1535.6227,12.7500);
}
SendClientMessage(playerid, COLOR_GRAD1, "Teleportovani ste!");
SetPlayerInterior(playerid,0);
PlayerInfo[playerid][pInt] = 0;
    SetPlayerVirtualWorld(playerid, 0);
        PlayerInfo[playerid][pVirWorld] = 0;
    SendClientMessage(playerid, COLOR_GREY, "Portovao si se do baze.");
    }
            }
return 1;
    }
    if(PlayerInfo[playerid][pLeader] == 10)
        {
        if (GetPlayerState(playerid) == 2)
{
new tmpcar = GetPlayerVehicleID(playerid);
SetVehiclePos(tmpcar, 8.7048,1535.6227,12.7500);
TelePos[playerid][0] = 0.0;TelePos[playerid][1] = 0.0;
}
else
{
SetPlayerPos(playerid, 8.7048,1535.6227,12.7500);
}
SendClientMessage(playerid, COLOR_GRAD1, "Teleportovani ste!");
SetPlayerInterior(playerid,0);
PlayerInfo[playerid][pInt] = 0;
    SetPlayerVirtualWorld(playerid, 0);
        PlayerInfo[playerid][pVirWorld] = 0;
    SendClientMessage(playerid, COLOR_GREY, "Portovao si se do baze.");
    }
            }
return 1;
    }

Citat: _IcE_ poslato Maj 14, 2012, 21:39:26 POSLE PODNE
Citat: Don Eagle poslato Maj 14, 2012, 21:35:14 POSLE PODNE
Skripta koju koristim : CLRP(moj edit)
Opis problema: Pa napravio sam komandu i nece da kompiluje fali neka zagrada ali nemogu prepoznati.
Deo skripte:
Neke slike (nebitno):

Komanda:

if (strcmp("/baza", cmdtext, true, 10) == 0)
{
    if (PlayerInfo[playerid][pLeader] == 5)
    {
            if (GetPlayerState(playerid) == 2)
{
new tmpcar = GetPlayerVehicleID(playerid);
SetVehiclePos(tmpcar, 8.7048,1535.6227,12.7500);
TelePos[playerid][0] = 0.0;TelePos[playerid][1] = 0.0;
}
else
{
SetPlayerPos(playerid, 8.7048,1535.6227,12.7500);
}
SendClientMessage(playerid, COLOR_GRAD1, "Teleportovani ste!");
SetPlayerInterior(playerid,0);
PlayerInfo[playerid][pInt] = 0;
    SetPlayerVirtualWorld(playerid, 0);
        PlayerInfo[playerid][pVirWorld] = 0;
    SendClientMessage(playerid, COLOR_GREY, "Portovao si se do baze.");
    }
            }
return 1;
    }
if (PlayerInfo[playerid][pLeader] == 2)
    {
            if (GetPlayerState(playerid) == 2)
{
new tmpcar = GetPlayerVehicleID(playerid);
SetVehiclePos(tmpcar, 8.7048,1535.6227,12.7500);
TelePos[playerid][0] = 0.0;TelePos[playerid][1] = 0.0;
}
else
{
SetPlayerPos(playerid, 8.7048,1535.6227,12.7500);
}
SendClientMessage(playerid, COLOR_GRAD1, "Teleportovani ste!");
SetPlayerInterior(playerid,0);
PlayerInfo[playerid][pInt] = 0;
    SetPlayerVirtualWorld(playerid, 0);
        PlayerInfo[playerid][pVirWorld] = 0;
    SendClientMessage(playerid, COLOR_GREY, "Portovao si se do baze.");
    }
            }
return 1;
    }
        if (PlayerInfo[playerid][pLeader] == 3)
    {
            if (GetPlayerState(playerid) == 2)
{
new tmpcar = GetPlayerVehicleID(playerid);
SetVehiclePos(tmpcar, 8.7048,1535.6227,12.7500);
TelePos[playerid][0] = 0.0;TelePos[playerid][1] = 0.0;
}
else
{
SetPlayerPos(playerid, 8.7048,1535.6227,12.7500);
}
SendClientMessage(playerid, COLOR_GRAD1, "Teleportovani ste!");
SetPlayerInterior(playerid,0);
PlayerInfo[playerid][pInt] = 0;
    SetPlayerVirtualWorld(playerid, 0);
        PlayerInfo[playerid][pVirWorld] = 0;
    SendClientMessage(playerid, COLOR_GREY, "Portovao si se do baze.");
            }
return 1;
    }
if (PlayerInfo[playerid][pLeader] == 8)
    {
            if (GetPlayerState(playerid) == 2)
{
new tmpcar = GetPlayerVehicleID(playerid);
SetVehiclePos(tmpcar, 8.7048,1535.6227,12.7500);
TelePos[playerid][0] = 0.0;TelePos[playerid][1] = 0.0;
}
else
{
SetPlayerPos(playerid, 8.7048,1535.6227,12.7500);
}
SendClientMessage(playerid, COLOR_GRAD1, "Teleportovani ste!");
SetPlayerInterior(playerid,0);
PlayerInfo[playerid][pInt] = 0;
    SetPlayerVirtualWorld(playerid, 0);
        PlayerInfo[playerid][pVirWorld] = 0;
    SendClientMessage(playerid, COLOR_GREY, "Portovao si se do baze.");
    }
            }
return 1;
    }
        if (PlayerInfo[playerid][pLeader] == 6)
    {
            if (GetPlayerState(playerid) == 2)
{
new tmpcar = GetPlayerVehicleID(playerid);
SetVehiclePos(tmpcar, 8.7048,1535.6227,12.7500);
TelePos[playerid][0] = 0.0;TelePos[playerid][1] = 0.0;
}
else
{
SetPlayerPos(playerid, 8.7048,1535.6227,12.7500);
}
SendClientMessage(playerid, COLOR_GRAD1, "Teleportovani ste!");
SetPlayerInterior(playerid,0);
PlayerInfo[playerid][pInt] = 0;
    SetPlayerVirtualWorld(playerid, 0);
        PlayerInfo[playerid][pVirWorld] = 0;
    SendClientMessage(playerid, COLOR_GREY, "Portovao si se do baze.");
    }
            }
return 1;
    }
if (PlayerInfo[playerid][pLeader] == 14)
    {
            if (GetPlayerState(playerid) == 2)
{
new tmpcar = GetPlayerVehicleID(playerid);
SetVehiclePos(tmpcar, 8.7048,1535.6227,12.7500);
TelePos[playerid][0] = 0.0;TelePos[playerid][1] = 0.0;
}
else
{
SetPlayerPos(playerid, 8.7048,1535.6227,12.7500);
}
SendClientMessage(playerid, COLOR_GRAD1, "Teleportovani ste!");
SetPlayerInterior(playerid,0);
PlayerInfo[playerid][pInt] = 0;
    SetPlayerVirtualWorld(playerid, 0);
        PlayerInfo[playerid][pVirWorld] = 0;
    SendClientMessage(playerid, COLOR_GREY, "Portovao si se do baze.");
    }
            }
return 1;
    }
if(PlayerInfo[playerid][pLeader] == 9)
        {
        if (GetPlayerState(playerid) == 2)
{
new tmpcar = GetPlayerVehicleID(playerid);
SetVehiclePos(tmpcar, 8.7048,1535.6227,12.7500);
TelePos[playerid][0] = 0.0;TelePos[playerid][1] = 0.0;
}
else
{
SetPlayerPos(playerid, 8.7048,1535.6227,12.7500);
}
SendClientMessage(playerid, COLOR_GRAD1, "Teleportovani ste!");
SetPlayerInterior(playerid,0);
PlayerInfo[playerid][pInt] = 0;
    SetPlayerVirtualWorld(playerid, 0);
        PlayerInfo[playerid][pVirWorld] = 0;
    SendClientMessage(playerid, COLOR_GREY, "Portovao si se do baze.");
    }
            }
return 1;
    }
    if(PlayerInfo[playerid][pLeader] == 1)
        {
        if (GetPlayerState(playerid) == 2)
{
new tmpcar = GetPlayerVehicleID(playerid);
SetVehiclePos(tmpcar, 8.7048,1535.6227,12.7500);
TelePos[playerid][0] = 0.0;TelePos[playerid][1] = 0.0;
}
else
{
SetPlayerPos(playerid, 8.7048,1535.6227,12.7500);
}
SendClientMessage(playerid, COLOR_GRAD1, "Teleportovani ste!");
SetPlayerInterior(playerid,0);
PlayerInfo[playerid][pInt] = 0;
    SetPlayerVirtualWorld(playerid, 0);
        PlayerInfo[playerid][pVirWorld] = 0;
    SendClientMessage(playerid, COLOR_GREY, "Portovao si se do baze.");
    }
            }
return 1;
    }
    if(PlayerInfo[playerid][pLeader] == 10)
        {
        if (GetPlayerState(playerid) == 2)
{
new tmpcar = GetPlayerVehicleID(playerid);
SetVehiclePos(tmpcar, 8.7048,1535.6227,12.7500);
TelePos[playerid][0] = 0.0;TelePos[playerid][1] = 0.0;
}
else
{
SetPlayerPos(playerid, 8.7048,1535.6227,12.7500);
}
SendClientMessage(playerid, COLOR_GRAD1, "Teleportovani ste!");
SetPlayerInterior(playerid,0);
PlayerInfo[playerid][pInt] = 0;
    SetPlayerVirtualWorld(playerid, 0);
        PlayerInfo[playerid][pVirWorld] = 0;
    SendClientMessage(playerid, COLOR_GREY, "Portovao si se do baze.");
    }
            }
return 1;
    }

if (strcmp("/baza", cmdtext, true, 10) == 0)imas na pocetku if (strcmpova zagrada ti netreba

Ta zagrada treba.

zasto si tako ljen. ?!

Ako vec znas di si pogrijesio, i znas di je problem i zbog cega ti ne radi, pa potrudi se i popravi sam. Nemoj ocekivat da ce ti netko ovdje napravit :S


kombiniraj, stavi jos jednu } pa dodaj jos jednu {... Snadji se :S

Folder86

Citat: Claude_ poslato Maj 14, 2012, 21:46:32 POSLE PODNE
zasto si tako ljen. ?!

Ako vec znas di si pogrijesio, i znas di je problem i zbog cega ti ne radi, pa potrudi se i popravi sam. Nemoj ocekivat da ce ti netko ovdje napravit :S


kombiniraj, stavi jos jednu } pa dodaj jos jednu {... Snadji se :S

Hahaha, da zna da gdje je pogrijeÅ¡io nebi zatražio pomoć  :-\

Pokušaj
Citatif (strcmp("/baza", cmdtext, true, 10) == 0)
   {
       if (PlayerInfo[playerid][pLeader] == 5)
         {
            if (GetPlayerState(playerid) == 2)
            {
               new tmpcar = GetPlayerVehicleID(playerid);
               SetVehiclePos(tmpcar, 8.7048,1535.6227,12.7500);
               TelePos[playerid][0] = 0.0;TelePos[playerid][1] = 0.0;
            }
            else
            {
               SetPlayerPos(playerid, 8.7048,1535.6227,12.7500);
            }
            SendClientMessage(playerid, COLOR_GRAD1, "Teleportovani ste!");
            SetPlayerInterior(playerid,0);
            PlayerInfo[playerid][pInt] = 0;
             SetPlayerVirtualWorld(playerid, 0);
              PlayerInfo[playerid][pVirWorld] = 0;
               SendClientMessage(playerid, COLOR_GREY, "Portovao si se do baze.");
               }
            }
         return 1;
         }
      if (PlayerInfo[playerid][pLeader] == 2)
         {
            if (GetPlayerState(playerid) == 2)
            {
               new tmpcar = GetPlayerVehicleID(playerid);
               SetVehiclePos(tmpcar, 8.7048,1535.6227,12.7500);
               TelePos[playerid][0] = 0.0;TelePos[playerid][1] = 0.0;
            }
            else
            {
               SetPlayerPos(playerid, 8.7048,1535.6227,12.7500);
            }
            SendClientMessage(playerid, COLOR_GRAD1, "Teleportovani ste!");
            SetPlayerInterior(playerid,0);
            PlayerInfo[playerid][pInt] = 0;
             SetPlayerVirtualWorld(playerid, 0);
              PlayerInfo[playerid][pVirWorld] = 0;
               SendClientMessage(playerid, COLOR_GREY, "Portovao si se do baze.");
               }
            }
         return 1;
         }
        if (PlayerInfo[playerid][pLeader] == 3)
         {
            if (GetPlayerState(playerid) == 2)
            {
               new tmpcar = GetPlayerVehicleID(playerid);
               SetVehiclePos(tmpcar, 8.7048,1535.6227,12.7500);
               TelePos[playerid][0] = 0.0;TelePos[playerid][1] = 0.0;
            }
            else
            {
               SetPlayerPos(playerid, 8.7048,1535.6227,12.7500);
            }
            SendClientMessage(playerid, COLOR_GRAD1, "Teleportovani ste!");
            SetPlayerInterior(playerid,0);
            PlayerInfo[playerid][pInt] = 0;
             SetPlayerVirtualWorld(playerid, 0);
              PlayerInfo[playerid][pVirWorld] = 0;
               SendClientMessage(playerid, COLOR_GREY, "Portovao si se do baze.");
            }
         return 1;
         }
      if (PlayerInfo[playerid][pLeader] == 8)
         {
            if (GetPlayerState(playerid) == 2)
            {
               new tmpcar = GetPlayerVehicleID(playerid);
               SetVehiclePos(tmpcar, 8.7048,1535.6227,12.7500);
               TelePos[playerid][0] = 0.0;TelePos[playerid][1] = 0.0;
            }
            else
            {
               SetPlayerPos(playerid, 8.7048,1535.6227,12.7500);
            }
            SendClientMessage(playerid, COLOR_GRAD1, "Teleportovani ste!");
            SetPlayerInterior(playerid,0);
            PlayerInfo[playerid][pInt] = 0;
             SetPlayerVirtualWorld(playerid, 0);
              PlayerInfo[playerid][pVirWorld] = 0;
               SendClientMessage(playerid, COLOR_GREY, "Portovao si se do baze.");
               }
            }
         return 1;
         }
        if (PlayerInfo[playerid][pLeader] == 6)
         {
            if (GetPlayerState(playerid) == 2)
            {
               new tmpcar = GetPlayerVehicleID(playerid);
               SetVehiclePos(tmpcar, 8.7048,1535.6227,12.7500);
               TelePos[playerid][0] = 0.0;TelePos[playerid][1] = 0.0;
            }
            else
            {
               SetPlayerPos(playerid, 8.7048,1535.6227,12.7500);
            }
            SendClientMessage(playerid, COLOR_GRAD1, "Teleportovani ste!");
            SetPlayerInterior(playerid,0);
            PlayerInfo[playerid][pInt] = 0;
             SetPlayerVirtualWorld(playerid, 0);
              PlayerInfo[playerid][pVirWorld] = 0;
               SendClientMessage(playerid, COLOR_GREY, "Portovao si se do baze.");
               }
            }
         return 1;
         }
      if (PlayerInfo[playerid][pLeader] == 14)
         {
            if (GetPlayerState(playerid) == 2)
            {
               new tmpcar = GetPlayerVehicleID(playerid);
               SetVehiclePos(tmpcar, 8.7048,1535.6227,12.7500);
               TelePos[playerid][0] = 0.0;TelePos[playerid][1] = 0.0;
            }
            else
            {
               SetPlayerPos(playerid, 8.7048,1535.6227,12.7500);
            }
            SendClientMessage(playerid, COLOR_GRAD1, "Teleportovani ste!");
            SetPlayerInterior(playerid,0);
            PlayerInfo[playerid][pInt] = 0;
             SetPlayerVirtualWorld(playerid, 0);
              PlayerInfo[playerid][pVirWorld] = 0;
               SendClientMessage(playerid, COLOR_GREY, "Portovao si se do baze.");
               }
            }
         return 1;
         }
      if(PlayerInfo[playerid][pLeader] == 9)
        {
           if (GetPlayerState(playerid) == 2)
            {
               new tmpcar = GetPlayerVehicleID(playerid);
               SetVehiclePos(tmpcar, 8.7048,1535.6227,12.7500);
               TelePos[playerid][0] = 0.0;TelePos[playerid][1] = 0.0;
            }
            else
            {
               SetPlayerPos(playerid, 8.7048,1535.6227,12.7500);
            }
            SendClientMessage(playerid, COLOR_GRAD1, "Teleportovani ste!");
            SetPlayerInterior(playerid,0);
            PlayerInfo[playerid][pInt] = 0;
             SetPlayerVirtualWorld(playerid, 0);
              PlayerInfo[playerid][pVirWorld] = 0;
               SendClientMessage(playerid, COLOR_GREY, "Portovao si se do baze.");
               }
            }
         return 1;
         }
         if(PlayerInfo[playerid][pLeader] == 1)
        {
           if (GetPlayerState(playerid) == 2)
            {
               new tmpcar = GetPlayerVehicleID(playerid);
               SetVehiclePos(tmpcar, 8.7048,1535.6227,12.7500);
               TelePos[playerid][0] = 0.0;TelePos[playerid][1] = 0.0;
            }
            else
            {
               SetPlayerPos(playerid, 8.7048,1535.6227,12.7500);
            }
            SendClientMessage(playerid, COLOR_GRAD1, "Teleportovani ste!");
            SetPlayerInterior(playerid,0);
            PlayerInfo[playerid][pInt] = 0;
             SetPlayerVirtualWorld(playerid, 0);
              PlayerInfo[playerid][pVirWorld] = 0;
               SendClientMessage(playerid, COLOR_GREY, "Portovao si se do baze.");
               }
            }
         return 1;
         }
         if(PlayerInfo[playerid][pLeader] == 10)
        {
           if (GetPlayerState(playerid) == 2)
            {
               new tmpcar = GetPlayerVehicleID(playerid);
               SetVehiclePos(tmpcar, 8.7048,1535.6227,12.7500);
               TelePos[playerid][0] = 0.0;TelePos[playerid][1] = 0.0;
            }
            else
            {
               SetPlayerPos(playerid, 8.7048,1535.6227,12.7500);
            }
            SendClientMessage(playerid, COLOR_GRAD1, "Teleportovani ste!");
            SetPlayerInterior(playerid,0);
            PlayerInfo[playerid][pInt] = 0;
             SetPlayerVirtualWorld(playerid, 0);
              PlayerInfo[playerid][pVirWorld] = 0;
               SendClientMessage(playerid, COLOR_GREY, "Portovao si se do baze.");
               }
           
         return 1;
         }