Помогите,как сделать сгу для транспорта.
Показано с 1 по 2 из 2

Тема: Помогите,как сделать сгу для транспорта.

  1. #1
    Пользователь
    Регистрация
    28.01.2016
    Сообщений
    4
    Вес репутации
    0

    Помогите,как сделать сгу для транспорта.

    Вот увидел в видео мигалку захотел добавить на сервер пытался найти ненашёл кто может скинте.Видео:https://www.youtube.com/watch?v=XJNdAFAjHHE(не реклама!)

  2. #2
    Пользователь Аватар для marseltcc
    Регистрация
    28.05.2012
    Адрес
    Москва
    Сообщений
    155
    Вес репутации
    1

    Re: Помогите,как сделать сгу для транспорта.

    new lustra[MAX_VEHICLES];


    public OnPlayerKeyStateChange(playerid, newkeys, oldkeys)
    {
    if(newkeys == 512 && GetPlayerState(playerid) == PLAYER_STATE_DRIVER)
    {
    if(lustra[GetPlayerVehicleID(playerid)]!=-1)
    {
    DestroyObject(lustra[GetPlayerVehicleID(playerid)]);
    lustra[GetPlayerVehicleID(playerid)]=-1;
    }
    lustra[GetPlayerVehicleID(playerid)] = CreateObject(19419,0,0,0,0,0,0,0.0);
    switch(GetVehicleModel(GetPlayerVehicleID(playerid)))
    {
    case 401:AttachObjectToVehicle(lustra[GetPlayerVehicleID(playerid)], GetPlayerVehicleID(playerid), -0.004999, 0.000000, 0.799999, 0.000000, 0.000000, 0.000000); //Object Model: 19419 |
    case 402:AttachObjectToVehicle(lustra[GetPlayerVehicleID(playerid)], GetPlayerVehicleID(playerid), -0.004999, -0.519999, 0.769999, 0.000000, 0.000000, 0.000000); //Object Model: 19419 |
    case 404:AttachObjectToVehicle(lustra[GetPlayerVehicleID(playerid)], GetPlayerVehicleID(playerid), -0.004999, -0.224999, 0.934999, 0.000000, 0.000000, 0.000000); //Object Model: 19419 |
    case 405:AttachObjectToVehicle(lustra[GetPlayerVehicleID(playerid)], GetPlayerVehicleID(playerid), -0.004999, -0.224999, 0.759999, 0.000000, 0.000000, 0.000000); //Object Model: 19419 |
    case 410:AttachObjectToVehicle(lustra[GetPlayerVehicleID(playerid)], GetPlayerVehicleID(playerid), 0.010000, -0.224999, 0.899999, 0.000000, 0.000000, 0.000000); //Object Model: 19419 |
    case 409:AttachObjectToVehicle(lustra[GetPlayerVehicleID(playerid)], GetPlayerVehicleID(playerid), 0.000000, 0.419999, 0.824999, 0.000000, 0.000000, 0.000000); //Object Model: 19419 |
    case 411:AttachObjectToVehicle(lustra[GetPlayerVehicleID(playerid)], GetPlayerVehicleID(playerid), 0.000000, -0.089999, 0.719999, 0.000000, 0.000000, 0.000000); //Object Model: 19419 |
    case 412:AttachObjectToVehicle(lustra[GetPlayerVehicleID(playerid)], GetPlayerVehicleID(playerid), 0.000000, -0.089999, 0.714999, 0.000000, 0.000000, 0.000000); //Object Model: 19419 |
    case 413:AttachObjectToVehicle(lustra[GetPlayerVehicleID(playerid)], GetPlayerVehicleID(playerid), 0.000000, 0.704999, 1.134999, 0.000000, 0.000000, 0.000000); //Object Model: 19419 |
    case 415:AttachObjectToVehicle(lustra[GetPlayerVehicleID(playerid)], GetPlayerVehicleID(playerid), 0.000000, -0.259999, 0.609999, 0.000000, 0.000000, 0.000000); //Object Model: 19419 |
    case 418:AttachObjectToVehicle(lustra[GetPlayerVehicleID(playerid)], GetPlayerVehicleID(playerid), 0.000000, 0.389999, 1.039999, 0.000000, 0.000000, 0.000000); //Object Model: 19419 |
    case 419:AttachObjectToVehicle(lustra[GetPlayerVehicleID(playerid)], GetPlayerVehicleID(playerid), 0.000000, -0.324999, 0.694999, 0.000000, 0.000000, 0.000000); //Object Model: 19419 |
    case 421:AttachObjectToVehicle(lustra[GetPlayerVehicleID(playerid)], GetPlayerVehicleID(playerid), 0.000000, -0.174999, 0.729999, 0.000000, 0.000000, 0.000000); //Object Model: 19419 |
    case 422:AttachObjectToVehicle(lustra[GetPlayerVehicleID(playerid)], GetPlayerVehicleID(playerid), 0.000000, 0.044999, 0.799999, 0.000000, 0.000000, 0.000000); //Object Model: 19419 |
    case 424:AttachObjectToVehicle(lustra[GetPlayerVehicleID(playerid)], GetPlayerVehicleID(playerid), 0.000000, 0.044999, 0.864999, 0.000000, 0.000000, 0.000000); //Object Model: 19419 |
    case 426:AttachObjectToVehicle(lustra[GetPlayerVehicleID(playerid)], GetPlayerVehicleID(playerid), 0.000000, -0.264999, 0.849999, 0.000000, 0.000000, 0.000000); //Object Model: 19419 |
    case 428:AttachObjectToVehicle(lustra[GetPlayerVehicleID(playerid)], GetPlayerVehicleID(playerid), 0.000000, 0.754999, 1.369998, 0.000000, 0.000000, 0.000000); //Object Model: 19419 |
    case 431:AttachObjectToVehicle(lustra[GetPlayerVehicleID(playerid)], GetPlayerVehicleID(playerid), 0.020000, 5.230072, 2.115000, 0.000000, 0.000000, 0.000000); //Object Model: 19419 |
    case 434:AttachObjectToVehicle(lustra[GetPlayerVehicleID(playerid)], GetPlayerVehicleID(playerid), 0.020000, -0.060000, 0.729999, 0.000000, 0.000000, 0.000000); //Object Model: 19419 |
    case 436:AttachObjectToVehicle(lustra[GetPlayerVehicleID(playerid)], GetPlayerVehicleID(playerid), 0.020000, -0.259999, 0.844999, 0.000000, 0.000000, 0.000000); //Object Model: 19419 |
    case 437:AttachObjectToVehicle(lustra[GetPlayerVehicleID(playerid)], GetPlayerVehicleID(playerid), 0.020000, 4.630058, 2.044999, 0.000000, 0.000000, 0.000000); //Object Model: 19419 |
    case 442:AttachObjectToVehicle(lustra[GetPlayerVehicleID(playerid)], GetPlayerVehicleID(playerid), 0.020000, 0.009999, 0.889999, 0.000000, 0.000000, 0.000000); //Object Model: 19419 |
    case 444:AttachObjectToVehicle(lustra[GetPlayerVehicleID(playerid)], GetPlayerVehicleID(playerid), 0.020000, 0.234999, 1.689998, 0.000000, 0.000000, 0.000000); //Object Model: 19419 |
    case 445:AttachObjectToVehicle(lustra[GetPlayerVehicleID(playerid)], GetPlayerVehicleID(playerid), 0.020000, -0.254999, 0.844999, 0.000000, 0.000000, 0.000000); //Object Model: 19419 |
    case 451:AttachObjectToVehicle(lustra[GetPlayerVehicleID(playerid)], GetPlayerVehicleID(playerid), -0.044999, -0.534999, 0.589999, 0.000000, 0.000000, 0.000000); //Object Model: 19419 |
    case 455:AttachObjectToVehicle(lustra[GetPlayerVehicleID(playerid)], GetPlayerVehicleID(playerid), -0.044999, 1.189998, 1.664998, 0.000000, 0.000000, 0.000000); //Object Model: 19419 |
    case 458:AttachObjectToVehicle(lustra[GetPlayerVehicleID(playerid)], GetPlayerVehicleID(playerid), 0.000000, 0.000000, 0.724999, 0.000000, 0.000000, 0.000000); //Object Model: 19419 |
    case 459:AttachObjectToVehicle(lustra[GetPlayerVehicleID(playerid)], GetPlayerVehicleID(playerid), 0.000000, 0.544999, 1.114999, 0.000000, 0.000000, 0.000000); //Object Model: 19419 |
    case 466:AttachObjectToVehicle(lustra[GetPlayerVehicleID(playerid)], GetPlayerVehicleID(playerid), 0.000000, -0.204999, 0.849999, 0.000000, 0.000000, 0.000000); //Object Model: 19419 |
    case 467:AttachObjectToVehicle(lustra[GetPlayerVehicleID(playerid)], GetPlayerVehicleID(playerid), 0.000000, -0.004999, 0.829999, 0.000000, 0.000000, 0.000000); //Object Model: 19419 |
    case 470:AttachObjectToVehicle(lustra[GetPlayerVehicleID(playerid)], GetPlayerVehicleID(playerid), 0.000000, -0.004999, 1.089999, 0.000000, 0.000000, 0.000000); //Object Model: 19419 |
    case 474:AttachObjectToVehicle(lustra[GetPlayerVehicleID(playerid)], GetPlayerVehicleID(playerid), 0.000000, -0.229999, 0.794999, 0.000000, 0.000000, 0.000000); //Object Model: 19419 |
    case 475:AttachObjectToVehicle(lustra[GetPlayerVehicleID(playerid)], GetPlayerVehicleID(playerid), 0.000000, -0.229999, 0.704999, 0.000000, 0.000000, 0.000000); //Object Model: 19419 |
    case 477:AttachObjectToVehicle(lustra[GetPlayerVehicleID(playerid)], GetPlayerVehicleID(playerid), 0.000000, -0.404999, 0.734999, 0.000000, 0.000000, 0.000000); //Object Model: 19419 |
    case 478:AttachObjectToVehicle(lustra[GetPlayerVehicleID(playerid)], GetPlayerVehicleID(playerid), 0.000000, 0.125000, 0.909999, 0.000000, 0.000000, 0.000000); //Object Model: 19419 |
    case 479:AttachObjectToVehicle(lustra[GetPlayerVehicleID(playerid)], GetPlayerVehicleID(playerid), 0.000000, -0.269999, 0.984999, 0.000000, 0.000000, 0.000000); //Object Model: 19419 |
    case 480:AttachObjectToVehicle(lustra[GetPlayerVehicleID(playerid)], GetPlayerVehicleID(playerid), 0.000000, -1.024999, 0.684999, 0.000000, 0.000000, 0.000000); //Object Model: 19419 |
    case 482:AttachObjectToVehicle(lustra[GetPlayerVehicleID(playerid)], GetPlayerVehicleID(playerid), 0.000000, 1.074999, 0.904999, 0.000000, 0.000000, 0.000000); //Object Model: 19419 |
    case 483:AttachObjectToVehicle(lustra[GetPlayerVehicleID(playerid)], GetPlayerVehicleID(playerid), 0.000000, 1.499998, 1.019999, 0.000000, 0.000000, 0.000000); //Object Model: 19419 |
    case 489:AttachObjectToVehicle(lustra[GetPlayerVehicleID(playerid)], GetPlayerVehicleID(playerid), 0.000000, -0.114999, 1.084999, 0.000000, 0.000000, 0.000000); //Object Model: 19419 |
    case 490:AttachObjectToVehicle(lustra[GetPlayerVehicleID(playerid)], GetPlayerVehicleID(playerid), 0.000000, 0.474999, 1.089999, 0.000000, 0.000000, 0.000000); //Object Model: 19419 |
    case 491:AttachObjectToVehicle(lustra[GetPlayerVehicleID(playerid)], GetPlayerVehicleID(playerid), 0.000000, -0.404999, 0.679999, 0.000000, 0.000000, 0.000000); //Object Model: 19419 |
    case 492:AttachObjectToVehicle(lustra[GetPlayerVehicleID(playerid)], GetPlayerVehicleID(playerid), 0.000000, -0.279999, 0.859999, 0.000000, 0.000000, 0.000000); //Object Model: 19419 |
    case 494:AttachObjectToVehicle(lustra[GetPlayerVehicleID(playerid)], GetPlayerVehicleID(playerid), 0.000000, -0.374999, 0.739999, 0.000000, 0.000000, 0.000000); //Object Model: 19419 |
    case 495:AttachObjectToVehicle(lustra[GetPlayerVehicleID(playerid)], GetPlayerVehicleID(playerid), 0.000000, 0.050000, 0.999999, 0.000000, 0.000000, 0.000000); //Object Model: 19419 |
    case 496:AttachObjectToVehicle(lustra[GetPlayerVehicleID(playerid)], GetPlayerVehicleID(playerid), 0.000000, -0.444999, 0.809999, 0.000000, 0.000000, 0.000000); //Object Model: 19419 |
    case 498:AttachObjectToVehicle(lustra[GetPlayerVehicleID(playerid)], GetPlayerVehicleID(playerid), 0.000000, 1.749998, 2.014998, 0.000000, 0.000000, 0.000000); //Object Model: 19419 |
    case 502:AttachObjectToVehicle(lustra[GetPlayerVehicleID(playerid)], GetPlayerVehicleID(playerid), 0.000000, -0.469999, 0.779999, 0.000000, 0.000000, 0.000000); //Object Model: 19419 |
    case 503:AttachObjectToVehicle(lustra[GetPlayerVehicleID(playerid)], GetPlayerVehicleID(playerid), 0.000000, -0.469999, 0.764999, 0.000000, 0.000000, 0.000000); //Object Model: 19419 |
    case 504:AttachObjectToVehicle(lustra[GetPlayerVehicleID(playerid)], GetPlayerVehicleID(playerid), 0.000000, 0.065000, 0.854999, 0.000000, 0.000000, 0.000000); //Object Model: 19419 |
    case 505:AttachObjectToVehicle(lustra[GetPlayerVehicleID(playerid)], GetPlayerVehicleID(playerid), 0.000000, 0.065000, 1.084999, 0.000000, 0.000000, 0.000000); //Object Model: 19419 |
    case 506:AttachObjectToVehicle(lustra[GetPlayerVehicleID(playerid)], GetPlayerVehicleID(playerid), 0.000000, -0.444999, 0.574999, 0.000000, 0.000000, 0.000000); //Object Model: 19419 |
    case 507:AttachObjectToVehicle(lustra[GetPlayerVehicleID(playerid)], GetPlayerVehicleID(playerid), 0.000000, -0.339999, 0.779999, 0.000000, 0.000000, 0.000000); //Object Model: 19419 |
    case 516:AttachObjectToVehicle(lustra[GetPlayerVehicleID(playerid)], GetPlayerVehicleID(playerid), 0.000000, -0.089999, 0.864999, 0.000000, 0.000000, 0.000000); //Object Model: 19419 |
    case 517:AttachObjectToVehicle(lustra[GetPlayerVehicleID(playerid)], GetPlayerVehicleID(playerid), 0.000000, -0.344999, 0.839999, 0.000000, 0.000000, 0.000000); //Object Model: 19419 |
    case 518:AttachObjectToVehicle(lustra[GetPlayerVehicleID(playerid)], GetPlayerVehicleID(playerid), 0.000000, -0.119999, 0.689999, 0.000000, 0.000000, 0.000000); //Object Model: 19419 |
    case 525:AttachObjectToVehicle(lustra[GetPlayerVehicleID(playerid)], GetPlayerVehicleID(playerid), 0.000000, -0.454999, 1.444998, 0.000000, 0.000000, 0.000000); //Object Model: 19419 |
    case 528:AttachObjectToVehicle(lustra[GetPlayerVehicleID(playerid)], GetPlayerVehicleID(playerid), 0.000000, 0.050000, 1.074999, 0.000000, 0.000000, 0.000000); //Object Model: 19419 |
    case 527:AttachObjectToVehicle(lustra[GetPlayerVehicleID(playerid)], GetPlayerVehicleID(playerid), 0.000000, -0.054999, 0.874999, 0.000000, 0.000000, 0.000000); //Object Model: 19419 |
    case 526:AttachObjectToVehicle(lustra[GetPlayerVehicleID(playerid)], GetPlayerVehicleID(playerid), 0.000000, -0.234999, 0.644999, 0.000000, 0.000000, 0.000000); //Object Model: 19419 |
    case 529:AttachObjectToVehicle(lustra[GetPlayerVehicleID(playerid)], GetPlayerVehicleID(playerid), 0.000000, -0.234999, 0.899999, 0.000000, 0.000000, 0.000000); //Object Model: 19419 |
    case 534:AttachObjectToVehicle(lustra[GetPlayerVehicleID(playerid)], GetPlayerVehicleID(playerid), 0.000000, -0.029999, 0.604999, 0.000000, 0.000000, 0.000000); //Object Model: 19419 |
    case 535:AttachObjectToVehicle(lustra[GetPlayerVehicleID(playerid)], GetPlayerVehicleID(playerid), 0.000000, 0.095000, 0.804999, 0.000000, 0.000000, 0.000000); //Object Model: 19419 |
    case 540:AttachObjectToVehicle(lustra[GetPlayerVehicleID(playerid)], GetPlayerVehicleID(playerid), 0.000000, -0.259999, 0.699999, 0.000000, 0.000000, 0.000000); //Object Model: 19419 |
    case 541:AttachObjectToVehicle(lustra[GetPlayerVehicleID(playerid)], GetPlayerVehicleID(playerid), 0.000000, -0.259999, 0.619999, 0.000000, 0.000000, 0.000000); //Object Model: 19419 |
    case 542:AttachObjectToVehicle(lustra[GetPlayerVehicleID(playerid)], GetPlayerVehicleID(playerid), 0.000000, -0.259999, 0.829999, 0.000000, 0.000000, 0.000000); //Object Model: 19419 |
    case 543:AttachObjectToVehicle(lustra[GetPlayerVehicleID(playerid)], GetPlayerVehicleID(playerid), 0.000000, 0.110000, 0.874999, 0.000000, 0.000000, 0.000000); //Object Model: 19419 |
    case 544:AttachObjectToVehicle(lustra[GetPlayerVehicleID(playerid)], GetPlayerVehicleID(playerid), 0.000000, 2.510010, 1.459998, 0.000000, 0.000000, 0.000000); //Object Model: 19419 |
    case 545:AttachObjectToVehicle(lustra[GetPlayerVehicleID(playerid)], GetPlayerVehicleID(playerid), 0.000000, -0.384999, 0.744999, 0.000000, 0.000000, 0.000000); //Object Model: 19419 |
    case 546:AttachObjectToVehicle(lustra[GetPlayerVehicleID(playerid)], GetPlayerVehicleID(playerid), 0.000000, -0.384999, 0.834999, 0.000000, 0.000000, 0.000000); //Object Model: 19419 |
    case 547:AttachObjectToVehicle(lustra[GetPlayerVehicleID(playerid)], GetPlayerVehicleID(playerid), 0.000000, -0.384999, 0.889999, 0.000000, 0.000000, 0.000000); //Object Model: 19419 |
    case 549:AttachObjectToVehicle(lustra[GetPlayerVehicleID(playerid)], GetPlayerVehicleID(playerid), 0.000000, 0.035000, 0.719999, 0.000000, 0.000000, 0.000000); //Object Model: 19419 |
    case 550:AttachObjectToVehicle(lustra[GetPlayerVehicleID(playerid)], GetPlayerVehicleID(playerid), 0.000000, -0.089999, 0.724999, 0.000000, 0.000000, 0.000000); //Object Model: 19419 |
    case 551:AttachObjectToVehicle(lustra[GetPlayerVehicleID(playerid)], GetPlayerVehicleID(playerid), 0.000000, -0.344999, 0.904999, 0.000000, 0.000000, 0.000000); //Object Model: 19419 |
    case 552:AttachObjectToVehicle(lustra[GetPlayerVehicleID(playerid)], GetPlayerVehicleID(playerid), 0.000000, 0.609999, 1.314998, 0.000000, 0.000000, 0.000000); //Object Model: 19419 |
    case 554:AttachObjectToVehicle(lustra[GetPlayerVehicleID(playerid)], GetPlayerVehicleID(playerid), 0.000000, 0.025000, 1.004999, 0.000000, 0.000000, 0.000000); //Object Model: 19419 |
    case 556:AttachObjectToVehicle(lustra[GetPlayerVehicleID(playerid)], GetPlayerVehicleID(playerid), 0.000000, 0.489999, 1.679998, 0.000000, 0.000000, 0.000000); //Object Model: 19419 |
    case 557:AttachObjectToVehicle(lustra[GetPlayerVehicleID(playerid)], GetPlayerVehicleID(playerid), 0.000000, 0.010000, 1.639998, 0.000000, 0.000000, 0.000000); //Object Model: 19419 |
    case 558:AttachObjectToVehicle(lustra[GetPlayerVehicleID(playerid)], GetPlayerVehicleID(playerid), 0.000000, -0.354999, 0.824999, 0.000000, 0.000000, 0.000000); //Object Model: 19419 |
    case 559:AttachObjectToVehicle(lustra[GetPlayerVehicleID(playerid)], GetPlayerVehicleID(playerid), 0.000000, -0.354999, 0.704999, 0.000000, 0.000000, 0.000000); //Object Model: 19419 |
    case 562:AttachObjectToVehicle(lustra[GetPlayerVehicleID(playerid)], GetPlayerVehicleID(playerid), 0.000000, -0.354999, 0.749999, 0.000000, 0.000000, 0.000000); //Object Model: 19419 |
    case 561:AttachObjectToVehicle(lustra[GetPlayerVehicleID(playerid)], GetPlayerVehicleID(playerid), 0.000000, -0.129999, 0.829999, 0.000000, 0.000000, 0.000000); //Object Model: 19419 |
    case 560:AttachObjectToVehicle(lustra[GetPlayerVehicleID(playerid)], GetPlayerVehicleID(playerid), 0.000000, -0.074999, 0.824999, 0.000000, 0.000000, 0.000000); //Object Model: 19419 |
    case 565:AttachObjectToVehicle(lustra[GetPlayerVehicleID(playerid)], GetPlayerVehicleID(playerid), 0.000000, -0.414999, 0.674999, 0.000000, 0.000000, 0.000000); //Object Model: 19419 |
    case 566:AttachObjectToVehicle(lustra[GetPlayerVehicleID(playerid)], GetPlayerVehicleID(playerid), 0.000000, -0.169999, 0.844999, 0.000000, 0.000000, 0.000000); //Object Model: 19419 |
    case 576:AttachObjectToVehicle(lustra[GetPlayerVehicleID(playerid)], GetPlayerVehicleID(playerid), 0.000000, -0.169999, 0.884999, 0.000000, 0.000000, 0.000000); //Object Model: 19419 |
    case 579:AttachObjectToVehicle(lustra[GetPlayerVehicleID(playerid)], GetPlayerVehicleID(playerid), 0.000000, -0.369999, 0.939999, 0.000000, 0.000000, 0.000000); //Object Model: 19419 |
    case 580:AttachObjectToVehicle(lustra[GetPlayerVehicleID(playerid)], GetPlayerVehicleID(playerid), 0.000000, -0.059999, 1.034999, 0.000000, 0.000000, 0.000000); //Object Model: 19419 |
    case 585:AttachObjectToVehicle(lustra[GetPlayerVehicleID(playerid)], GetPlayerVehicleID(playerid), 0.000000, -0.259999, 0.974999, 0.000000, 0.000000, 0.000000); //Object Model: 19419 |
    case 587:AttachObjectToVehicle(lustra[GetPlayerVehicleID(playerid)], GetPlayerVehicleID(playerid), 0.000000, -0.599999, 0.734999, 0.000000, 0.000000, 0.000000); //Object Model: 19419 |
    case 589:AttachObjectToVehicle(lustra[GetPlayerVehicleID(playerid)], GetPlayerVehicleID(playerid), 0.000000, -0.194999, 1.049999, 0.000000, 0.000000, 0.000000); //Object Model: 19419 |
    case 601:AttachObjectToVehicle(lustra[GetPlayerVehicleID(playerid)], GetPlayerVehicleID(playerid), 0.000000, 1.209999, 1.499998, 0.000000, 0.000000, 0.000000); //Object Model: 19419 |
    case 604:AttachObjectToVehicle(lustra[GetPlayerVehicleID(playerid)], GetPlayerVehicleID(playerid), 0.000000, -0.159999, 0.864999, 0.000000, 0.000000, 0.000000); //Object Model: 19419 |
    case 603:AttachObjectToVehicle(lustra[GetPlayerVehicleID(playerid)], GetPlayerVehicleID(playerid), 0.000000, -0.429999, 0.644999, 0.000000, 0.000000, 0.000000); //Object Model: 19419 |
    case 602:AttachObjectToVehicle(lustra[GetPlayerVehicleID(playerid)], GetPlayerVehicleID(playerid), 0.000000, -0.429999, 0.679999, 0.000000, 0.000000, 0.000000); //Object Model: 19419 |
    case 605:AttachObjectToVehicle(lustra[GetPlayerVehicleID(playerid)], GetPlayerVehicleID(playerid), 0.000000, 0.015000, 0.884999, 0.000000, 0.000000, 0.000000); //Object Model: 19419 |
    default: SendClientMessage(playerid,0xFA7516FF,"{00ff00}На ваше ТС нельзя устанавливать мигалки");
    }
    }
    return 1;
    }



    public OnVehicleSpawn(vehicleid)
    {
    if(lustra[vehicleid]!=-1)
    {
    DestroyObject(lustra[vehicleid]);
    lustra[vehicleid]=-1;
    }
    return 1;
    }



    public OnGameModeInit()
    {
    for(new i;i<MAX_VEHICLES;i++)
    {
    lustra[i]=-1;
    }
    return 1;
    }

Похожие темы

  1. [Помогите]Спавнятся два транспорта!
    от Vip_Joker в разделе Вопросы по скриптингу
    Ответов: 5
    Последнее сообщение: 24.01.2013, 15:40
  2. Ответов: 12
    Последнее сообщение: 11.09.2012, 18:03
  3. Как сделать плавное перемещение игрока / транспорта?
    от OKStyle в разделе Вопросы по скриптингу
    Ответов: 0
    Последнее сообщение: 08.07.2011, 17:14
  4. Как сделать аренду транспорта?
    от OKStyle в разделе Вопросы по скриптингу
    Ответов: 0
    Последнее сообщение: 21.04.2011, 20:34
  5. помогите сделать аренду транспорта
    от OKStyle в разделе Вопросы по скриптингу
    Ответов: 1
    Последнее сообщение: 07.03.2011, 21:49

Метки этой темы

Ваши права

  • Вы не можете создавать новые темы
  • Вы не можете отвечать в темах
  • Вы не можете прикреплять вложения
  • Вы не можете редактировать свои сообщения
  •