Закрыть Привет! Если вы читаете это - Вы еще не зарегистрированы. Это займет не больше минуты. Нажмите здесь, чтобы пройти регистрацию в несколько простых шагов, чтобы пользоваться всеми возможностями нашего форума. Обратите внимание, запрещены непристойные, матерные, бессмысленные (цифры, случайный набор букв) ники. Удачи!

Тема: Новый /teleport

Показано с 1 по 10 из 21

  1. #1
    Пользователь

    Аватар для Alan_Waket

    Статус: Оффлайн
    Регистрация:02.10.2012
    Адрес:Волжский
    Сообщений:261
    Репутация:129 [+/-] 

    Новый /teleport

    Автор: Alan_Waket
    Время работы: 50 минут
    Код:

    В public OnPlayerCommandText(playerid, cmdtext[]) добавим:

    PHP код:
    else if(strcmp(cmd"/teleport"true) == || strcmp(cmd"/tp"true) == 0)
            {
                    if(
    PlayerInfo[playerid][pAdmin] >= 1
                    {
                        new 
    listitems[] = "Гос. структуры\nNews\nМафии\nБанды\nДругие места";
                           
    ShowPlayerDialog(playerid8000DIALOG_STYLE_LIST"Teleport List"listitems"Выбрать""Закрыть");
                       }
                     else
                       {
                           
    SendClientMessage(playeridCOLOR_GREY"Вы не уполномочены использовать эту команду");
                        return 
    1;
                    }
                    return 
    1;
            } 
    Ко всем case добавим:

    PHP код:
        case 8000:
            {
                if(
    response)
                {
                    if(
    listitem == 0)
                    {
                        
    ShowPlayerDialog(playerid8001DIALOG_STYLE_LIST"Гос структуры""LSPD\nFBI\nSFa\nSFMC\nMayor\nSFPD\nInstructors\nLVa\nLVPD\nLSMC\nТюрьма""Выбрать""<< Назад");
                        return 
    1;
                    }
                    else if(
    listitem == 1)
                    {
                        
    ShowPlayerDialog(playerid8002DIALOG_STYLE_LIST"News""Los Santos News\nSan Firro News\nLas Venturas News""Выбрать""<< Назад");
                        return 
    1;
                    }
                    else if(
    listitem == 2)
                    {
                        
    ShowPlayerDialog(playerid8003DIALOG_STYLE_LIST"Мафии""Yakuza\nLa Cosa Nostra\nRussia Mafia""Выбрать""<< Назад");
                        return 
    1;
                    }
                    else if(
    listitem == 3)
                    {
                        
    ShowPlayerDialog(playerid8004DIALOG_STYLE_LIST"Банды""East Side Ballas\nLos Santos Vagos Gang\nGroove Street Gang\nLos Aztecas Gang\nThe Rifa Gang""Выбрать""<< Назад");
                        return 
    1;
                    }
                    else if(
    listitem == 4)
                    {
                        
    ShowPlayerDialog(playerid8005DIALOG_STYLE_LIST"Другие места""Магазин одежды LS\nАвтовокзал San Fierro\nLas Venturas\nБанк\nДерби\nГонки LS\nPaintboll\nЧилиад\nНебоскреб\nПляж Санта-Мария\nЛес\nСТО LS\nАммо LS\nVineWood\nSpawn""Выбрать""<< Назад");
                        return 
    1;
                    }
                }
            } 
    Снова ко всем case

    case

    PHP код:
       case 8001:
            {
                new 
    sendername[MAX_PLAYER_NAME];
                
    GetPlayerName(playeridsendernamesizeof(sendername));
                if(
    response)
                {
                    switch(
    listitem)
                    {
                        case 
    0:
                        {
                            if (
    GetPlayerState(playerid) == 2)
                            {
                                new 
    tmpcar GetPlayerVehicleID(playerid);
                                
    SetVehiclePos(tmpcar1550.5822,-1694.3402,6.2188);
                                
    TelePos[playerid][0] = 0.0;TelePos[playerid][1] = 0.0;
                                return 
    1;
                            }
                            else
                            {
                                
    SetPlayerPos(playerid1550.5822,-1694.3402,6.2188);
                            }
                            
    SendClientMessage(playeridCOLOR_WHITE"Вы были телепортированы в LSPD");
                            
    SetPlayerInterior(playerid,0);
                            
    SetPlayerVirtualWorld(playerid,0);
                            
    PlayerInfo[playerid][pInt] = 0;
                            return 
    1;
                        }
                        case 
    1:
                        {
                            if (
    GetPlayerState(playerid) == 2)
                            {
                                new 
    tmpcar GetPlayerVehicleID(playerid);
                                
    SetVehiclePos(tmpcar, -2510.8499,-622.1688,132.7189);
                                
    TelePos[playerid][0] = 0.0;TelePos[playerid][1] = 0.0;
                                return 
    1;
                            }
                            else
                            {
                                
    SetPlayerPos(playerid, -2510.8499,-622.1688,132.7189);
                            }
                            
    SendClientMessage(playeridCOLOR_WHITE"Вы были телепортированы в FBI");
                            
    SetPlayerInterior(playerid,0);
                            
    SetPlayerVirtualWorld(playerid,0);
                            
    PlayerInfo[playerid][pInt] = 0;
                            return 
    1;
                        }
                        case 
    2:
                        {
                            if (
    GetPlayerState(playerid) == 2)
                            {
                                new 
    tmpcar GetPlayerVehicleID(playerid);
                                
    SetVehiclePos(tmpcar, -1312.4324,506.7943,18.2344);
                                
    TelePos[playerid][0] = 0.0;TelePos[playerid][1] = 0.0;
                                return 
    1;
                            }
                            else
                            {
                                
    SetPlayerPos(playerid, -1312.4324,506.7943,18.2344);
                            }
                            
    SendClientMessage(playeridCOLOR_WHITE"Вы были телепортированы в SFa");
                            
    SetPlayerInterior(playerid,0);
                            
    SetPlayerVirtualWorld(playerid,0);
                            
    PlayerInfo[playerid][pInt] = 0;
                            return 
    1;
                        }
                        case 
    3:
                        {
                            if (
    GetPlayerState(playerid) == 2)
                            {
                                new 
    tmpcar GetPlayerVehicleID(playerid);
                                
    SetVehiclePos(tmpcar, -2662.8628,625.9925,14.4531);
                                
    TelePos[playerid][0] = 0.0;TelePos[playerid][1] = 0.0;
                                return 
    1;
                            }
                            else
                            {
                                
    SetPlayerPos(playerid, -2662.8628,625.9925,14.4531);
                            }
                            
    SendClientMessage(playeridCOLOR_WHITE"Вы были телепортированы в SFMC");
                            
    SetPlayerInterior(playerid,0);
                            
    SetPlayerVirtualWorld(playerid,0);
                            
    PlayerInfo[playerid][pInt] = 0;
                            return 
    1;
                        }
                        case 
    4:
                        {
                            if (
    GetPlayerState(playerid) == 2)
                            {
                                new 
    tmpcar GetPlayerVehicleID(playerid);
                                
    SetVehiclePos(tmpcar1521.1864,-1760.3815,13.5469);
                                
    TelePos[playerid][0] = 0.0;TelePos[playerid][1] = 0.0;
                                return 
    1;
                            }
                            else
                            {
                                
    SetPlayerPos(playerid1521.1864,-1760.3815,13.5469);
                            }
                            
    SendClientMessage(playeridCOLOR_WHITE"Вы были телепортированы в Мэрию");
                            
    SetPlayerInterior(playerid,0);
                            
    SetPlayerVirtualWorld(playerid,0);
                            
    PlayerInfo[playerid][pInt] = 0;
                            return 
    1;
                        }
                        case 
    5:
                        {
                            if (
    GetPlayerState(playerid) == 2)
                            {
                                new 
    tmpcar GetPlayerVehicleID(playerid);
                                
    SetVehiclePos(tmpcar, -1590.9252,698.1960,-4.9063);
                                
    TelePos[playerid][0] = 0.0;TelePos[playerid][1] = 0.0;
                                return 
    1;
                            }
                            else
                            {
                                
    SetPlayerPos(playerid, -1590.9252,698.1960,-4.9063);
                            }
                            
    SendClientMessage(playeridCOLOR_WHITE"Вы были телепортированы в SFPD");
                            
    SetPlayerInterior(playerid,0);
                            
    SetPlayerVirtualWorld(playerid,0);
                            
    PlayerInfo[playerid][pInt] = 0;
                            return 
    1;
                        }
                        case 
    6:
                        {
                            if (
    GetPlayerState(playerid) == 2)
                            {
                                new 
    tmpcar GetPlayerVehicleID(playerid);
                                
    SetVehiclePos(tmpcar, -2032.1699,-99.8547,35.1641);
                                
    TelePos[playerid][0] = 0.0;TelePos[playerid][1] = 0.0;
                                return 
    1;
                            }
                            else
                            {
                                
    SetPlayerPos(playerid, -2032.1699,-99.8547,35.1641);
                            }
                            
    SendClientMessage(playeridCOLOR_WHITE"Вы были телепортированы в АШ");
                            
    SetPlayerInterior(playerid,0);
                            
    SetPlayerVirtualWorld(playerid,0);
                            
    PlayerInfo[playerid][pInt] = 0;
                            return 
    1;
                        }
                        case 
    7:
                        {
                            if (
    GetPlayerState(playerid) == 2)
                            {
                                new 
    tmpcar GetPlayerVehicleID(playerid);
                                
    SetVehiclePos(tmpcar215.1117,1912.7854,17.6406);
                                
    TelePos[playerid][0] = 0.0;TelePos[playerid][1] = 0.0;
                                return 
    1;
                            }
                            else
                            {
                                
    SetPlayerPos(playerid215.1117,1912.7854,17.6406);
                            }
                            
    SendClientMessage(playeridCOLOR_WHITE"Вы были телепортированы в LVa");
                            
    SetPlayerInterior(playerid,0);
                            
    SetPlayerVirtualWorld(playerid,0);
                            
    PlayerInfo[playerid][pInt] = 0;
                            return 
    1;
                        }
                        case 
    8:
                        {
                            if (
    GetPlayerState(playerid) == 2)
                            {
                                new 
    tmpcar GetPlayerVehicleID(playerid);
                                
    SetVehiclePos(tmpcar2287.3755,2456.5376,10.8203);
                                
    TelePos[playerid][0] = 0.0;TelePos[playerid][1] = 0.0;
                                return 
    1;
                            }
                            else
                            {
                                
    SetPlayerPos(playerid2287.3755,2456.5376,10.8203);
                            }
                            
    SendClientMessage(playeridCOLOR_WHITE"Вы были телепортированы в LVPD");
                            
    SetPlayerInterior(playerid,0);
                            
    SetPlayerVirtualWorld(playerid,0);
                            
    PlayerInfo[playerid][pInt] = 0;
                            return 
    1;
                        }
                        case 
    9:
                        {
                            if (
    GetPlayerState(playerid) == 2)
                            {
                                new 
    tmpcar GetPlayerVehicleID(playerid);
                                
    SetVehiclePos(tmpcar1179.6946,-1317.2178,14.1569);
                                
    TelePos[playerid][0] = 0.0;TelePos[playerid][1] = 0.0;
                                return 
    1;
                            }
                            else
                            {
                                
    SetPlayerPos(playerid1179.6946,-1317.2178,14.1569);
                            }
                            
    SendClientMessage(playeridCOLOR_WHITE"Вы были телепортированы в LSMC");
                            
    SetPlayerInterior(playerid,0);
                            
    SetPlayerVirtualWorld(playerid,0);
                            
    PlayerInfo[playerid][pInt] = 0;
                            return 
    1;
                        }
                        case 
    10:
                        {
                            if (
    GetPlayerState(playerid) == 2)
                            {
                                new 
    tmpcar GetPlayerVehicleID(playerid);
                                
    SetVehiclePos(tmpcar655.1415,-2448.8237,2.0000);
                                
    TelePos[playerid][0] = 0.0;TelePos[playerid][1] = 0.0;
                                return 
    1;
                            }
                            else
                            {
                                
    SetPlayerPos(playerid655.1415,-2448.8237,2.0000);
                            }
                            
    SendClientMessage(playeridCOLOR_WHITE"Вы были телепортированы в Тюрьму");
                            
    SetPlayerInterior(playerid,0);
                            
    SetPlayerVirtualWorld(playerid,0);
                            
    PlayerInfo[playerid][pInt] = 0;
                            return 
    1;
                        }
                    }
                }
                else
                {
                    return 
    1;
                }
            }
            case 
    8002:
            {
                new 
    sendername[MAX_PLAYER_NAME];
                
    GetPlayerName(playeridsendernamesizeof(sendername));
                if(
    response)
                {
                    switch(
    listitem)
                    {
                        case 
    0:
                        {
                            if (
    GetPlayerState(playerid) == 2)
                            {
                                new 
    tmpcar GetPlayerVehicleID(playerid);
                                
    SetVehiclePos(tmpcar1656.4579,-1708.9310,15.6094);
                                
    TelePos[playerid][0] = 0.0;TelePos[playerid][1] = 0.0;
                                return 
    1;
                            }
                            else
                            {
                                
    SetPlayerPos(playerid1656.4579,-1708.9310,15.6094);
                            }
                            
    SendClientMessage(playeridCOLOR_WHITE"Вы были телепортированы в LSn");
                            
    SetPlayerInterior(playerid,0);
                            
    SetPlayerVirtualWorld(playerid,0);
                            
    PlayerInfo[playerid][pInt] = 0;
                            return 
    1;
                        }
                        case 
    1:
                        {
                            if (
    GetPlayerState(playerid) == 2)
                            {
                                new 
    tmpcar GetPlayerVehicleID(playerid);
                                
    SetVehiclePos(tmpcar, -2044.9746,465.4711,35.1719);
                                
    TelePos[playerid][0] = 0.0;TelePos[playerid][1] = 0.0;
                                return 
    1;
                            }
                            else
                            {
                                
    SetPlayerPos(playerid, -2044.9746,465.4711,35.1719);
                            }
                            
    SendClientMessage(playeridCOLOR_WHITE"Вы были телепортированы в SFn");
                            
    SetPlayerInterior(playerid,0);
                            
    SetPlayerVirtualWorld(playerid,0);
                            
    PlayerInfo[playerid][pInt] = 0;
                            return 
    1;
                        }
                        case 
    2:
                        {
                            if (
    GetPlayerState(playerid) == 2)
                            {
                                new 
    tmpcar GetPlayerVehicleID(playerid);
                                
    SetVehiclePos(tmpcar2646.2444,1177.2518,10.8203);
                                
    TelePos[playerid][0] = 0.0;TelePos[playerid][1] = 0.0;
                                return 
    1;
                            }
                            else
                            {
                                
    SetPlayerPos(playerid2646.2444,1177.2518,10.8203);
                            }
                            
    SendClientMessage(playeridCOLOR_WHITE"Вы были телепортированы в LVn");
                            
    SetPlayerInterior(playerid,0);
                            
    SetPlayerVirtualWorld(playerid,0);
                            
    PlayerInfo[playerid][pInt] = 0;
                            return 
    1;
                        }
                    }
                }
                else
                {
                    return 
    1;
                }
            }
            case 
    8003:
            {
                new 
    sendername[MAX_PLAYER_NAME];
                
    GetPlayerName(playeridsendernamesizeof(sendername));
                if(
    response)
                {
                    switch(
    listitem)
                    {
                        case 
    0:
                        {
                            if (
    GetPlayerState(playerid) == 2)
                            {
                                new 
    tmpcar GetPlayerVehicleID(playerid);
                                
    SetVehiclePos(tmpcar1473.9479,2766.0149,10.8203);
                                
    TelePos[playerid][0] = 0.0;TelePos[playerid][1] = 0.0;
                                return 
    1;
                            }
                            else
                            {
                                
    SetPlayerPos(playerid1473.9479,2766.0149,10.8203);
                            }
                            
    SendClientMessage(playeridCOLOR_WHITE"Вы были телепортированы к мафии Yakuza");
                            
    SetPlayerInterior(playerid,0);
                            
    SetPlayerVirtualWorld(playerid,0);
                            
    PlayerInfo[playerid][pInt] = 0;
                            return 
    1;
                        }
                        case 
    1:
                        {
                            if (
    GetPlayerState(playerid) == 2)
                            {
                                new 
    tmpcar GetPlayerVehicleID(playerid);
                                
    SetVehiclePos(tmpcar1444.8938,749.1046,10.8203);
                                
    TelePos[playerid][0] = 0.0;TelePos[playerid][1] = 0.0;
                                return 
    1;
                            }
                            else
                            {
                                
    SetPlayerPos(playerid1444.8938,749.1046,10.8203);
                            }
                            
    SendClientMessage(playeridCOLOR_WHITE"Вы были телепортированы к мафии LCN");
                            
    SetPlayerInterior(playerid,0);
                            
    SetPlayerVirtualWorld(playerid,0);
                            
    PlayerInfo[playerid][pInt] = 0;
                            return 
    1;
                        }
                        case 
    2:
                        {
                            if (
    GetPlayerState(playerid) == 2)
                            {
                                new 
    tmpcar GetPlayerVehicleID(playerid);
                                
    SetVehiclePos(tmpcar950.5236,1733.0696,8.6484);
                                
    TelePos[playerid][0] = 0.0;TelePos[playerid][1] = 0.0;
                                return 
    1;
                            }
                            else
                            {
                                
    SetPlayerPos(playerid950.5236,1733.0696,8.6484);
                            }
                            
    SendClientMessage(playeridCOLOR_WHITE"Вы были телепортированы к мафии Russia Mafia");
                            
    SetPlayerInterior(playerid,0);
                            
    SetPlayerVirtualWorld(playerid,0);
                            
    PlayerInfo[playerid][pInt] = 0;
                            return 
    1;
                        }
                    }
                }
                else
                {
                    return 
    1;
                }
            }
            case 
    8004:
            {
                new 
    sendername[MAX_PLAYER_NAME];
                
    GetPlayerName(playeridsendernamesizeof(sendername));
                if(
    response)
                {
                    switch(
    listitem)
                    {
                        case 
    0:
                        {
                            if (
    GetPlayerState(playerid) == 2)
                            {
                                new 
    tmpcar GetPlayerVehicleID(playerid);
                                
    SetVehiclePos(tmpcar2643.3176,-2012.5537,13.5547);
                                
    TelePos[playerid][0] = 0.0;TelePos[playerid][1] = 0.0;
                                return 
    1;
                            }
                            else
                            {
                                
    SetPlayerPos(playerid2643.3176,-2012.5537,13.5547);
                            }
                            
    SendClientMessage(playeridCOLOR_WHITE"Вы были телепортированы к Ballas");
                            
    SetPlayerInterior(playerid,0);
                            
    SetPlayerVirtualWorld(playerid,0);
                            
    PlayerInfo[playerid][pInt] = 0;
                            return 
    1;
                        }
                        case 
    1:
                        {
                            if (
    GetPlayerState(playerid) == 2)
                            {
                                new 
    tmpcar GetPlayerVehicleID(playerid);
                                
    SetVehiclePos(tmpcar2775.6533,-1617.8169,10.9219);
                                
    TelePos[playerid][0] = 0.0;TelePos[playerid][1] = 0.0;
                                return 
    1;
                            }
                            else
                            {
                                
    SetPlayerPos(playerid2775.6533,-1617.8169,10.9219);
                            }
                            
    SendClientMessage(playeridCOLOR_WHITE"Вы были телепортированы к Vagos");
                            
    SetPlayerInterior(playerid,0);
                            
    SetPlayerVirtualWorld(playerid,0);
                            
    PlayerInfo[playerid][pInt] = 0;
                            return 
    1;
                        }
                        case 
    2:
                        {
                            if (
    GetPlayerState(playerid) == 2)
                            {
                                new 
    tmpcar GetPlayerVehicleID(playerid);
                                
    SetVehiclePos(tmpcar2497.1655,-1678.4117,13.3489);
                                
    TelePos[playerid][0] = 0.0;TelePos[playerid][1] = 0.0;
                                return 
    1;
                            }
                            else
                            {
                                
    SetPlayerPos(playerid2497.1655,-1678.4117,13.3489);
                            }
                            
    SendClientMessage(playeridCOLOR_WHITE"Вы были телепортированы к Groove");
                            
    SetPlayerInterior(playerid,0);
                            
    SetPlayerVirtualWorld(playerid,0);
                            
    PlayerInfo[playerid][pInt] = 0;
                            return 
    1;
                        }
                        case 
    3:
                        {
                            if (
    GetPlayerState(playerid) == 2)
                            {
                                new 
    tmpcar GetPlayerVehicleID(playerid);
                                
    SetVehiclePos(tmpcar1890.6366,-2039.8671,13.5469);
                                
    TelePos[playerid][0] = 0.0;TelePos[playerid][1] = 0.0;
                                return 
    1;
                            }
                            else
                            {
                                
    SetPlayerPos(playerid1890.6366,-2039.8671,13.5469);
                            }
                            
    SendClientMessage(playeridCOLOR_WHITE"Вы были телепортированы к Aztec");
                            
    SetPlayerInterior(playerid,0);
                            
    SetPlayerVirtualWorld(playerid,0);
                            
    PlayerInfo[playerid][pInt] = 0;
                            return 
    1;
                        }
                        case 
    4:
                        {
                            if (
    GetPlayerState(playerid) == 2)
                            {
                                new 
    tmpcar GetPlayerVehicleID(playerid);
                                
    SetVehiclePos(tmpcar2182.9004,-1804.4967,13.3701);
                                
    TelePos[playerid][0] = 0.0;TelePos[playerid][1] = 0.0;
                                return 
    1;
                            }
                            else
                            {
                                
    SetPlayerPos(playerid2182.9004,-1804.4967,13.3701);
                            }
                            
    SendClientMessage(playeridCOLOR_WHITE"Вы были телепортированы к Rifa");
                            
    SetPlayerInterior(playerid,0);
                            
    SetPlayerVirtualWorld(playerid,0);
                            
    PlayerInfo[playerid][pInt] = 0;
                            return 
    1;
                        }
                    }
                }
                else
                {
                    return 
    1;
                }
            }
            case 
    8005:
            {
                new 
    sendername[MAX_PLAYER_NAME];
                
    GetPlayerName(playeridsendernamesizeof(sendername));
                if(
    response)
                {
                    switch(
    listitem)
                    {
                        case 
    0:
                        {
                            if (
    GetPlayerState(playerid) == 2)
                            {
                                new 
    tmpcar GetPlayerVehicleID(playerid);
                                
    SetVehiclePos(tmpcar435.6340,-1507.0796,31.0381);
                                
    TelePos[playerid][0] = 0.0;TelePos[playerid][1] = 0.0;
                                return 
    1;
                            }
                            else
                            {
                                
    SetPlayerPos(playerid435.6340,-1507.0796,31.0381);
                            }
                            
    SendClientMessage(playeridCOLOR_WHITE"Вы были телепортированы к магазину одежды");
                            
    SetPlayerInterior(playerid,0);
                            
    SetPlayerVirtualWorld(playerid,0);
                            
    PlayerInfo[playerid][pInt] = 0;
                            return 
    1;
                        }
                        case 
    1:
                        {
                            if (
    GetPlayerState(playerid) == 2)
                            {
                                new 
    tmpcar GetPlayerVehicleID(playerid);
                                
    SetVehiclePos(tmpcar, -1994.0812,200.7428,27.6875);
                                
    TelePos[playerid][0] = 0.0;TelePos[playerid][1] = 0.0;
                                return 
    1;
                            }
                            else
                            {
                                
    SetPlayerPos(playerid, -1994.0812,200.7428,27.6875);
                            }
                            
    SendClientMessage(playeridCOLOR_WHITE"Вы были телепортированы к АВ SF");
                            
    SetPlayerInterior(playerid,0);
                            
    SetPlayerVirtualWorld(playerid,0);
                            
    PlayerInfo[playerid][pInt] = 0;
                            return 
    1;
                        }
                        case 
    2:
                        {
                            if (
    GetPlayerState(playerid) == 2)
                            {
                                new 
    tmpcar GetPlayerVehicleID(playerid);
                                
    SetVehiclePos(tmpcar1824.1693,878.7547,10.5247);
                                
    TelePos[playerid][0] = 0.0;TelePos[playerid][1] = 0.0;
                                return 
    1;
                            }
                            else
                            {
                                
    SetPlayerPos(playerid1824.1693,878.7547,10.5247);
                            }
                            
    SendClientMessage(playeridCOLOR_WHITE"Вы были телепортированы в центр LV");
                            
    SetPlayerInterior(playerid,0);
                            
    SetPlayerVirtualWorld(playerid,0);
                            
    PlayerInfo[playerid][pInt] = 0;
                            return 
    1;
                        }
                        case 
    3:
                        {
                            if (
    GetPlayerState(playerid) == 2)
                            {
                                new 
    tmpcar GetPlayerVehicleID(playerid);
                                
    SetVehiclePos(tmpcar1238.3883,-1412.1561,13.2351);
                                
    TelePos[playerid][0] = 0.0;TelePos[playerid][1] = 0.0;
                                return 
    1;
                            }
                            else
                            {
                                
    SetPlayerPos(playerid,1238.3883,-1412.1561,13.2351);
                            }
                            
    SendClientMessage(playeridCOLOR_WHITE"Вы были телепортированы в банк");
                            
    SetPlayerInterior(playerid,0);
                            
    SetPlayerVirtualWorld(playerid,0);
                            
    PlayerInfo[playerid][pInt] = 0;
                            return 
    1;
                        }
                        case 
    4:
                        {
                            if (
    GetPlayerState(playerid) == 2)
                            {
                                new 
    tmpcar GetPlayerVehicleID(playerid);
                                
    SetVehiclePos(tmpcar2692.1946,-1708.2686,11.8478);
                                
    TelePos[playerid][0] = 0.0;TelePos[playerid][1] = 0.0;
                                return 
    1;
                            }
                            else
                            {
                                
    SetPlayerPos(playerid2692.1946,-1708.2686,11.8478);
                            }
                            
    SendClientMessage(playeridCOLOR_WHITE"Вы были телепортированы на дерби");
                            
    SetPlayerInterior(playerid,0);
                            
    SetPlayerVirtualWorld(playerid,0);
                            
    PlayerInfo[playerid][pInt] = 0;
                            return 
    1;
                        }
                        case 
    5:
                        {
                            if (
    GetPlayerState(playerid) == 2)
                            {
                                new 
    tmpcar GetPlayerVehicleID(playerid);
                                
    SetVehiclePos(tmpcar1966.4540,-2183.4915,13.5469);
                                
    TelePos[playerid][0] = 0.0;TelePos[playerid][1] = 0.0;
                                return 
    1;
                            }
                            else
                            {
                                
    SetPlayerPos(playerid,1966.4540,-2183.4915,13.5469);
                            }
                            
    SendClientMessage(playeridCOLOR_WHITE"Вы были телепортированы на гонки LS");
                            
    SetPlayerInterior(playerid,0);
                            
    SetPlayerVirtualWorld(playerid,0);
                            
    PlayerInfo[playerid][pInt] = 0;
                            return 
    1;
                        }
                        case 
    6:
                        {
                            if (
    GetPlayerState(playerid) == 2)
                            {
                                new 
    tmpcar GetPlayerVehicleID(playerid);
                                
    SetVehiclePos(tmpcar514.8319,-1812.4177,6.5781);
                                
    TelePos[playerid][0] = 0.0;TelePos[playerid][1] = 0.0;
                                return 
    1;
                            }
                            else
                            {
                                
    SetPlayerPos(playerid,514.8319,-1812.4177,6.5781);
                            }
                            
    SendClientMessage(playeridCOLOR_WHITE"Вы были телепортированы на Paintboll");
                            
    SetPlayerInterior(playerid,0);
                            
    SetPlayerVirtualWorld(playerid,0);
                            
    PlayerInfo[playerid][pInt] = 0;
                            return 
    1;
                        }
                        case 
    7:
                        {
                            if (
    GetPlayerState(playerid) == 2)
                            {
                                new 
    tmpcar GetPlayerVehicleID(playerid);
                                
    SetVehiclePos(tmpcar, -2255.1206,-1709.6025,479.9015);
                                
    TelePos[playerid][0] = 0.0;TelePos[playerid][1] = 0.0;
                                return 
    1;
                            }
                            else
                            {
                                
    SetPlayerPos(playerid,-2255.1206,-1709.6025,479.9015);
                            }
                            
    SendClientMessage(playeridCOLOR_WHITE"Вы были телепортированы на Чилиад");
                            
    SetPlayerInterior(playerid,0);
                            
    SetPlayerVirtualWorld(playerid,0);
                            
    PlayerInfo[playerid][pInt] = 0;
                            return 
    1;
                        }
                        case 
    8:
                        {
                            if (
    GetPlayerState(playerid) == 2)
                            {
                                new 
    tmpcar GetPlayerVehicleID(playerid);
                                
    SetVehiclePos(tmpcar1548.1827,-1355.0808,329.4779);
                                
    TelePos[playerid][0] = 0.0;TelePos[playerid][1] = 0.0;
                                return 
    1;
                            }
                            else
                            {
                                
    SetPlayerPos(playerid,1548.1827,-1355.0808,329.4779);
                            }
                            
    SendClientMessage(playeridCOLOR_WHITE"Вы были телепортированы на крышу небоскреба");
                            
    SetPlayerInterior(playerid,0);
                            
    SetPlayerVirtualWorld(playerid,0);
                            
    PlayerInfo[playerid][pInt] = 0;
                            return 
    1;
                        }
                        case 
    9:
                        {
                            if (
    GetPlayerState(playerid) == 2)
                            {
                                new 
    tmpcar GetPlayerVehicleID(playerid);
                                
    SetVehiclePos(tmpcar244.4765,-1830.8729,3.7576);
                                
    TelePos[playerid][0] = 0.0;TelePos[playerid][1] = 0.0;
                                return 
    1;
                            }
                            else
                            {
                                
    SetPlayerPos(playerid,244.4765,-1830.8729,3.7576);
                            }
                            
    SendClientMessage(playeridCOLOR_WHITE"Вы были телепортированы на пляж Санта-Мария");
                            
    SetPlayerInterior(playerid,0);
                            
    SetPlayerVirtualWorld(playerid,0);
                            
    PlayerInfo[playerid][pInt] = 0;
                            return 
    1;
                        }
                        case 
    10:
                        {
                            if (
    GetPlayerState(playerid) == 2)
                            {
                                new 
    tmpcar GetPlayerVehicleID(playerid);
                                
    SetVehiclePos(tmpcar, -676.2554,-1938.6755,14.4278);
                                
    TelePos[playerid][0] = 0.0;TelePos[playerid][1] = 0.0;
                                return 
    1;
                            }
                            else
                            {
                                
    SetPlayerPos(playerid,-676.2554,-1938.6755,14.4278);
                            }
                            
    SendClientMessage(playeridCOLOR_WHITE"Вы были телепортированы в лес");
                            
    SetPlayerInterior(playerid,0);
                            
    SetPlayerVirtualWorld(playerid,0);
                            
    PlayerInfo[playerid][pInt] = 0;
                            return 
    1;
                        }
                        case 
    11:
                        {
                            if (
    GetPlayerState(playerid) == 2)
                            {
                                new 
    tmpcar GetPlayerVehicleID(playerid);
                                
    SetVehiclePos(tmpcar841.1260,-596.6574,18.3297);
                                
    TelePos[playerid][0] = 0.0;TelePos[playerid][1] = 0.0;
                                return 
    1;
                            }
                            else
                            {
                                
    SetPlayerPos(playerid,841.1260,-596.6574,18.3297);
                            }
                            
    SendClientMessage(playeridCOLOR_WHITE"Вы были телепортированы в СТО LS");
                            
    SetPlayerInterior(playerid,0);
                            
    SetPlayerVirtualWorld(playerid,0);
                            
    PlayerInfo[playerid][pInt] = 0;
                            return 
    1;
                        }
                        case 
    12:
                        {
                            if (
    GetPlayerState(playerid) == 2)
                            {
                                new 
    tmpcar GetPlayerVehicleID(playerid);
                                
    SetVehiclePos(tmpcar1363.5693,-1280.6823,13.5469);
                                
    TelePos[playerid][0] = 0.0;TelePos[playerid][1] = 0.0;
                                return 
    1;
                            }
                            else
                            {
                                
    SetPlayerPos(playerid,1363.5693,-1280.6823,13.5469);
                            }
                            
    SendClientMessage(playeridCOLOR_WHITE"Вы были телепортированы к Аммо LS");
                            
    SetPlayerInterior(playerid,0);
                            
    SetPlayerVirtualWorld(playerid,0);
                            
    PlayerInfo[playerid][pInt] = 0;
                            return 
    1;
                        }
                        case 
    13:
                        {
                            if (
    GetPlayerState(playerid) == 2)
                            {
                                new 
    tmpcar GetPlayerVehicleID(playerid);
                                
    SetVehiclePos(tmpcar1335.6104,-695.4904,92.0322);
                                
    TelePos[playerid][0] = 0.0;TelePos[playerid][1] = 0.0;
                                return 
    1;
                            }
                            else
                            {
                                
    SetPlayerPos(playerid,1335.6104,-695.4904,92.0322);
                            }
                            
    SendClientMessage(playeridCOLOR_WHITE"Вы были телепортированы на VineWood");
                            
    SetPlayerInterior(playerid,0);
                            
    SetPlayerVirtualWorld(playerid,0);
                            
    PlayerInfo[playerid][pInt] = 0;
                            return 
    1;
                        }
                        case 
    14:
                        {
                            if (
    GetPlayerState(playerid) == 2)
                            {
                                new 
    tmpcar GetPlayerVehicleID(playerid);
                                
    SetVehiclePos(tmpcar1240.2540,-1572.3467,13.3828);
                                
    TelePos[playerid][0] = 0.0;TelePos[playerid][1] = 0.0;
                                return 
    1;
                            }
                            else
                            {
                                
    SetPlayerPos(playerid,1240.2540,-1572.3467,13.3828);
                            }
                            
    SendClientMessage(playeridCOLOR_WHITE"Вы были телепортированы на Spawn");
                            
    SetPlayerInterior(playerid,0);
                            
    SetPlayerVirtualWorld(playerid,0);
                            
    PlayerInfo[playerid][pInt] = 0;
                            return 
    1;
                        }
                    }
                }
                else
                {
                    return 
    1;
                }
            } 
    [Скрыть]


    В общем, меню удобное
    Average Role Play - присоединяйся прямо сейчас
    https://vk.com/average.news
  2. 9 пользователей сказали cпасибо Alan_Waket за это полезное сообщение:

    arseniy_1992 (11.06.2013), DenKrick (11.06.2013), Ilya_Marli (13.06.2013), Magazin@ (19.05.2013), Mr._Den_ (11.06.2013), Slava Rus (16.05.2013), vADY (19.05.2013), Vova_Jonson# (13.05.2013), _ReZaK_ (11.05.2013)

  3. #2
    Пользователь

    Аватар для Smouker

    Статус: Оффлайн
    Регистрация:21.06.2012
    Адрес:Diamond-RP
    Сообщений:802
    Репутация:174 [+/-] 
    норм!
  4. #3
    Пользователь

    Аватар для _ReZaK_

    Статус: Оффлайн
    Регистрация:31.03.2013
    Адрес:КаРаГаНдА
    Сообщений:265
    Репутация:38 [+/-] 
    Молодец заслужил +++++
  5. #4
    Пользователь

    Аватар для Вот так

    Статус: Оффлайн
    Регистрация:10.10.2012
    Сообщений:105
    Репутация:1 [+/-] 
    Новый? Что же тут нового? ААаа, Наверное координаты
  6. #5
    Пользователь

    Аватар для Vova_Jonson#

    Статус: Оффлайн
    Регистрация:14.04.2013
    Адрес:pawno-info.ru
    Сообщений:393
    Репутация:15 [+/-] 
    Ошибочка:
    D:\&#232;&#227;&#240;&#251;\Grand Theft Auto San Andreas + MultiPlayer [0.3e]\RussiaRealLife &#232;&#231;&#236;&#229;&#237;&#184;&#237;&#237;&# 224;&#255; LucaSom\gamemodes\123.pwn(7536) : error 040: duplicate "case" label (value 8000)

    Строка:

    case 8000:
    {
    new sendername[MAX_PLAYER_NAME], giveplayer[MAX_PLAYER_NAME], bilyash1[128],bilyash2[128];
    GetPlayerName(objectplayerid, giveplayer, sizeof(giveplayer));
    GetPlayerName(playerid, sendername, sizeof(sendername));
    if(response)
    {
    switch(listitem)
    {
  7. #6
    Пользователь

    Аватар для Renat_Montego

    Статус: Оффлайн
    Регистрация:19.12.2012
    Адрес:Махачкала
    Сообщений:790
    Репутация:184 [+/-] 
    Ошибочка:
    D:\&#232;&#227;&#240;&#251;\Grand Theft Auto San Andreas + MultiPlayer [0.3e]\RussiaRealLife &#232;&#231;&#236;&#229;&#237;&#184;&#237;&#237;&# 224;&#255; LucaSom\gamemodes\123.pwn(7536) : error 040: duplicate "case" label (value 8000)

    Строка:

    case 8000:
    {
    new sendername[MAX_PLAYER_NAME], giveplayer[MAX_PLAYER_NAME], bilyash1[128],bilyash2[128];
    GetPlayerName(objectplayerid, giveplayer, sizeof(giveplayer));
    GetPlayerName(playerid, sendername, sizeof(sendername));
    if(response)
    {
    switch(listitem)
    {
    Case 8000 у тебя уже занят поставь другие цифры 1234 и в /teleport тоже замени на 1234

    ---------- Post added at 10:41 ---------- Previous post was at 10:40 ----------

    Новый? Что же тут нового? ААаа, Наверное координаты
    Где ты видишь координаты?(facepalm)
    ๏̯͡๏ Montegun ๏̯͡๏
  8. 1 пользователь сказал cпасибо Renat_Montego за это полезное сообщение:

    Vova_Jonson# (12.05.2013)

  9. #7
    Пользователь

    Аватар для Вот так

    Статус: Оффлайн
    Регистрация:10.10.2012
    Сообщений:105
    Репутация:1 [+/-] 
    Alan_Waket - снизил мне репу за комент выше. Мне всеравно, я на этом форуме не зависаю.
    А команда твоя на самом деле отвратительная, даже самый нубошкольник типо скриптер сделал бы лучше я уверен.
  10. #8
    Пользователь

    Аватар для Alan_Waket

    Статус: Оффлайн
    Регистрация:02.10.2012
    Адрес:Волжский
    Сообщений:261
    Репутация:129 [+/-] 
    Alan_Waket - снизил мне репу за комент выше. Мне всеравно, я на этом форуме не зависаю.
    А команда твоя на самом деле отвратительная, даже самый нубошкольник типо скриптер сделал бы лучше я уверен.
    Ну вот только не плачь, сначала сам что-нибудь сделай
    Average Role Play - присоединяйся прямо сейчас
    https://vk.com/average.news
  11. 3 пользователей сказали cпасибо Alan_Waket за это полезное сообщение:

    Magazin@ (19.05.2013), Slava Rus (16.05.2013), vADY (19.05.2013)

  12. #9
    Пользователь

    Аватар для Dimosha

    Статус: Оффлайн
    Регистрация:04.02.2013
    Сообщений:8
    Репутация:0 [+/-] 
    PHP код:
    B:\&#194;ñ¸ äëÿ ñåðâåðà\Ïðîåêò\Ñàì ñåðâåð\gamemodes\Test.pwn(26321) : error 028: invalid subscript (not an array or too many subscripts): "TelePos"
    B:\&#194;ñ¸ äëÿ ñåðâåðà\Ïðîåêò\Ñàì ñåðâåð\gamemodes\Test.pwn(26321) : warning 215: expression has no effect
    B:\&#194;ñ¸ äëÿ ñåðâåðà\Ïðîåêò\Ñàì ñåðâåð\gamemodes\Test.pwn(26321) : error 001: expected token: ";", but found "]"
    B:\&#194;ñ¸ äëÿ ñåðâåðà\Ïðîåêò\Ñàì ñåðâåð\gamemodes\Test.pwn(26321) : error 029: invalid expression, assumed zero
    B:\&#194;ñ¸ äëÿ ñåðâåðà\Ïðîåêò\Ñàì ñåðâåð\gamemodes\Test.pwn(26321) : fatal error 107: too many error messages on one line 
    Создаю вар TelePos (new TelePos; ):
    PHP код:
    B:\&#194;ñ¸ äëÿ ñåðâåðà\Ïðîåêò\Ñàì ñåðâåð\gamemodes\Test.pwn(26321) : error 028: invalid subscript (not an array or too many subscripts): "TelePos"
    B:\&#194;ñ¸ äëÿ ñåðâåðà\Ïðîåêò\Ñàì ñåðâåð\gamemodes\Test.pwn(26321) : warning 215: expression has no effect
    B:\&#194;ñ¸ äëÿ ñåðâåðà\Ïðîåêò\Ñàì ñåðâåð\gamemodes\Test.pwn(26321) : error 001: expected token: ";", but found "]"
    B:\&#194;ñ¸ äëÿ ñåðâåðà\Ïðîåêò\Ñàì ñåðâåð\gamemodes\Test.pwn(26321) : error 029: invalid expression, assumed zero
    B:\&#194;ñ¸ äëÿ ñåðâåðà\Ïðîåêò\Ñàì ñåðâåð\gamemodes\Test.pwn(26321) : fatal error 107: too many error messages on one line 
    Я так понял, что не правильно создал TelePos. Подскажите, пожалуйста, как правильно.
  13. #10
    Пользователь

    Аватар для Alan_Waket

    Статус: Оффлайн
    Регистрация:02.10.2012
    Адрес:Волжский
    Сообщений:261
    Репутация:129 [+/-] 
    PHP код:
    B:\&#194;ñ¸ äëÿ ñåðâåðà\Ïðîåêò\Ñàì ñåðâåð\gamemodes\Test.pwn(26321) : error 028: invalid subscript (not an array or too many subscripts): "TelePos"
    B:\&#194;ñ¸ äëÿ ñåðâåðà\Ïðîåêò\Ñàì ñåðâåð\gamemodes\Test.pwn(26321) : warning 215: expression has no effect
    B:\&#194;ñ¸ äëÿ ñåðâåðà\Ïðîåêò\Ñàì ñåðâåð\gamemodes\Test.pwn(26321) : error 001: expected token: ";", but found "]"
    B:\&#194;ñ¸ äëÿ ñåðâåðà\Ïðîåêò\Ñàì ñåðâåð\gamemodes\Test.pwn(26321) : error 029: invalid expression, assumed zero
    B:\&#194;ñ¸ äëÿ ñåðâåðà\Ïðîåêò\Ñàì ñåðâåð\gamemodes\Test.pwn(26321) : fatal error 107: too many error messages on one line 
    Создаю вар TelePos (new TelePos; ):
    PHP код:
    B:\&#194;ñ¸ äëÿ ñåðâåðà\Ïðîåêò\Ñàì ñåðâåð\gamemodes\Test.pwn(26321) : error 028: invalid subscript (not an array or too many subscripts): "TelePos"
    B:\&#194;ñ¸ äëÿ ñåðâåðà\Ïðîåêò\Ñàì ñåðâåð\gamemodes\Test.pwn(26321) : warning 215: expression has no effect
    B:\&#194;ñ¸ äëÿ ñåðâåðà\Ïðîåêò\Ñàì ñåðâåð\gamemodes\Test.pwn(26321) : error 001: expected token: ";", but found "]"
    B:\&#194;ñ¸ äëÿ ñåðâåðà\Ïðîåêò\Ñàì ñåðâåð\gamemodes\Test.pwn(26321) : error 029: invalid expression, assumed zero
    B:\&#194;ñ¸ äëÿ ñåðâåðà\Ïðîåêò\Ñàì ñåðâåð\gamemodes\Test.pwn(26321) : fatal error 107: too many error messages on one line 
    Я так понял, что не правильно создал TelePos. Подскажите, пожалуйста, как правильно.
    Добавь в скайп, логин в подписи указан
    Average Role Play - присоединяйся прямо сейчас
    https://vk.com/average.news
  14. 1 пользователь сказал cпасибо Alan_Waket за это полезное сообщение:

    Magazin@ (19.05.2013)

Страница 1 из 3 123 Последняя
  • К странице:

Пользователи, которые читали эту тему: 0

В данный момент нет участников для отображения в списке.

Ваши права

  • Вы не можете создавать новые темы
  • Вы не можете отвечать в темах
  • Вы не можете прикреплять вложения
  • Вы не можете редактировать свои сообщения
В обязанности Администрации не входит контроль легальности или нелегальности передаваемой информации (любой, включая, но не ограничиваясь, информацией передаваемой между пользователями, внутренней пересылки информации в виде различных ссылок, текстов или архивов), определение прав собственности или законности передачи, приема или использования этой информации.
Администрация не несёт никакой ответственности за пользователей и модер состав форума!
читы хаки samp-rp advanvce скачать pawn скриптинг моды скрипты гарант s0beit cs 1.6 0.3x читы World of Tanks Баги samp-rp,читы samp-rp,аккаунты самп-рп Скриптинг PAWNO SA-MP IV-MP MTA уроки помощь создание сервер моды скрипты плагины cleo читы читинг собейт s0beit sobeit моды для sa-mp скрипты для sa-mp pawno скриптинг pawno скрипты pawno моды iv-mp скриптинг iv-mp скрипты iv-mp моды мод godfather Моды SAMP как установить машины для gta 4 Моды гта 4 Моды GTA 4 скачать моды для GTA 4 скрипты и моды GTA 4 скачать скрипты SAMP моды SAMP на русском языке где можно скачать Pen1 LS скачать Pen1 Fugitive скачать The Godfather rp roleplay samp-rp скачать бесплатно создать sa-mp сервер создать мод sa-mp создать скрипт в pawno gta-iv gta-v gta-sa gta-3 gta-III gta-4 gta-5 gta-vc mta mta-dm mta-race mta-sa pawno инфо info информация ru помощь в pawno ошибки pawno сервер павно gta-iv крэк gta-iv патч gta-v демо gta-v трейлер gta-iv keygen скрипты gta sa gta 4 multiplayer gta san adnreas multiplayer sa-mp forum форум о sa-mp форум о pawno русский sa-mp русское pawno русификатор реклама раскрутка сервера пиар сервера sa-mp мониторинг gta-sa ошибки в pawno pawno errors sa-mp 0.3c SA-MP 0.3d Играть в гта по сети моды для сампа скрипты самп Моды гта 4 Моды GTA 4 скачать моды для GTA 4 скрипты и моды GTA 4 скачать скрипты SAMP моды SAMP на русском языке где можно скачать Pen1 LS скачать Pen1 Fugitive скачать The Godfather Все моды SAMP у нас взлом вк hack rat android instagram twitter хак хакер лайфхак рынок продажа ddos защита услуги администратор root linux ubuntu mac android андроид прошивка без ограничений advance arizona читы 4g безлимит