Advertisement
Gireada

Siren System

Feb 18th, 2013
685
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Pawn 31.52 KB | None | 0 0
  1. #include <a_samp>
  2. #include <sscanf2>
  3. #include <zcmd>
  4.  
  5. new attas[MAX_VEHICLES];
  6. new object[MAX_VEHICLES];
  7. public OnFilterScriptInit()
  8. {
  9.     print("\n--------------------------------------");
  10.     print(" Siren System by Gireada loaded");
  11.     print("--------------------------------------\n");
  12.     for(new v=1; v<MAX_VEHICLES; v++)
  13.     {
  14.         attas[v] = 0;
  15.     }
  16.     return 1;
  17. }
  18.  
  19. public OnFilterScriptExit()
  20. {
  21.     return 1;
  22. }
  23.  
  24. main()
  25. {
  26.     print("\n----------------------------------");
  27.     print(" Siren System by Gireada");
  28.     print("----------------------------------\n");
  29. }
  30.  
  31. public OnVehicleDeath(vehicleid, killerid)
  32. {
  33.     DestroyObject(object[vehicleid]); attas[vehicleid] = 0;
  34.     return 1;
  35. }
  36.  
  37. public OnVehicleSpawn(vehicleid)
  38. {
  39.     DestroyObject(object[vehicleid]); attas[vehicleid] = 0;
  40.     return 1;
  41. }
  42.  
  43. CMD:sirena(playerid, params[])
  44. {
  45.     if(IsPlayerInAnyVehicle(playerid))
  46.     {
  47.         new carid = GetPlayerVehicleID(playerid);
  48.         new model = GetVehicleModel(carid);
  49.         if(attas[carid] == 0)
  50.         {
  51.             AttasSirentToVehicle(carid,model,playerid);
  52.         }
  53.         else if(attas[carid] == 1)
  54.         {
  55.             attas[carid] = 0; DestroyObject(object[carid]);
  56.         }
  57.     }
  58.     return 1;
  59. }
  60.  
  61. stock AttasSirentToVehicle(vehicleid,modelid,playerid)
  62. {
  63.     switch(modelid)
  64.     {
  65.         case 400:
  66.         {
  67.             object[vehicleid] = CreateObject(18646, 0.00, 0.00, 0.00,   0.00, 0.00, 0.00); attas[vehicleid] = 1;
  68.             AttachObjectToVehicle(object[vehicleid], vehicleid, -0.4147, 0.0990, 0.8681, 0.0, 0.0, 0.0);
  69.         }
  70.         case 401:
  71.         {
  72.             object[vehicleid] = CreateObject(18646, 0.00, 0.00, 0.00,   0.00, 0.00, 0.00); attas[vehicleid] = 1;
  73.             AttachObjectToVehicle(object[vehicleid], vehicleid, -0.4147, 0.0990, 0.8081, 0.0, 0.0, 0.0);
  74.         }
  75.         case 402:
  76.         {
  77.             object[vehicleid] = CreateObject(18646, 0.00, 0.00, 0.00,   0.00, 0.00, 0.00); attas[vehicleid] = 1;
  78.             AttachObjectToVehicle(object[vehicleid], vehicleid, -0.4147, -0.2410, 0.8081, 0.0, 0.0, 0.0);
  79.         }
  80.         case 403:
  81.         {
  82.             object[vehicleid] = CreateObject(18646, 0.00, 0.00, 0.00,   0.00, 0.00, 0.00); attas[vehicleid] = 1;
  83.             AttachObjectToVehicle(object[vehicleid], vehicleid, -0.0932, 1.8436, 1.5601, 0.0, 0.0, 0.0);
  84.         }
  85.         case 404:
  86.         {
  87.             object[vehicleid] = CreateObject(18646, 0.00, 0.00, 0.00,   0.00, 0.00, 0.00); attas[vehicleid] = 1;
  88.             AttachObjectToVehicle(object[vehicleid], vehicleid, -0.5120, -0.0382, 0.9849, 0.0, 0.0, 0.0);
  89.         }
  90.         case 405:
  91.         {
  92.             object[vehicleid] = CreateObject(18646, 0.00, 0.00, 0.00,   0.00, 0.00, 0.00); attas[vehicleid] = 1;
  93.             AttachObjectToVehicle(object[vehicleid], vehicleid, -0.5120, -0.0382, 0.7849, 0.0, 0.0, 0.0);
  94.         }
  95.         case 408:
  96.         {
  97.             object[vehicleid] = CreateObject(18646, 0.00, 0.00, 0.00,   0.00, 0.00, 0.00); attas[vehicleid] = 1;
  98.             AttachObjectToVehicle(object[vehicleid], vehicleid, -0.7238, 2.8859, 1.0459, 0.0, 0.0, 0.0);
  99.         }
  100.         case 409:
  101.         {
  102.             object[vehicleid] = CreateObject(18646, 0.00, 0.00, 0.00,   0.00, 0.00, 0.00); attas[vehicleid] = 1;
  103.             AttachObjectToVehicle(object[vehicleid], vehicleid, -0.5549, 0.7971, 0.8659, 0.0, 0.0, 0.0);
  104.         }
  105.         case 410:
  106.         {
  107.             object[vehicleid] = CreateObject(18646, 0.00, 0.00, 0.00,   0.00, 0.00, 0.00); attas[vehicleid] = 1;
  108.             AttachObjectToVehicle(object[vehicleid], vehicleid, -0.4375, -0.0936, 0.9259, 0.0, 0.0, 0.0);
  109.         }
  110.         case 411:
  111.         {
  112.             object[vehicleid] = CreateObject(18646, 0.00, 0.00, 0.00,   0.00, 0.00, 0.00); attas[vehicleid] = 1;
  113.             AttachObjectToVehicle(object[vehicleid], vehicleid, -0.4744, 0.1759, 0.7259, 0.0, 0.0, 0.0);
  114.         }
  115.         case 412:
  116.         {
  117.             object[vehicleid] = CreateObject(18646, 0.00, 0.00, 0.00,   0.00, 0.00, 0.00); attas[vehicleid] = 1;
  118.             AttachObjectToVehicle(object[vehicleid], vehicleid, -0.4744, 0.1759, 0.7259, 0.0, 0.0, 0.0);
  119.         }
  120.         case 413:
  121.         {
  122.             object[vehicleid] = CreateObject(18646, 0.00, 0.00, 0.00,   0.00, 0.00, 0.00); attas[vehicleid] = 1;
  123.             AttachObjectToVehicle(object[vehicleid], vehicleid, -0.5546, 0.6755, 1.1299, 0.0, 0.0, 0.0);
  124.         }
  125.         case 414:
  126.         {
  127.             object[vehicleid] = CreateObject(18646, 0.00, 0.00, 0.00,   0.00, 0.00, 0.00); attas[vehicleid] = 1;
  128.             AttachObjectToVehicle(object[vehicleid], vehicleid, -0.7952, 1.3693, 2.2926, 0.0, 0.0, 0.0);
  129.         }
  130.         case 415:
  131.         {
  132.             object[vehicleid] = CreateObject(18646, 0.00, 0.00, 0.00,   0.00, 0.00, 0.00); attas[vehicleid] = 1;
  133.             AttachObjectToVehicle(object[vehicleid], vehicleid, -0.3888, -0.2079, 0.6559, 0.0, 0.0, 0.0);
  134.         }
  135.         case 416:
  136.         {
  137.             object[vehicleid] = CreateObject(18646, 0.00, 0.00, 0.00,   0.00, 0.00, 0.00); attas[vehicleid] = 1;
  138.             AttachObjectToVehicle(object[vehicleid], vehicleid, -0.6836, 0.8615, 1.0312, 0.0, 0.0, 0.0);
  139.         }
  140.         case 419:
  141.         {
  142.             object[vehicleid] = CreateObject(18646, 0.00, 0.00, 0.00,   0.00, 0.00, 0.00); attas[vehicleid] = 1;
  143.             AttachObjectToVehicle(object[vehicleid], vehicleid, -0.6163, -0.0042, 0.7112, 0.0, 0.0, 0.0);
  144.         }
  145.         case 420:
  146.         {
  147.             object[vehicleid] = CreateObject(18646, 0.00, 0.00, 0.00,   0.00, 0.00, 0.00); attas[vehicleid] = 1;
  148.             AttachObjectToVehicle(object[vehicleid], vehicleid, -0.6163, -0.0042, 0.8712, 0.0, 0.0, 0.0);
  149.         }
  150.         case 421:
  151.         {
  152.             object[vehicleid] = CreateObject(18646, 0.00, 0.00, 0.00,   0.00, 0.00, 0.00); attas[vehicleid] = 1;
  153.             AttachObjectToVehicle(object[vehicleid], vehicleid, -0.4949, 0.2178, 0.7312, 0.0, 0.0, 0.0);
  154.         }
  155.         case 422:
  156.         {
  157.             object[vehicleid] = CreateObject(18646, 0.00, 0.00, 0.00,   0.00, 0.00, 0.00); attas[vehicleid] = 1;
  158.             AttachObjectToVehicle(object[vehicleid], vehicleid, -0.4949, 0.2178, 0.8512, 0.0, 0.0, 0.0);
  159.         }
  160.         case 423:
  161.         {
  162.             object[vehicleid] = CreateObject(18646, 0.00, 0.00, 0.00,   0.00, 0.00, 0.00); attas[vehicleid] = 1;
  163.             AttachObjectToVehicle(object[vehicleid], vehicleid, -0.7235, 1.3159, 1.5603, 0.0, 0.0, 0.0);
  164.         }
  165.         case 424:
  166.         {
  167.             object[vehicleid] = CreateObject(18646, 0.00, 0.00, 0.00,   0.00, 0.00, 0.00); attas[vehicleid] = 1;
  168.             AttachObjectToVehicle(object[vehicleid], vehicleid, -0.6307, 0.1408, 0.9128, 0.0, 0.0, 0.0);
  169.         }
  170.         case 426:
  171.         {
  172.             object[vehicleid] = CreateObject(18646, 0.00, 0.00, 0.00,   0.00, 0.00, 0.00); attas[vehicleid] = 1;
  173.             AttachObjectToVehicle(object[vehicleid], vehicleid, -0.5938, 0.0518, 0.8728, 0.0, 0.0, 0.0);
  174.         }
  175.         case 428:
  176.         {
  177.             object[vehicleid] = CreateObject(18646, 0.00, 0.00, 0.00,   0.00, 0.00, 0.00); attas[vehicleid] = 1;
  178.             AttachObjectToVehicle(object[vehicleid], vehicleid, -0.4782, 1.0236, 1.4214, 0.0, 0.0, 0.0);
  179.         }
  180.         case 429:
  181.         {
  182.             object[vehicleid] = CreateObject(18646, 0.00, 0.00, 0.00,   0.00, 0.00, 0.00); attas[vehicleid] = 1;
  183.             AttachObjectToVehicle(object[vehicleid], vehicleid, -0.4923, 0.4988, 0.3395, 0.0, 0.0, 0.0);
  184.         }
  185.         case 431:
  186.         {
  187.             object[vehicleid] = CreateObject(18646, 0.00, 0.00, 0.00,   0.00, 0.00, 0.00); attas[vehicleid] = 1;
  188.             AttachObjectToVehicle(object[vehicleid], vehicleid, -0.9708, 5.1313, 2.1750, 0.0, 0.0, 0.0);
  189.         }
  190.         case 432:
  191.         {
  192.             object[vehicleid] = CreateObject(18646, 0.00, 0.00, 0.00,   0.00, 0.00, 0.00); attas[vehicleid] = 1;
  193.             AttachObjectToVehicle(object[vehicleid], vehicleid, -1.5384, 3.5223, 0.6564, 0.0, 0.0, 0.0);
  194.         }
  195.         case 433:
  196.         {
  197.             object[vehicleid] = CreateObject(18646, 0.00, 0.00, 0.00,   0.00, 0.00, 0.00); attas[vehicleid] = 1;
  198.             AttachObjectToVehicle(object[vehicleid], vehicleid, -0.7835, 1.2368, 1.7235, 0.0, 0.0, 0.0);
  199.         }
  200.         case 434:
  201.         {
  202.             object[vehicleid] = CreateObject(18646, 0.00, 0.00, 0.00,   0.00, 0.00, 0.00); attas[vehicleid] = 1;
  203.             AttachObjectToVehicle(object[vehicleid], vehicleid, -0.4648, -0.2705, 0.8130, 0.0, 0.0, 0.0);
  204.         }
  205.         case 436:
  206.         {
  207.             object[vehicleid] = CreateObject(18646, 0.00, 0.00, 0.00,   0.00, 0.00, 0.00); attas[vehicleid] = 1;
  208.             AttachObjectToVehicle(object[vehicleid], vehicleid, -0.3819, -0.0713, 0.8730, 0.0, 0.0, 0.0);
  209.         }
  210.         case 437:
  211.         {
  212.             object[vehicleid] = CreateObject(18646, 0.00, 0.00, 0.00,   0.00, 0.00, 0.00); attas[vehicleid] = 1;
  213.             AttachObjectToVehicle(object[vehicleid], vehicleid, -0.9365, 4.1546, 2.0845, 0.0, 0.0, 0.0);
  214.         }
  215.         case 438:
  216.         {
  217.             object[vehicleid] = CreateObject(18646, 0.00, 0.00, 0.00,   0.00, 0.00, 0.00); attas[vehicleid] = 1;
  218.             AttachObjectToVehicle(object[vehicleid], vehicleid, -0.7054, 0.4750, 0.8016, 0.0, 0.0, 0.0);
  219.         }
  220.         case 439:
  221.         {
  222.             object[vehicleid] = CreateObject(18646, 0.00, 0.00, 0.00,   0.00, 0.00, 0.00); attas[vehicleid] = 1;
  223.             AttachObjectToVehicle(object[vehicleid], vehicleid, -0.4431, -0.1388, 0.7616, 0.0, 0.0, 0.0);
  224.         }
  225.         case 440:
  226.         {
  227.             object[vehicleid] = CreateObject(18646, 0.00, 0.00, 0.00,   0.00, 0.00, 0.00); attas[vehicleid] = 1;
  228.             AttachObjectToVehicle(object[vehicleid], vehicleid, -0.6530, 0.5919, 1.2547, 0.0, 0.0, 0.0);
  229.         }
  230.         case 442:
  231.         {
  232.             object[vehicleid] = CreateObject(18646, 0.00, 0.00, 0.00,   0.00, 0.00, 0.00); attas[vehicleid] = 1;
  233.             AttachObjectToVehicle(object[vehicleid], vehicleid, -0.6659, 0.4026, 0.9347, 0.0, 0.0, 0.0);
  234.         }
  235.         case 443:
  236.         {
  237.             object[vehicleid] = CreateObject(18646, 0.00, 0.00, 0.00,   0.00, 0.00, 0.00); attas[vehicleid] = 1;
  238.             AttachObjectToVehicle(object[vehicleid], vehicleid, -0.5091, 3.3719, 1.5562, 0.0, 0.0, 0.0);
  239.         }
  240.         case 444:
  241.         {
  242.             object[vehicleid] = CreateObject(18646, 0.00, 0.00, 0.00,   0.00, 0.00, 0.00); attas[vehicleid] = 1;
  243.             AttachObjectToVehicle(object[vehicleid], vehicleid, -0.5325, 0.5250, 1.7362, 0.0, 0.0, 0.0);
  244.         }
  245.         case 445:
  246.         {
  247.             object[vehicleid] = CreateObject(18646, 0.00, 0.00, 0.00,   0.00, 0.00, 0.00); attas[vehicleid] = 1;
  248.             AttachObjectToVehicle(object[vehicleid], vehicleid, -0.4795, -0.0762, 0.8738, 0.0, 0.0, 0.0);
  249.         }
  250.         case 448:
  251.         {
  252.             object[vehicleid] = CreateObject(18646, 0.00, 0.00, 0.00,   0.00, 0.00, 0.00); attas[vehicleid] = 1;
  253.             AttachObjectToVehicle(object[vehicleid], vehicleid, 0.0093, 0.4107, 0.6678, 0.0, 0.0, 0.0);
  254.         }
  255.         case 451:
  256.         {
  257.             object[vehicleid] = CreateObject(18646, 0.00, 0.00, 0.00,   0.00, 0.00, 0.00); attas[vehicleid] = 1;
  258.             AttachObjectToVehicle(object[vehicleid], vehicleid, -0.3036, -0.3181, 0.6278, 0.0, 0.0, 0.0);
  259.         }
  260.         case 455:
  261.         {
  262.             object[vehicleid] = CreateObject(18646, 0.00, 0.00, 0.00,   0.00, 0.00, 0.00); attas[vehicleid] = 1;
  263.             AttachObjectToVehicle(object[vehicleid], vehicleid, -0.6282, 1.4207, 1.7250, 0.0, 0.0, 0.0);
  264.         }
  265.         case 456:
  266.         {
  267.             object[vehicleid] = CreateObject(18646, 0.00, 0.00, 0.00,   0.00, 0.00, 0.00); attas[vehicleid] = 1;
  268.             AttachObjectToVehicle(object[vehicleid], vehicleid, -0.2490, 1.5572, 1.3010, 0.0, 0.0, 0.0);
  269.         }
  270.         case 457:
  271.         {
  272.             object[vehicleid] = CreateObject(18646, 0.00, 0.00, 0.00,   0.00, 0.00, 0.00); attas[vehicleid] = 1;
  273.             AttachObjectToVehicle(object[vehicleid], vehicleid, -0.2736, 0.3653, 1.3610, 0.0, 0.0, 0.0);
  274.         }
  275.         case 458:
  276.         {
  277.             object[vehicleid] = CreateObject(18646, 0.00, 0.00, 0.00,   0.00, 0.00, 0.00); attas[vehicleid] = 1;
  278.             AttachObjectToVehicle(object[vehicleid], vehicleid, -0.5326, 0.0974, 0.7414, 0.0, 0.0, 0.0);
  279.         }
  280.         case 459:
  281.         {
  282.             object[vehicleid] = CreateObject(18646, 0.00, 0.00, 0.00,   0.00, 0.00, 0.00); attas[vehicleid] = 1;
  283.             AttachObjectToVehicle(object[vehicleid], vehicleid, -0.5856, 0.6675, 1.1434, 0.0, 0.0, 0.0);
  284.         }
  285.         case 461:
  286.         {
  287.             object[vehicleid] = CreateObject(18646, 0.00, 0.00, 0.00,   0.00, 0.00, 0.00); attas[vehicleid] = 1;
  288.             AttachObjectToVehicle(object[vehicleid], vehicleid, -0.0056, -1.0960, 0.5283, 0.0, 0.0, 0.0);
  289.         }
  290.         case 462:
  291.         {
  292.             object[vehicleid] = CreateObject(18646, 0.00, 0.00, 0.00,   0.00, 0.00, 0.00); attas[vehicleid] = 1;
  293.             AttachObjectToVehicle(object[vehicleid], vehicleid, -0.0084, 0.4067, 0.6883, 0.0, 0.0, 0.0);
  294.         }
  295.         case 463:
  296.         {
  297.             object[vehicleid] = CreateObject(18646, 0.00, 0.00, 0.00,   0.00, 0.00, 0.00); attas[vehicleid] = 1;
  298.             AttachObjectToVehicle(object[vehicleid], vehicleid, -0.0178, 0.7080, 0.5273, 0.0, 0.0, 0.0);
  299.         }
  300.         case 466:
  301.         {
  302.             object[vehicleid] = CreateObject(18646, 0.00, 0.00, 0.00,   0.00, 0.00, 0.00); attas[vehicleid] = 1;
  303.             AttachObjectToVehicle(object[vehicleid], vehicleid, -0.4467, 0.0155, 0.9103, 0.0, 0.0, 0.0);
  304.         }
  305.         case 467:
  306.         {
  307.             object[vehicleid] = CreateObject(18646, 0.00, 0.00, 0.00,   0.00, 0.00, 0.00); attas[vehicleid] = 1;
  308.             AttachObjectToVehicle(object[vehicleid], vehicleid, -0.4467, 0.0155, 0.8703, 0.0, 0.0, 0.0);
  309.         }
  310.         case 468:
  311.         {
  312.             object[vehicleid] = CreateObject(18646, 0.00, 0.00, 0.00,   0.00, 0.00, 0.00); attas[vehicleid] = 1;
  313.             AttachObjectToVehicle(object[vehicleid], vehicleid, 0.0357, 0.3913, 0.6643, 0.0, 0.0, 0.0);
  314.         }
  315.         case 470:
  316.         {
  317.             object[vehicleid] = CreateObject(18646, 0.00, 0.00, 0.00,   0.00, 0.00, 0.00); attas[vehicleid] = 1;
  318.             AttachObjectToVehicle(object[vehicleid], vehicleid, -0.7842, -0.0447, 1.1273, 0.0, 0.0, 0.0);
  319.         }
  320.         case 471:
  321.         {
  322.             object[vehicleid] = CreateObject(18646, 0.00, 0.00, 0.00,   0.00, 0.00, 0.00); attas[vehicleid] = 1;
  323.             AttachObjectToVehicle(object[vehicleid], vehicleid, -0.0080, 0.1867, 0.7233, 0.0, 0.0, 0.0);
  324.         }
  325.         case 474:
  326.         {
  327.             object[vehicleid] = CreateObject(18646, 0.00, 0.00, 0.00,   0.00, 0.00, 0.00); attas[vehicleid] = 1;
  328.             AttachObjectToVehicle(object[vehicleid], vehicleid, -0.5898, -0.1819, 0.8233, 0.0, 0.0, 0.0);
  329.         }
  330.         case 475:
  331.         {
  332.             object[vehicleid] = CreateObject(18646, 0.00, 0.00, 0.00,   0.00, 0.00, 0.00); attas[vehicleid] = 1;
  333.             AttachObjectToVehicle(object[vehicleid], vehicleid, -0.5898, -0.1819, 0.7433, 0.0, 0.0, 0.0);
  334.         }
  335.         case 477:
  336.         {
  337.             object[vehicleid] = CreateObject(18646, 0.00, 0.00, 0.00,   0.00, 0.00, 0.00); attas[vehicleid] = 1;
  338.             AttachObjectToVehicle(object[vehicleid], vehicleid, -0.5110, -0.2192, 0.7633, 0.0, 0.0, 0.0);
  339.         }
  340.         case 478:
  341.         {
  342.             object[vehicleid] = CreateObject(18646, 0.00, 0.00, 0.00,   0.00, 0.00, 0.00); attas[vehicleid] = 1;
  343.             AttachObjectToVehicle(object[vehicleid], vehicleid, -0.4810, 0.5532, 0.9233, 0.0, 0.0, 0.0);
  344.         }
  345.         case 479:
  346.         {
  347.             object[vehicleid] = CreateObject(18646, 0.00, 0.00, 0.00,   0.00, 0.00, 0.00); attas[vehicleid] = 1;
  348.             AttachObjectToVehicle(object[vehicleid], vehicleid, -0.4669, -0.1329, 1.0033, 0.0, 0.0, 0.0);
  349.         }
  350.         case 480:
  351.         {
  352.             object[vehicleid] = CreateObject(18646, 0.00, 0.00, 0.00,   0.00, 0.00, 0.00); attas[vehicleid] = 1;
  353.             AttachObjectToVehicle(object[vehicleid], vehicleid, -0.4701, -0.9806, 0.7173, 0.0, 0.0, 0.0);
  354.         }
  355.         case 482:
  356.         {
  357.             object[vehicleid] = CreateObject(18646, 0.00, 0.00, 0.00,   0.00, 0.00, 0.00); attas[vehicleid] = 1;
  358.             AttachObjectToVehicle(object[vehicleid], vehicleid, -0.3282, 0.6971, 0.9603, 0.0, 0.0, 0.0);
  359.         }
  360.         case 483:
  361.         {
  362.             object[vehicleid] = CreateObject(18646, 0.00, 0.00, 0.00,   0.00, 0.00, 0.00); attas[vehicleid] = 1;
  363.             AttachObjectToVehicle(object[vehicleid], vehicleid, -0.3503, 1.7129, 1.0599, 0.0, 0.0, 0.0);
  364.         }
  365.         case 485:
  366.         {
  367.             object[vehicleid] = CreateObject(18646, 0.00, 0.00, 0.00,   0.00, 0.00, 0.00); attas[vehicleid] = 1;
  368.             AttachObjectToVehicle(object[vehicleid], vehicleid, -0.1891, 0.9130, 0.7399, 0.0, 0.0, 0.0);
  369.         }
  370.         case 486:
  371.         {
  372.             object[vehicleid] = CreateObject(18646, 0.00, 0.00, 0.00,   0.00, 0.00, 0.00); attas[vehicleid] = 1;
  373.             AttachObjectToVehicle(object[vehicleid], vehicleid, -0.4968, 0.1311, 2.2492, 0.0, 0.0, 0.0);
  374.         }
  375.         case 489:
  376.         {
  377.             object[vehicleid] = CreateObject(18646, 0.00, 0.00, 0.00,   0.00, 0.00, 0.00); attas[vehicleid] = 1;
  378.             AttachObjectToVehicle(object[vehicleid], vehicleid, -0.6457, 0.0172, 1.1341, 0.0, 0.0, 0.0);
  379.         }
  380.         case 490:
  381.         {
  382.             object[vehicleid] = CreateObject(18646, 0.00, 0.00, 0.00,   0.00, 0.00, 0.00); attas[vehicleid] = 1;
  383.             AttachObjectToVehicle(object[vehicleid], vehicleid, -0.5489, 0.4506, 1.1341, 0.0, 0.0, 0.0);
  384.         }
  385.         case 491:
  386.         {
  387.             object[vehicleid] = CreateObject(18646, 0.00, 0.00, 0.00,   0.00, 0.00, 0.00); attas[vehicleid] = 1;
  388.             AttachObjectToVehicle(object[vehicleid], vehicleid, -0.4914, -0.3402, 0.7541, 0.0, 0.0, 0.0);
  389.         }
  390.         case 492:
  391.         {
  392.             object[vehicleid] = CreateObject(18646, 0.00, 0.00, 0.00,   0.00, 0.00, 0.00); attas[vehicleid] = 1;
  393.             AttachObjectToVehicle(object[vehicleid], vehicleid, -0.4926, 0.0016, 0.9141, 0.0, 0.0, 0.0);
  394.         }
  395.         case 494:
  396.         {
  397.             object[vehicleid] = CreateObject(18646, 0.00, 0.00, 0.00,   0.00, 0.00, 0.00); attas[vehicleid] = 1;
  398.             AttachObjectToVehicle(object[vehicleid], vehicleid, -0.4936, -0.3327, 0.7741, 0.0, 0.0, 0.0);
  399.         }
  400.         case 495:
  401.         {
  402.             object[vehicleid] = CreateObject(18646, 0.00, 0.00, 0.00,   0.00, 0.00, 0.00); attas[vehicleid] = 1;
  403.             AttachObjectToVehicle(object[vehicleid], vehicleid, -0.6534, 0.0466, 1.0951, 0.0, 0.0, 0.0);
  404.         }
  405.         case 496:
  406.         {
  407.             object[vehicleid] = CreateObject(18646, 0.00, 0.00, 0.00,   0.00, 0.00, 0.00); attas[vehicleid] = 1;
  408.             AttachObjectToVehicle(object[vehicleid], vehicleid, -0.5821, -0.2785, 0.8551, 0.0, 0.0, 0.0);
  409.         }
  410.         case 498:
  411.         {
  412.             object[vehicleid] = CreateObject(18646, 0.00, 0.00, 0.00,   0.00, 0.00, 0.00); attas[vehicleid] = 1;
  413.             AttachObjectToVehicle(object[vehicleid], vehicleid, -0.8779, 1.2311, 2.1814, 0.0, 0.0, 0.0);
  414.         }
  415.         case 499:
  416.         {
  417.             object[vehicleid] = CreateObject(18646, 0.00, 0.00, 0.00,   0.00, 0.00, 0.00); attas[vehicleid] = 1;
  418.             AttachObjectToVehicle(object[vehicleid], vehicleid, -0.9359, -0.0823, 1.9814, 0.0, 0.0, 0.0);
  419.         }
  420.         case 500:
  421.         {
  422.             object[vehicleid] = CreateObject(18646, 0.00, 0.00, 0.00,   0.00, 0.00, 0.00); attas[vehicleid] = 1;
  423.             AttachObjectToVehicle(object[vehicleid], vehicleid, -0.5138, 0.1216, 0.9914, 0.0, 0.0, 0.0);
  424.         }
  425.         case 502:
  426.         {
  427.             object[vehicleid] = CreateObject(18646, 0.00, 0.00, 0.00,   0.00, 0.00, 0.00); attas[vehicleid] = 1;
  428.             AttachObjectToVehicle(object[vehicleid], vehicleid, -0.4290, -0.0606, 0.8114, 0.0, 0.0, 0.0);
  429.         }
  430.         case 503:
  431.         {
  432.             object[vehicleid] = CreateObject(18646, 0.00, 0.00, 0.00,   0.00, 0.00, 0.00); attas[vehicleid] = 1;
  433.             AttachObjectToVehicle(object[vehicleid], vehicleid, -0.4436, -0.2320, 0.8514, 0.0, 0.0, 0.0);
  434.         }
  435.         case 505:
  436.         {
  437.             object[vehicleid] = CreateObject(18646, 0.00, 0.00, 0.00,   0.00, 0.00, 0.00); attas[vehicleid] = 1;
  438.             AttachObjectToVehicle(object[vehicleid], vehicleid, -0.6738, 0.0430, 1.1314, 0.0, 0.0, 0.0);
  439.         }
  440.         case 506:
  441.         {
  442.             object[vehicleid] = CreateObject(18646, 0.00, 0.00, 0.00,   0.00, 0.00, 0.00); attas[vehicleid] = 1;
  443.             AttachObjectToVehicle(object[vehicleid], vehicleid, -0.5094, -0.3479, 0.6304, 0.0, 0.0, 0.0);
  444.         }
  445.         case 507:
  446.         {
  447.             object[vehicleid] = CreateObject(18646, 0.00, 0.00, 0.00,   0.00, 0.00, 0.00); attas[vehicleid] = 1;
  448.             AttachObjectToVehicle(object[vehicleid], vehicleid, -0.4717, -0.1347, 0.8524, 0.0, 0.0, 0.0);
  449.         }
  450.         case 508:
  451.         {
  452.             object[vehicleid] = CreateObject(18646, 0.00, 0.00, 0.00,   0.00, 0.00, 0.00); attas[vehicleid] = 1;
  453.             AttachObjectToVehicle(object[vehicleid], vehicleid, -1.0030, 1.1855, 1.7215, 0.0, 0.0, 0.0);
  454.         }
  455.         case 514:
  456.         {
  457.             object[vehicleid] = CreateObject(18646, 0.00, 0.00, 0.00,   0.00, 0.00, 0.00); attas[vehicleid] = 1;
  458.             AttachObjectToVehicle(object[vehicleid], vehicleid, -0.6450, 1.5226, 1.3704, 0.0, 0.0, 0.0);
  459.         }
  460.         case 515:
  461.         {
  462.             object[vehicleid] = CreateObject(18646, 0.00, 0.00, 0.00,   0.00, 0.00, 0.00); attas[vehicleid] = 1;
  463.             AttachObjectToVehicle(object[vehicleid], vehicleid, -0.6450, 1.5226, 1.3304, 0.0, 0.0, 0.0);
  464.         }
  465.         case 516:
  466.         {
  467.             object[vehicleid] = CreateObject(18646, 0.00, 0.00, 0.00,   0.00, 0.00, 0.00); attas[vehicleid] = 1;
  468.             AttachObjectToVehicle(object[vehicleid], vehicleid, -0.6219, 0.0517, 0.8603, 0.0, 0.0, 0.0);
  469.         }
  470.         case 517:
  471.         {
  472.             object[vehicleid] = CreateObject(18646, 0.00, 0.00, 0.00,   0.00, 0.00, 0.00); attas[vehicleid] = 1;
  473.             AttachObjectToVehicle(object[vehicleid], vehicleid, -0.6219, 0.0517, 0.8403, 0.0, 0.0, 0.0);
  474.         }
  475.         case 518:
  476.         {
  477.             object[vehicleid] = CreateObject(18646, 0.00, 0.00, 0.00,   0.00, 0.00, 0.00); attas[vehicleid] = 1;
  478.             AttachObjectToVehicle(object[vehicleid], vehicleid, -0.6219, 0.0517, 0.7203, 0.0, 0.0, 0.0);
  479.         }
  480.         case 521:
  481.         {
  482.             object[vehicleid] = CreateObject(18646, 0.00, 0.00, 0.00,   0.00, 0.00, 0.00); attas[vehicleid] = 1;
  483.             AttachObjectToVehicle(object[vehicleid], vehicleid, 0.0026, -0.9083, 0.5753, 0.0, 0.0, 0.0);
  484.         }
  485.         case 522:
  486.         {
  487.             object[vehicleid] = CreateObject(18646, 0.00, 0.00, 0.00,   0.00, 0.00, 0.00); attas[vehicleid] = 1;
  488.             AttachObjectToVehicle(object[vehicleid], vehicleid, 0.0026, -0.9083, 0.6353, 0.0, 0.0, 0.0);
  489.         }
  490.         case 523:
  491.         {
  492.             object[vehicleid] = CreateObject(18646, 0.00, 0.00, 0.00,   0.00, 0.00, 0.00); attas[vehicleid] = 1;
  493.             AttachObjectToVehicle(object[vehicleid], vehicleid, 0.0026, -0.9083, 0.6953, 0.0, 0.0, 0.0);
  494.         }
  495.         case 524:
  496.         {
  497.             object[vehicleid] = CreateObject(18646, 0.00, 0.00, 0.00,   0.00, 0.00, 0.00); attas[vehicleid] = 1;
  498.             AttachObjectToVehicle(object[vehicleid], vehicleid, -0.8189, 1.5349, 0.9153, 0.0, 0.0, 0.0);
  499.         }
  500.         case 525:
  501.         {
  502.             object[vehicleid] = CreateObject(18646, 0.00, 0.00, 0.00,   0.00, 0.00, 0.00); attas[vehicleid] = 1;
  503.             AttachObjectToVehicle(object[vehicleid], vehicleid, -0.5849, 0.4409, 1.4163, 0.0, 0.0, 0.0);
  504.         }
  505.         case 526:
  506.         {
  507.             object[vehicleid] = CreateObject(18646, 0.00, 0.00, 0.00,   0.00, 0.00, 0.00); attas[vehicleid] = 1;
  508.             AttachObjectToVehicle(object[vehicleid], vehicleid, -0.5474, -0.0856, 0.6812, 0.0, 0.0, 0.0);
  509.         }
  510.         case 527:
  511.         {
  512.             object[vehicleid] = CreateObject(18646, 0.00, 0.00, 0.00,   0.00, 0.00, 0.00); attas[vehicleid] = 1;
  513.             AttachObjectToVehicle(object[vehicleid], vehicleid, -0.4702, -0.0893, 0.9012, 0.0, 0.0, 0.0);
  514.         }
  515.         case 528:
  516.         {
  517.             object[vehicleid] = CreateObject(18646, 0.00, 0.00, 0.00,   0.00, 0.00, 0.00); attas[vehicleid] = 1;
  518.             AttachObjectToVehicle(object[vehicleid], vehicleid, -0.5842, 0.2196, 1.1012, 0.0, 0.0, 0.0);
  519.         }
  520.         case 529:
  521.         {
  522.             object[vehicleid] = CreateObject(18646, 0.00, 0.00, 0.00,   0.00, 0.00, 0.00); attas[vehicleid] = 1;
  523.             AttachObjectToVehicle(object[vehicleid], vehicleid, -0.5227, -0.1638, 0.9382, 0.0, 0.0, 0.0);
  524.         }
  525.         case 530:
  526.         {
  527.             object[vehicleid] = CreateObject(18646, 0.00, 0.00, 0.00,   0.00, 0.00, 0.00); attas[vehicleid] = 1;
  528.             AttachObjectToVehicle(object[vehicleid], vehicleid, -0.4472, 0.1529, 1.5222, 0.0, 0.0, 0.0);
  529.         }
  530.         case 533:
  531.         {
  532.             object[vehicleid] = CreateObject(18646, 0.00, 0.00, 0.00,   0.00, 0.00, 0.00); attas[vehicleid] = 1;
  533.             AttachObjectToVehicle(object[vehicleid], vehicleid, -0.7750, 1.0846, 0.3748, 0.0, 0.0, 0.0);
  534.         }
  535.         case 534:
  536.         {
  537.             object[vehicleid] = CreateObject(18646, 0.00, 0.00, 0.00,   0.00, 0.00, 0.00); attas[vehicleid] = 1;
  538.             AttachObjectToVehicle(object[vehicleid], vehicleid, -0.5241, 0.2835, 0.6778, 0.0, 0.0, 0.0);
  539.         }
  540.         case 535:
  541.         {
  542.             object[vehicleid] = CreateObject(18646, 0.00, 0.00, 0.00,   0.00, 0.00, 0.00); attas[vehicleid] = 1;
  543.             AttachObjectToVehicle(object[vehicleid], vehicleid, -0.6577, 0.2718, 0.8378, 0.0, 0.0, 0.0);
  544.         }
  545.         case 536:
  546.         {
  547.             object[vehicleid] = CreateObject(18646, 0.00, 0.00, 0.00,   0.00, 0.00, 0.00); attas[vehicleid] = 1;
  548.             AttachObjectToVehicle(object[vehicleid], vehicleid, -0.8394, 1.1995, 0.2487, 0.0, 0.0, 0.0);
  549.         }
  550.         case 540:
  551.         {
  552.             object[vehicleid] = CreateObject(18646, 0.00, 0.00, 0.00,   0.00, 0.00, 0.00); attas[vehicleid] = 1;
  553.             AttachObjectToVehicle(object[vehicleid], vehicleid, -0.5288, 0.1756, 0.7327, 0.0, 0.0, 0.0);
  554.         }
  555.         case 541:
  556.         {
  557.             object[vehicleid] = CreateObject(18646, 0.00, 0.00, 0.00,   0.00, 0.00, 0.00); attas[vehicleid] = 1;
  558.             AttachObjectToVehicle(object[vehicleid], vehicleid, -0.4786, 0.0404, 0.6527, 0.0, 0.0, 0.0);
  559.         }
  560.         case 542:
  561.         {
  562.             object[vehicleid] = CreateObject(18646, 0.00, 0.00, 0.00,   0.00, 0.00, 0.00); attas[vehicleid] = 1;
  563.             AttachObjectToVehicle(object[vehicleid], vehicleid, -0.4832, 0.0209, 0.8527, 0.0, 0.0, 0.0);
  564.         }
  565.         case 543:
  566.         {
  567.             object[vehicleid] = CreateObject(18646, 0.00, 0.00, 0.00,   0.00, 0.00, 0.00); attas[vehicleid] = 1;
  568.             AttachObjectToVehicle(object[vehicleid], vehicleid, -0.6476, 0.3682, 0.9327, 0.0, 0.0, 0.0);
  569.         }
  570.         case 545:
  571.         {
  572.             object[vehicleid] = CreateObject(18646, 0.00, 0.00, 0.00,   0.00, 0.00, 0.00); attas[vehicleid] = 1;
  573.             AttachObjectToVehicle(object[vehicleid], vehicleid, -0.4056, -0.1463, 0.7927, 0.0, 0.0, 0.0);
  574.         }
  575.         case 546:
  576.         {
  577.             object[vehicleid] = CreateObject(18646, 0.00, 0.00, 0.00,   0.00, 0.00, 0.00); attas[vehicleid] = 1;
  578.             AttachObjectToVehicle(object[vehicleid], vehicleid, -0.4056, -0.1463, 0.8727, 0.0, 0.0, 0.0);
  579.         }
  580.         case 547:
  581.         {
  582.             object[vehicleid] = CreateObject(18646, 0.00, 0.00, 0.00,   0.00, 0.00, 0.00); attas[vehicleid] = 1;
  583.             AttachObjectToVehicle(object[vehicleid], vehicleid, -0.4056, -0.1463, 0.9327, 0.0, 0.0, 0.0);
  584.         }
  585.         case 549:
  586.         {
  587.             object[vehicleid] = CreateObject(18646, 0.00, 0.00, 0.00,   0.00, 0.00, 0.00); attas[vehicleid] = 1;
  588.             AttachObjectToVehicle(object[vehicleid], vehicleid, -0.5082, 0.2406, 0.7727, 0.0, 0.0, 0.0);
  589.         }
  590.         case 550:
  591.         {
  592.             object[vehicleid] = CreateObject(18646, 0.00, 0.00, 0.00,   0.00, 0.00, 0.00); attas[vehicleid] = 1;
  593.             AttachObjectToVehicle(object[vehicleid], vehicleid, -0.5080, 0.1176, 0.7327, 0.0, 0.0, 0.0);
  594.         }
  595.         case 551:
  596.         {
  597.             object[vehicleid] = CreateObject(18646, 0.00, 0.00, 0.00,   0.00, 0.00, 0.00); attas[vehicleid] = 1;
  598.             AttachObjectToVehicle(object[vehicleid], vehicleid, -0.4076, -0.1853, 0.9327, 0.0, 0.0, 0.0);
  599.         }
  600.         case 552:
  601.         {
  602.             object[vehicleid] = CreateObject(18646, 0.00, 0.00, 0.00,   0.00, 0.00, 0.00); attas[vehicleid] = 1;
  603.             AttachObjectToVehicle(object[vehicleid], vehicleid, -0.7122, 0.9196, 1.3557, 0.0, 0.0, 0.0);
  604.         }
  605.         case 554:
  606.         {
  607.             object[vehicleid] = CreateObject(18646, 0.00, 0.00, 0.00,   0.00, 0.00, 0.00); attas[vehicleid] = 1;
  608.             AttachObjectToVehicle(object[vehicleid], vehicleid, -0.7110, 0.1214, 1.0557, 0.0, 0.0, 0.0);
  609.         }
  610.         case 555:
  611.         {
  612.             object[vehicleid] = CreateObject(18646, 0.00, 0.00, 0.00,   0.00, 0.00, 0.00); attas[vehicleid] = 1;
  613.             AttachObjectToVehicle(object[vehicleid], vehicleid, -0.3050, 0.1220, 0.6507, 0.0, 0.0, 0.0);
  614.         }
  615.         case 556:
  616.         {
  617.             object[vehicleid] = CreateObject(18646, 0.00, 0.00, 0.00,   0.00, 0.00, 0.00); attas[vehicleid] = 1;
  618.             AttachObjectToVehicle(object[vehicleid], vehicleid, -0.5851, 0.2216, 1.6916, 0.0, 0.0, 0.0);
  619.         }
  620.         case 557:
  621.         {
  622.             object[vehicleid] = CreateObject(18646, 0.00, 0.00, 0.00,   0.00, 0.00, 0.00); attas[vehicleid] = 1;
  623.             AttachObjectToVehicle(object[vehicleid], vehicleid, -0.5848, 0.0206, 1.6916, 0.0, 0.0, 0.0);
  624.         }
  625.         case 558:
  626.         {
  627.             object[vehicleid] = CreateObject(18646, 0.00, 0.00, 0.00,   0.00, 0.00, 0.00); attas[vehicleid] = 1;
  628.             AttachObjectToVehicle(object[vehicleid], vehicleid, -0.4845, -0.1823, 0.8934, 0.0, 0.0, 0.0);
  629.         }
  630.         case 559:
  631.         {
  632.             object[vehicleid] = CreateObject(18646, 0.00, 0.00, 0.00,   0.00, 0.00, 0.00); attas[vehicleid] = 1;
  633.             AttachObjectToVehicle(object[vehicleid], vehicleid, -0.4845, -0.1823, 0.7534, 0.0, 0.0, 0.0);
  634.         }
  635.         case 560:
  636.         {
  637.             object[vehicleid] = CreateObject(18646, 0.00, 0.00, 0.00,   0.00, 0.00, 0.00); attas[vehicleid] = 1;
  638.             AttachObjectToVehicle(object[vehicleid], vehicleid, -0.4851, 0.2187, 0.8734, 0.0, 0.0, 0.0);
  639.         }
  640.         case 561:
  641.         {
  642.             object[vehicleid] = CreateObject(18646, 0.00, 0.00, 0.00,   0.00, 0.00, 0.00); attas[vehicleid] = 1;
  643.             AttachObjectToVehicle(object[vehicleid], vehicleid, -0.4649, 0.0587, 0.8534, 0.0, 0.0, 0.0);
  644.         }
  645.         case 562:
  646.         {
  647.             object[vehicleid] = CreateObject(18646, 0.00, 0.00, 0.00,   0.00, 0.00, 0.00); attas[vehicleid] = 1;
  648.             AttachObjectToVehicle(object[vehicleid], vehicleid, -0.4247, -0.0812, 0.8134, 0.0, 0.0, 0.0);
  649.         }
  650.         case 565:
  651.         {
  652.             object[vehicleid] = CreateObject(18646, 0.00, 0.00, 0.00,   0.00, 0.00, 0.00); attas[vehicleid] = 1;
  653.             AttachObjectToVehicle(object[vehicleid], vehicleid, -0.4644, -0.0952, 0.7324, 0.0, 0.0, 0.0);
  654.         }
  655.         case 566:
  656.         {
  657.             object[vehicleid] = CreateObject(18646, 0.00, 0.00, 0.00,   0.00, 0.00, 0.00); attas[vehicleid] = 1;
  658.             AttachObjectToVehicle(object[vehicleid], vehicleid, -0.6046, 0.0646, 0.8724, 0.0, 0.0, 0.0);
  659.         }
  660.         case 567:
  661.         {
  662.             object[vehicleid] = CreateObject(18646, 0.00, 0.00, 0.00,   0.00, 0.00, 0.00); attas[vehicleid] = 1;
  663.             AttachObjectToVehicle(object[vehicleid], vehicleid, -0.8701, 1.7224, 0.1993, 0.0, 0.0, 0.0);
  664.         }
  665.         case 568:
  666.         {
  667.             object[vehicleid] = CreateObject(18646, 0.00, 0.00, 0.00,   0.00, 0.00, 0.00); attas[vehicleid] = 1;
  668.             AttachObjectToVehicle(object[vehicleid], vehicleid, 0.2746, 0.1421, 0.7593, 0.0, 0.0, 0.0);
  669.         }
  670.         case 573:
  671.         {
  672.             object[vehicleid] = CreateObject(18646, 0.00, 0.00, 0.00,   0.00, 0.00, 0.00); attas[vehicleid] = 1;
  673.             AttachObjectToVehicle(object[vehicleid], vehicleid, -0.6781, 2.2043, 1.5484, 0.0, 0.0, 0.0);
  674.         }
  675.         case 574:
  676.         {
  677.             object[vehicleid] = CreateObject(18646, 0.00, 0.00, 0.00,   0.00, 0.00, 0.00); attas[vehicleid] = 1;
  678.             AttachObjectToVehicle(object[vehicleid], vehicleid, -0.0000, 0.6507, 1.2844, 0.0, 0.0, 0.0);
  679.         }
  680.         case 575:
  681.         {
  682.             object[vehicleid] = CreateObject(18646, 0.00, 0.00, 0.00,   0.00, 0.00, 0.00); attas[vehicleid] = 1;
  683.             AttachObjectToVehicle(object[vehicleid], vehicleid, -0.7301, 1.1772, 0.5374, 0.0, 0.0, 0.0);
  684.         }
  685.         case 578:
  686.         {
  687.             object[vehicleid] = CreateObject(18646, 0.00, 0.00, 0.00,   0.00, 0.00, 0.00); attas[vehicleid] = 1;
  688.             AttachObjectToVehicle(object[vehicleid], vehicleid, -0.8932, 3.1397, 1.4214, 0.0, 0.0, 0.0);
  689.         }
  690.         case 579:
  691.         {
  692.             object[vehicleid] = CreateObject(18646, 0.00, 0.00, 0.00,   0.00, 0.00, 0.00); attas[vehicleid] = 1;
  693.             AttachObjectToVehicle(object[vehicleid], vehicleid, -0.5579, 0.0036, 1.2604, 0.0, 0.0, 0.0);
  694.         }
  695.         case 580:
  696.         {
  697.             object[vehicleid] = CreateObject(18646, 0.00, 0.00, 0.00,   0.00, 0.00, 0.00); attas[vehicleid] = 1;
  698.             AttachObjectToVehicle(object[vehicleid], vehicleid, -0.6475, 0.1824, 1.0804, 0.0, 0.0, 0.0);
  699.         }
  700.         case 581:
  701.         {
  702.             object[vehicleid] = CreateObject(18646, 0.00, 0.00, 0.00,   0.00, 0.00, 0.00); attas[vehicleid] = 1;
  703.             AttachObjectToVehicle(object[vehicleid], vehicleid, -0.0152, -0.9385, 0.5784, 0.0, 0.0, 0.0);
  704.         }
  705.         case 582:
  706.         {
  707.             object[vehicleid] = CreateObject(18646, 0.00, 0.00, 0.00,   0.00, 0.00, 0.00); attas[vehicleid] = 1;
  708.             AttachObjectToVehicle(object[vehicleid], vehicleid, -0.6088, 0.9868, 1.1824, 0.0, 0.0, 0.0);
  709.         }
  710.         case 583:
  711.         {
  712.             object[vehicleid] = CreateObject(18646, 0.00, 0.00, 0.00,   0.00, 0.00, 0.00); attas[vehicleid] = 1;
  713.             AttachObjectToVehicle(object[vehicleid], vehicleid, -0.3747, -0.4229, 1.6024, 0.0, 0.0, 0.0);
  714.         }
  715.         case 585:
  716.         {
  717.             object[vehicleid] = CreateObject(18646, 0.00, 0.00, 0.00,   0.00, 0.00, 0.00); attas[vehicleid] = 1;
  718.             AttachObjectToVehicle(object[vehicleid], vehicleid, -0.5207, -0.0115, 1.0374, 0.0, 0.0, 0.0);
  719.         }
  720.         case 586:
  721.         {
  722.             object[vehicleid] = CreateObject(18646, 0.00, 0.00, 0.00,   0.00, 0.00, 0.00); attas[vehicleid] = 1;
  723.             AttachObjectToVehicle(object[vehicleid], vehicleid, -0.0176, -1.2010, 0.6544, 0.0, 0.0, 0.0);
  724.         }
  725.         case 587:
  726.         {
  727.             object[vehicleid] = CreateObject(18646, 0.00, 0.00, 0.00,   0.00, 0.00, 0.00); attas[vehicleid] = 1;
  728.             AttachObjectToVehicle(object[vehicleid], vehicleid, -0.4892, -0.4590, 0.7944, 0.0, 0.0, 0.0);
  729.         }
  730.         case 589:
  731.         {
  732.             object[vehicleid] = CreateObject(18646, 0.00, 0.00, 0.00,   0.00, 0.00, 0.00); attas[vehicleid] = 1;
  733.             AttachObjectToVehicle(object[vehicleid], vehicleid, -0.5847, 0.0632, 1.0954, 0.0, 0.0, 0.0);
  734.         }
  735.         case 602:
  736.         {
  737.             object[vehicleid] = CreateObject(18646, 0.00, 0.00, 0.00,   0.00, 0.00, 0.00); attas[vehicleid] = 1;
  738.             AttachObjectToVehicle(object[vehicleid], vehicleid, -0.5579, -0.1570, 0.7124, 0.0, 0.0, 0.0);
  739.         }
  740.         case 603:
  741.         {
  742.             object[vehicleid] = CreateObject(18646, 0.00, 0.00, 0.00,   0.00, 0.00, 0.00); attas[vehicleid] = 1;
  743.             AttachObjectToVehicle(object[vehicleid], vehicleid, -0.5579, -0.1570, 0.6924, 0.0, 0.0, 0.0);
  744.         }
  745.         default:
  746.         {
  747.             SendClientMessage(playerid, 0xFFFFFFFF, "Aceast vehicul nu poate avea sirena!");
  748.         }
  749.     }
  750.     return 1;
  751. }
  752.  
  753. stock DesAttachSirena(vehicleid)
  754. {
  755.     new object[MAX_VEHICLES];
  756.     attas[vehicleid] = 0; DestroyObject(object[vehicleid]);
  757.     return 1;
  758. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement