Доступ к архиву

Переход в группу "Пользователь"

300.00 ₽
Одноразовый платёж
Быстрый переход в группу "Пользователи", без надобности написания постов и ожидания.

Покупка дает возможность:
Быть полноправным участником форума
Нормальное копирование кода
Создавать темы
Скачивать файлы
Доступ к архиву Pawno-Info

мигалка

Статус
В этой теме нельзя размещать новые ответы.

Andrey_Bened

Ученик
Здравствуйте, у меня есть рабочая мигалка, все работает только как выхожу из авто то она пропадает. Как сделать что бы оставалась?
PHP:
if (strcmp("/migalka", cmdtext, true, 10) == 0)
    {
        if(PlayerInfo[playerid][pDonateRank] > 1 || PlayerInfo[playerid][pAdmin] >= 1)
        {
            new carid = GetPlayerVehicleID(playerid);
            lustra[playerid] = CreateObject(19419,0,0,0,0,0,0,0,0,0,0.0);
            switch(GetVehicleModel(carid))
            {
            case 587: AttachDynamicObjectToVehicle(lustra[playerid],carid,0.0,-0.30, 0.80, 0.0, 0.0, 0.0); //Euros
            case 562: AttachDynamicObjectToVehicle(lustra[playerid],carid, 0.0,-0.0, 0.85, 0.0, 0.0, 0.0); //Elegy
            case 602: AttachDynamicObjectToVehicle(lustra[playerid],carid,0.0,-0.30, 0.77, 0.0, 0.0, 0.0); //Alpha
            case 415: AttachDynamicObjectToVehicle(lustra[playerid],carid, 0.0, 0.0, 0.65, 0.0, 0.0, 0.0); //Cheetah
            case 451: AttachDynamicObjectToVehicle(lustra[playerid],carid,0.0,-0.20, 0.63, 0.0, 0.0, 0.0); //Turismo
            case 559: AttachDynamicObjectToVehicle(lustra[playerid],carid, 0.0, 0.0, 0.77, 0.0, 0.0, 0.0); //Jester
            case 541: AttachDynamicObjectToVehicle(lustra[playerid],carid, 0.0, 0.0, 0.70, 0.0, 0.0, 0.0); //Bullet
            case 565: AttachDynamicObjectToVehicle(lustra[playerid],carid, 0.0, 0.0, 0.75, 0.0, 0.0, 0.0); //Flash
            case 540: AttachDynamicObjectToVehicle(lustra[playerid],carid, 0.0, 0.0, 0.79, 0.0, 0.0, 0.0); //Vincent
            case 507: AttachDynamicObjectToVehicle(lustra[playerid],carid, 0.0, 0.0, 0.88, 0.0, 0.0, 0.0); //Elegant
            case 491: AttachDynamicObjectToVehicle(lustra[playerid],carid,0.0,-0.20, 0.78, 0.0, 0.0, 0.0); //Virgo
            case 492: AttachDynamicObjectToVehicle(lustra[playerid],carid, 0.0, 0.0, 0.92, 0.0, 0.0, 0.0); //Greenwood
            case 526: AttachDynamicObjectToVehicle(lustra[playerid],carid, 0.0, 0.0, 0.70, 0.0, 0.0, 0.0); //Fortune
            case 529: AttachDynamicObjectToVehicle(lustra[playerid],carid,  0.0, 0.0, 0.95, 0.0, 0.0, 0.0); //Willard
            case 401: AttachDynamicObjectToVehicle(lustra[playerid],carid, 0.0, 0.0, 0.82, 0.0, 0.0, 0.0); //Bravura
            case 518: AttachDynamicObjectToVehicle(lustra[playerid],carid, 0.0, 0.0, 0.75, 0.0, 0.0, 0.0); //Buccaneer
            case 527: AttachDynamicObjectToVehicle(lustra[playerid],carid, 0.0, 0.0, 0.93, 0.0, 0.0, 0.0); //Cadrona
            case 542: AttachDynamicObjectToVehicle(lustra[playerid],carid, 0.0, 0.0, 0.87, 0.0, 0.0, 0.0); //Clover
            case 585: AttachDynamicObjectToVehicle(lustra[playerid],carid, 0.0, 0.0, 1.08, 0.0, 0.0, 0.0); //Emperor
            case 419: AttachDynamicObjectToVehicle(lustra[playerid],carid, 0.0, 0.0, 0.75, 0.0, 0.0, 0.0); //Esperanto
            case 466: AttachDynamicObjectToVehicle(lustra[playerid],carid, 0.0, 0.0, 0.93, 0.0, 0.0, 0.0); //Glendale
            case 474: AttachDynamicObjectToVehicle(lustra[playerid],carid, 0.0, 0.0, 0.88, 0.0, 0.0, 0.0); //Hermes
            case 546: AttachDynamicObjectToVehicle(lustra[playerid],carid, 0.0, 0.0, 0.87, 0.0, 0.0, 0.0); //Intruder
            case 551: AttachDynamicObjectToVehicle(lustra[playerid],carid, 0.0, 0.0, 0.95, 0.0, 0.0, 0.0); //Merit
            case 467: AttachDynamicObjectToVehicle(lustra[playerid],carid, 0.0, 0.0, 0.87, 0.0, 0.0, 0.0); //Oceanic
            case 547: AttachDynamicObjectToVehicle(lustra[playerid],carid, 0.0, 0.0, 0.95, 0.0, 0.0, 0.0); //Primo
            case 580: AttachDynamicObjectToVehicle(lustra[playerid],carid, 0.0, 0.0, 1.10, 0.0, 0.0, 0.0); //Stafford
            case 405: AttachDynamicObjectToVehicle(lustra[playerid],carid, 0.0, 0.0, 0.80, 0.0, 0.0, 0.0); //Sentinel
            case 550: AttachDynamicObjectToVehicle(lustra[playerid],carid, 0.0, 0.0, 0.77, 0.0, 0.0, 0.0); //Sunrise
            case 549: AttachDynamicObjectToVehicle(lustra[playerid],carid, 0.0, 0.0, 0.80, 0.0, 0.0, 0.0); //Tampa
            case 421: AttachDynamicObjectToVehicle(lustra[playerid],carid, 0.0, 0.0, 0.75, 0.0, 0.0, 0.0); //Washington
            case 429: AttachDynamicObjectToVehicle(lustra[playerid],carid,0.0, 0.60, 0.37, 0.0, 0.0, 0.0); //Banshee
            case 402: AttachDynamicObjectToVehicle(lustra[playerid],carid,0.0,-0.20, 0.80, 0.0, 0.0, 0.0); //Buffalo
            case 589: AttachDynamicObjectToVehicle(lustra[playerid],carid, 0.0, 0.0, 1.10, 0.0, 0.0, 0.0); //Club
            case 494: AttachDynamicObjectToVehicle(lustra[playerid],carid,0.0,-0.10, 0.80, 0.0, 0.0, 0.0); //Hotring Racer
            case 502: AttachDynamicObjectToVehicle(lustra[playerid],carid,0.0,-0.10, 0.82, 0.0, 0.0, 0.0); //Hotring Racer 2
            case 503: AttachDynamicObjectToVehicle(lustra[playerid],carid,0.0,-0.10, 0.84, 0.0, 0.0, 0.0); //Hotring Racer 3
            case 411: AttachDynamicObjectToVehicle(lustra[playerid],carid, 0.0, 0.0, 0.77, 0.0, 0.0, 0.0); //Infernus
            case 603: AttachDynamicObjectToVehicle(lustra[playerid],carid,0.0,-0.10, 0.73, 0.0, 0.0, 0.0); //Phoenix
            case 475: AttachDynamicObjectToVehicle(lustra[playerid],carid, 0.0, 0.0, 0.79, 0.0, 0.0, 0.0); //Sabre
            case 506: AttachDynamicObjectToVehicle(lustra[playerid],carid,0.0, 0.90, 0.30, 0.0, 0.0, 0.0); //Super GT
            case 477: AttachDynamicObjectToVehicle(lustra[playerid],carid,0.0,-0.20, 0.77, 0.0, 0.0, 0.0); //ZR-350
            case 404: AttachDynamicObjectToVehicle(lustra[playerid],carid,0.0,  0.0, 1.00, 0.0, 0.0, 0.0); //Perenniel
            case 479: AttachDynamicObjectToVehicle(lustra[playerid],carid, 0.0, 0.0, 1.05, 0.0, 0.0, 0.0); //Regina
            case 458: AttachDynamicObjectToVehicle(lustra[playerid],carid, 0.0, 0.0, 0.80, 0.0, 0.0, 0.0); //Solair
            case 412: AttachDynamicObjectToVehicle(lustra[playerid],carid, 0.0, 0.0, 0.78, 0.0, 0.0, 0.0); //Voodoo
            case 439: AttachDynamicObjectToVehicle(lustra[playerid],carid, 0.0, 1.0, 0.35, 0.0, 0.0, 0.0); //Stallion
            case 480: AttachDynamicObjectToVehicle(lustra[playerid],carid, 0.0, 0.80, 0.35, 0.0, 0.0, 0.0); //Comet
            case 500: AttachDynamicObjectToVehicle(lustra[playerid],carid, 0.0, 0.80, 0.35, 0.0, 0.0, 0.0); //Mesa
            case 505: AttachDynamicObjectToVehicle(lustra[playerid],carid, 0.0, 0.0, 1.15, 0.0, 0.0, 0.0); //Rancher
            case 489: AttachDynamicObjectToVehicle(lustra[playerid],carid, 0.0, 0.0, 1.15, 0.0, 0.0, 0.0); //Rancher 2
            case 504: AttachDynamicObjectToVehicle(lustra[playerid],carid, 0.0, 0.0, 0.93, 0.0, 0.0, 0.0); //Bloodring Banger
            case 533: AttachDynamicObjectToVehicle(lustra[playerid],carid, 0.0, 1.15, 0.40, 0.0, 0.0, 0.0); //Feltzer
            case 534: AttachDynamicObjectToVehicle(lustra[playerid],carid, 0.0, 0.0, 0.70, 0.0, 0.0, 0.0); //Remington
            case 535: AttachDynamicObjectToVehicle(lustra[playerid],carid, 0.0, 0.0, 0.87, 0.0, 0.0, 0.0); //Slamvan
            case 536: AttachDynamicObjectToVehicle(lustra[playerid],carid, 0.0, 1.20, 0.28, 0.0, 0.0, 0.0); //Blade
            case 555: AttachDynamicObjectToVehicle(lustra[playerid],carid, 0.0, 0.90, 0.30, 0.0, 0.0, 0.0); //Windsor
            case 567: AttachDynamicObjectToVehicle(lustra[playerid],carid, 0.0, 1.60, 0.22, 0.0, 0.0, 0.0); //Savanna
            case 575: AttachDynamicObjectToVehicle(lustra[playerid],carid, 0.0, 1.30, 0.58, 0.0, 0.0, 0.0); //Broadway
            case 576: AttachDynamicObjectToVehicle(lustra[playerid],carid, 0.0, 0.0, 0.95, 0.0, 0.0, 0.0); //Tornado
            case 579: AttachDynamicObjectToVehicle(lustra[playerid],carid, 0.0, 0.0, 1.30, 0.0, 0.0, 0.0); //Huntley
            case 600: AttachDynamicObjectToVehicle(lustra[playerid],carid, 0.0, 0.0, 0.84, 0.0, 0.0, 0.0); //Picador
            case 495: AttachDynamicObjectToVehicle(lustra[playerid],carid, 0.0, 0.0, 1.06, 0.0, 0.0, 0.0); //Sandking
            case 543: AttachDynamicObjectToVehicle(lustra[playerid],carid, 0.0, 0.0, 0.95, 0.0, 0.0, 0.0); //Sadler
            case 422: AttachDynamicObjectToVehicle(lustra[playerid],carid, 0.0, 0.0, 0.89, 0.0, 0.0, 0.0); //Bobcat
            case 554: AttachDynamicObjectToVehicle(lustra[playerid],carid, 0.0, 0.0, 1.10, 0.0, 0.0, 0.0); //Yosemite
            default: AttachDynamicObjectToVehicle(lustra[playerid],carid, 0.0, 0.0, 0.90, 0.0, 0.0, 0.0); //Other cars
            }
        }
        else
        {
            SendClientMessage(playerid, COLOR_GREY, " *Ó âàñ íåòó V.I.P àêêàóíòà,ëèáî îí íèæå 1 óðîâíÿ!");
            return 1;
        }
 
Статус
В этой теме нельзя размещать новые ответы.
Сверху Снизу