Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include <a_samp>
- #include <sscanf2>
- #include <zcmd>
- new attas[MAX_VEHICLES];
- new object[MAX_VEHICLES];
- public OnFilterScriptInit()
- {
- print("\n--------------------------------------");
- print(" Siren System by Gireada loaded");
- print("--------------------------------------\n");
- for(new v=1; v<MAX_VEHICLES; v++)
- {
- attas[v] = 0;
- }
- return 1;
- }
- public OnFilterScriptExit()
- {
- return 1;
- }
- main()
- {
- print("\n----------------------------------");
- print(" Siren System by Gireada");
- print("----------------------------------\n");
- }
- public OnVehicleDeath(vehicleid, killerid)
- {
- DestroyObject(object[vehicleid]); attas[vehicleid] = 0;
- return 1;
- }
- public OnVehicleSpawn(vehicleid)
- {
- DestroyObject(object[vehicleid]); attas[vehicleid] = 0;
- return 1;
- }
- CMD:sirena(playerid, params[])
- {
- if(IsPlayerInAnyVehicle(playerid))
- {
- new carid = GetPlayerVehicleID(playerid);
- new model = GetVehicleModel(carid);
- if(attas[carid] == 0)
- {
- AttasSirentToVehicle(carid,model,playerid);
- }
- else if(attas[carid] == 1)
- {
- attas[carid] = 0; DestroyObject(object[carid]);
- }
- }
- return 1;
- }
- stock AttasSirentToVehicle(vehicleid,modelid,playerid)
- {
- switch(modelid)
- {
- case 400:
- {
- object[vehicleid] = CreateObject(18646, 0.00, 0.00, 0.00, 0.00, 0.00, 0.00); attas[vehicleid] = 1;
- AttachObjectToVehicle(object[vehicleid], vehicleid, -0.4147, 0.0990, 0.8681, 0.0, 0.0, 0.0);
- }
- case 401:
- {
- object[vehicleid] = CreateObject(18646, 0.00, 0.00, 0.00, 0.00, 0.00, 0.00); attas[vehicleid] = 1;
- AttachObjectToVehicle(object[vehicleid], vehicleid, -0.4147, 0.0990, 0.8081, 0.0, 0.0, 0.0);
- }
- case 402:
- {
- object[vehicleid] = CreateObject(18646, 0.00, 0.00, 0.00, 0.00, 0.00, 0.00); attas[vehicleid] = 1;
- AttachObjectToVehicle(object[vehicleid], vehicleid, -0.4147, -0.2410, 0.8081, 0.0, 0.0, 0.0);
- }
- case 403:
- {
- object[vehicleid] = CreateObject(18646, 0.00, 0.00, 0.00, 0.00, 0.00, 0.00); attas[vehicleid] = 1;
- AttachObjectToVehicle(object[vehicleid], vehicleid, -0.0932, 1.8436, 1.5601, 0.0, 0.0, 0.0);
- }
- case 404:
- {
- object[vehicleid] = CreateObject(18646, 0.00, 0.00, 0.00, 0.00, 0.00, 0.00); attas[vehicleid] = 1;
- AttachObjectToVehicle(object[vehicleid], vehicleid, -0.5120, -0.0382, 0.9849, 0.0, 0.0, 0.0);
- }
- case 405:
- {
- object[vehicleid] = CreateObject(18646, 0.00, 0.00, 0.00, 0.00, 0.00, 0.00); attas[vehicleid] = 1;
- AttachObjectToVehicle(object[vehicleid], vehicleid, -0.5120, -0.0382, 0.7849, 0.0, 0.0, 0.0);
- }
- case 408:
- {
- object[vehicleid] = CreateObject(18646, 0.00, 0.00, 0.00, 0.00, 0.00, 0.00); attas[vehicleid] = 1;
- AttachObjectToVehicle(object[vehicleid], vehicleid, -0.7238, 2.8859, 1.0459, 0.0, 0.0, 0.0);
- }
- case 409:
- {
- object[vehicleid] = CreateObject(18646, 0.00, 0.00, 0.00, 0.00, 0.00, 0.00); attas[vehicleid] = 1;
- AttachObjectToVehicle(object[vehicleid], vehicleid, -0.5549, 0.7971, 0.8659, 0.0, 0.0, 0.0);
- }
- case 410:
- {
- object[vehicleid] = CreateObject(18646, 0.00, 0.00, 0.00, 0.00, 0.00, 0.00); attas[vehicleid] = 1;
- AttachObjectToVehicle(object[vehicleid], vehicleid, -0.4375, -0.0936, 0.9259, 0.0, 0.0, 0.0);
- }
- case 411:
- {
- object[vehicleid] = CreateObject(18646, 0.00, 0.00, 0.00, 0.00, 0.00, 0.00); attas[vehicleid] = 1;
- AttachObjectToVehicle(object[vehicleid], vehicleid, -0.4744, 0.1759, 0.7259, 0.0, 0.0, 0.0);
- }
- case 412:
- {
- object[vehicleid] = CreateObject(18646, 0.00, 0.00, 0.00, 0.00, 0.00, 0.00); attas[vehicleid] = 1;
- AttachObjectToVehicle(object[vehicleid], vehicleid, -0.4744, 0.1759, 0.7259, 0.0, 0.0, 0.0);
- }
- case 413:
- {
- object[vehicleid] = CreateObject(18646, 0.00, 0.00, 0.00, 0.00, 0.00, 0.00); attas[vehicleid] = 1;
- AttachObjectToVehicle(object[vehicleid], vehicleid, -0.5546, 0.6755, 1.1299, 0.0, 0.0, 0.0);
- }
- case 414:
- {
- object[vehicleid] = CreateObject(18646, 0.00, 0.00, 0.00, 0.00, 0.00, 0.00); attas[vehicleid] = 1;
- AttachObjectToVehicle(object[vehicleid], vehicleid, -0.7952, 1.3693, 2.2926, 0.0, 0.0, 0.0);
- }
- case 415:
- {
- object[vehicleid] = CreateObject(18646, 0.00, 0.00, 0.00, 0.00, 0.00, 0.00); attas[vehicleid] = 1;
- AttachObjectToVehicle(object[vehicleid], vehicleid, -0.3888, -0.2079, 0.6559, 0.0, 0.0, 0.0);
- }
- case 416:
- {
- object[vehicleid] = CreateObject(18646, 0.00, 0.00, 0.00, 0.00, 0.00, 0.00); attas[vehicleid] = 1;
- AttachObjectToVehicle(object[vehicleid], vehicleid, -0.6836, 0.8615, 1.0312, 0.0, 0.0, 0.0);
- }
- case 419:
- {
- object[vehicleid] = CreateObject(18646, 0.00, 0.00, 0.00, 0.00, 0.00, 0.00); attas[vehicleid] = 1;
- AttachObjectToVehicle(object[vehicleid], vehicleid, -0.6163, -0.0042, 0.7112, 0.0, 0.0, 0.0);
- }
- case 420:
- {
- object[vehicleid] = CreateObject(18646, 0.00, 0.00, 0.00, 0.00, 0.00, 0.00); attas[vehicleid] = 1;
- AttachObjectToVehicle(object[vehicleid], vehicleid, -0.6163, -0.0042, 0.8712, 0.0, 0.0, 0.0);
- }
- case 421:
- {
- object[vehicleid] = CreateObject(18646, 0.00, 0.00, 0.00, 0.00, 0.00, 0.00); attas[vehicleid] = 1;
- AttachObjectToVehicle(object[vehicleid], vehicleid, -0.4949, 0.2178, 0.7312, 0.0, 0.0, 0.0);
- }
- case 422:
- {
- object[vehicleid] = CreateObject(18646, 0.00, 0.00, 0.00, 0.00, 0.00, 0.00); attas[vehicleid] = 1;
- AttachObjectToVehicle(object[vehicleid], vehicleid, -0.4949, 0.2178, 0.8512, 0.0, 0.0, 0.0);
- }
- case 423:
- {
- object[vehicleid] = CreateObject(18646, 0.00, 0.00, 0.00, 0.00, 0.00, 0.00); attas[vehicleid] = 1;
- AttachObjectToVehicle(object[vehicleid], vehicleid, -0.7235, 1.3159, 1.5603, 0.0, 0.0, 0.0);
- }
- case 424:
- {
- object[vehicleid] = CreateObject(18646, 0.00, 0.00, 0.00, 0.00, 0.00, 0.00); attas[vehicleid] = 1;
- AttachObjectToVehicle(object[vehicleid], vehicleid, -0.6307, 0.1408, 0.9128, 0.0, 0.0, 0.0);
- }
- case 426:
- {
- object[vehicleid] = CreateObject(18646, 0.00, 0.00, 0.00, 0.00, 0.00, 0.00); attas[vehicleid] = 1;
- AttachObjectToVehicle(object[vehicleid], vehicleid, -0.5938, 0.0518, 0.8728, 0.0, 0.0, 0.0);
- }
- case 428:
- {
- object[vehicleid] = CreateObject(18646, 0.00, 0.00, 0.00, 0.00, 0.00, 0.00); attas[vehicleid] = 1;
- AttachObjectToVehicle(object[vehicleid], vehicleid, -0.4782, 1.0236, 1.4214, 0.0, 0.0, 0.0);
- }
- case 429:
- {
- object[vehicleid] = CreateObject(18646, 0.00, 0.00, 0.00, 0.00, 0.00, 0.00); attas[vehicleid] = 1;
- AttachObjectToVehicle(object[vehicleid], vehicleid, -0.4923, 0.4988, 0.3395, 0.0, 0.0, 0.0);
- }
- case 431:
- {
- object[vehicleid] = CreateObject(18646, 0.00, 0.00, 0.00, 0.00, 0.00, 0.00); attas[vehicleid] = 1;
- AttachObjectToVehicle(object[vehicleid], vehicleid, -0.9708, 5.1313, 2.1750, 0.0, 0.0, 0.0);
- }
- case 432:
- {
- object[vehicleid] = CreateObject(18646, 0.00, 0.00, 0.00, 0.00, 0.00, 0.00); attas[vehicleid] = 1;
- AttachObjectToVehicle(object[vehicleid], vehicleid, -1.5384, 3.5223, 0.6564, 0.0, 0.0, 0.0);
- }
- case 433:
- {
- object[vehicleid] = CreateObject(18646, 0.00, 0.00, 0.00, 0.00, 0.00, 0.00); attas[vehicleid] = 1;
- AttachObjectToVehicle(object[vehicleid], vehicleid, -0.7835, 1.2368, 1.7235, 0.0, 0.0, 0.0);
- }
- case 434:
- {
- object[vehicleid] = CreateObject(18646, 0.00, 0.00, 0.00, 0.00, 0.00, 0.00); attas[vehicleid] = 1;
- AttachObjectToVehicle(object[vehicleid], vehicleid, -0.4648, -0.2705, 0.8130, 0.0, 0.0, 0.0);
- }
- case 436:
- {
- object[vehicleid] = CreateObject(18646, 0.00, 0.00, 0.00, 0.00, 0.00, 0.00); attas[vehicleid] = 1;
- AttachObjectToVehicle(object[vehicleid], vehicleid, -0.3819, -0.0713, 0.8730, 0.0, 0.0, 0.0);
- }
- case 437:
- {
- object[vehicleid] = CreateObject(18646, 0.00, 0.00, 0.00, 0.00, 0.00, 0.00); attas[vehicleid] = 1;
- AttachObjectToVehicle(object[vehicleid], vehicleid, -0.9365, 4.1546, 2.0845, 0.0, 0.0, 0.0);
- }
- case 438:
- {
- object[vehicleid] = CreateObject(18646, 0.00, 0.00, 0.00, 0.00, 0.00, 0.00); attas[vehicleid] = 1;
- AttachObjectToVehicle(object[vehicleid], vehicleid, -0.7054, 0.4750, 0.8016, 0.0, 0.0, 0.0);
- }
- case 439:
- {
- object[vehicleid] = CreateObject(18646, 0.00, 0.00, 0.00, 0.00, 0.00, 0.00); attas[vehicleid] = 1;
- AttachObjectToVehicle(object[vehicleid], vehicleid, -0.4431, -0.1388, 0.7616, 0.0, 0.0, 0.0);
- }
- case 440:
- {
- object[vehicleid] = CreateObject(18646, 0.00, 0.00, 0.00, 0.00, 0.00, 0.00); attas[vehicleid] = 1;
- AttachObjectToVehicle(object[vehicleid], vehicleid, -0.6530, 0.5919, 1.2547, 0.0, 0.0, 0.0);
- }
- case 442:
- {
- object[vehicleid] = CreateObject(18646, 0.00, 0.00, 0.00, 0.00, 0.00, 0.00); attas[vehicleid] = 1;
- AttachObjectToVehicle(object[vehicleid], vehicleid, -0.6659, 0.4026, 0.9347, 0.0, 0.0, 0.0);
- }
- case 443:
- {
- object[vehicleid] = CreateObject(18646, 0.00, 0.00, 0.00, 0.00, 0.00, 0.00); attas[vehicleid] = 1;
- AttachObjectToVehicle(object[vehicleid], vehicleid, -0.5091, 3.3719, 1.5562, 0.0, 0.0, 0.0);
- }
- case 444:
- {
- object[vehicleid] = CreateObject(18646, 0.00, 0.00, 0.00, 0.00, 0.00, 0.00); attas[vehicleid] = 1;
- AttachObjectToVehicle(object[vehicleid], vehicleid, -0.5325, 0.5250, 1.7362, 0.0, 0.0, 0.0);
- }
- case 445:
- {
- object[vehicleid] = CreateObject(18646, 0.00, 0.00, 0.00, 0.00, 0.00, 0.00); attas[vehicleid] = 1;
- AttachObjectToVehicle(object[vehicleid], vehicleid, -0.4795, -0.0762, 0.8738, 0.0, 0.0, 0.0);
- }
- case 448:
- {
- object[vehicleid] = CreateObject(18646, 0.00, 0.00, 0.00, 0.00, 0.00, 0.00); attas[vehicleid] = 1;
- AttachObjectToVehicle(object[vehicleid], vehicleid, 0.0093, 0.4107, 0.6678, 0.0, 0.0, 0.0);
- }
- case 451:
- {
- object[vehicleid] = CreateObject(18646, 0.00, 0.00, 0.00, 0.00, 0.00, 0.00); attas[vehicleid] = 1;
- AttachObjectToVehicle(object[vehicleid], vehicleid, -0.3036, -0.3181, 0.6278, 0.0, 0.0, 0.0);
- }
- case 455:
- {
- object[vehicleid] = CreateObject(18646, 0.00, 0.00, 0.00, 0.00, 0.00, 0.00); attas[vehicleid] = 1;
- AttachObjectToVehicle(object[vehicleid], vehicleid, -0.6282, 1.4207, 1.7250, 0.0, 0.0, 0.0);
- }
- case 456:
- {
- object[vehicleid] = CreateObject(18646, 0.00, 0.00, 0.00, 0.00, 0.00, 0.00); attas[vehicleid] = 1;
- AttachObjectToVehicle(object[vehicleid], vehicleid, -0.2490, 1.5572, 1.3010, 0.0, 0.0, 0.0);
- }
- case 457:
- {
- object[vehicleid] = CreateObject(18646, 0.00, 0.00, 0.00, 0.00, 0.00, 0.00); attas[vehicleid] = 1;
- AttachObjectToVehicle(object[vehicleid], vehicleid, -0.2736, 0.3653, 1.3610, 0.0, 0.0, 0.0);
- }
- case 458:
- {
- object[vehicleid] = CreateObject(18646, 0.00, 0.00, 0.00, 0.00, 0.00, 0.00); attas[vehicleid] = 1;
- AttachObjectToVehicle(object[vehicleid], vehicleid, -0.5326, 0.0974, 0.7414, 0.0, 0.0, 0.0);
- }
- case 459:
- {
- object[vehicleid] = CreateObject(18646, 0.00, 0.00, 0.00, 0.00, 0.00, 0.00); attas[vehicleid] = 1;
- AttachObjectToVehicle(object[vehicleid], vehicleid, -0.5856, 0.6675, 1.1434, 0.0, 0.0, 0.0);
- }
- case 461:
- {
- object[vehicleid] = CreateObject(18646, 0.00, 0.00, 0.00, 0.00, 0.00, 0.00); attas[vehicleid] = 1;
- AttachObjectToVehicle(object[vehicleid], vehicleid, -0.0056, -1.0960, 0.5283, 0.0, 0.0, 0.0);
- }
- case 462:
- {
- object[vehicleid] = CreateObject(18646, 0.00, 0.00, 0.00, 0.00, 0.00, 0.00); attas[vehicleid] = 1;
- AttachObjectToVehicle(object[vehicleid], vehicleid, -0.0084, 0.4067, 0.6883, 0.0, 0.0, 0.0);
- }
- case 463:
- {
- object[vehicleid] = CreateObject(18646, 0.00, 0.00, 0.00, 0.00, 0.00, 0.00); attas[vehicleid] = 1;
- AttachObjectToVehicle(object[vehicleid], vehicleid, -0.0178, 0.7080, 0.5273, 0.0, 0.0, 0.0);
- }
- case 466:
- {
- object[vehicleid] = CreateObject(18646, 0.00, 0.00, 0.00, 0.00, 0.00, 0.00); attas[vehicleid] = 1;
- AttachObjectToVehicle(object[vehicleid], vehicleid, -0.4467, 0.0155, 0.9103, 0.0, 0.0, 0.0);
- }
- case 467:
- {
- object[vehicleid] = CreateObject(18646, 0.00, 0.00, 0.00, 0.00, 0.00, 0.00); attas[vehicleid] = 1;
- AttachObjectToVehicle(object[vehicleid], vehicleid, -0.4467, 0.0155, 0.8703, 0.0, 0.0, 0.0);
- }
- case 468:
- {
- object[vehicleid] = CreateObject(18646, 0.00, 0.00, 0.00, 0.00, 0.00, 0.00); attas[vehicleid] = 1;
- AttachObjectToVehicle(object[vehicleid], vehicleid, 0.0357, 0.3913, 0.6643, 0.0, 0.0, 0.0);
- }
- case 470:
- {
- object[vehicleid] = CreateObject(18646, 0.00, 0.00, 0.00, 0.00, 0.00, 0.00); attas[vehicleid] = 1;
- AttachObjectToVehicle(object[vehicleid], vehicleid, -0.7842, -0.0447, 1.1273, 0.0, 0.0, 0.0);
- }
- case 471:
- {
- object[vehicleid] = CreateObject(18646, 0.00, 0.00, 0.00, 0.00, 0.00, 0.00); attas[vehicleid] = 1;
- AttachObjectToVehicle(object[vehicleid], vehicleid, -0.0080, 0.1867, 0.7233, 0.0, 0.0, 0.0);
- }
- case 474:
- {
- object[vehicleid] = CreateObject(18646, 0.00, 0.00, 0.00, 0.00, 0.00, 0.00); attas[vehicleid] = 1;
- AttachObjectToVehicle(object[vehicleid], vehicleid, -0.5898, -0.1819, 0.8233, 0.0, 0.0, 0.0);
- }
- case 475:
- {
- object[vehicleid] = CreateObject(18646, 0.00, 0.00, 0.00, 0.00, 0.00, 0.00); attas[vehicleid] = 1;
- AttachObjectToVehicle(object[vehicleid], vehicleid, -0.5898, -0.1819, 0.7433, 0.0, 0.0, 0.0);
- }
- case 477:
- {
- object[vehicleid] = CreateObject(18646, 0.00, 0.00, 0.00, 0.00, 0.00, 0.00); attas[vehicleid] = 1;
- AttachObjectToVehicle(object[vehicleid], vehicleid, -0.5110, -0.2192, 0.7633, 0.0, 0.0, 0.0);
- }
- case 478:
- {
- object[vehicleid] = CreateObject(18646, 0.00, 0.00, 0.00, 0.00, 0.00, 0.00); attas[vehicleid] = 1;
- AttachObjectToVehicle(object[vehicleid], vehicleid, -0.4810, 0.5532, 0.9233, 0.0, 0.0, 0.0);
- }
- case 479:
- {
- object[vehicleid] = CreateObject(18646, 0.00, 0.00, 0.00, 0.00, 0.00, 0.00); attas[vehicleid] = 1;
- AttachObjectToVehicle(object[vehicleid], vehicleid, -0.4669, -0.1329, 1.0033, 0.0, 0.0, 0.0);
- }
- case 480:
- {
- object[vehicleid] = CreateObject(18646, 0.00, 0.00, 0.00, 0.00, 0.00, 0.00); attas[vehicleid] = 1;
- AttachObjectToVehicle(object[vehicleid], vehicleid, -0.4701, -0.9806, 0.7173, 0.0, 0.0, 0.0);
- }
- case 482:
- {
- object[vehicleid] = CreateObject(18646, 0.00, 0.00, 0.00, 0.00, 0.00, 0.00); attas[vehicleid] = 1;
- AttachObjectToVehicle(object[vehicleid], vehicleid, -0.3282, 0.6971, 0.9603, 0.0, 0.0, 0.0);
- }
- case 483:
- {
- object[vehicleid] = CreateObject(18646, 0.00, 0.00, 0.00, 0.00, 0.00, 0.00); attas[vehicleid] = 1;
- AttachObjectToVehicle(object[vehicleid], vehicleid, -0.3503, 1.7129, 1.0599, 0.0, 0.0, 0.0);
- }
- case 485:
- {
- object[vehicleid] = CreateObject(18646, 0.00, 0.00, 0.00, 0.00, 0.00, 0.00); attas[vehicleid] = 1;
- AttachObjectToVehicle(object[vehicleid], vehicleid, -0.1891, 0.9130, 0.7399, 0.0, 0.0, 0.0);
- }
- case 486:
- {
- object[vehicleid] = CreateObject(18646, 0.00, 0.00, 0.00, 0.00, 0.00, 0.00); attas[vehicleid] = 1;
- AttachObjectToVehicle(object[vehicleid], vehicleid, -0.4968, 0.1311, 2.2492, 0.0, 0.0, 0.0);
- }
- case 489:
- {
- object[vehicleid] = CreateObject(18646, 0.00, 0.00, 0.00, 0.00, 0.00, 0.00); attas[vehicleid] = 1;
- AttachObjectToVehicle(object[vehicleid], vehicleid, -0.6457, 0.0172, 1.1341, 0.0, 0.0, 0.0);
- }
- case 490:
- {
- object[vehicleid] = CreateObject(18646, 0.00, 0.00, 0.00, 0.00, 0.00, 0.00); attas[vehicleid] = 1;
- AttachObjectToVehicle(object[vehicleid], vehicleid, -0.5489, 0.4506, 1.1341, 0.0, 0.0, 0.0);
- }
- case 491:
- {
- object[vehicleid] = CreateObject(18646, 0.00, 0.00, 0.00, 0.00, 0.00, 0.00); attas[vehicleid] = 1;
- AttachObjectToVehicle(object[vehicleid], vehicleid, -0.4914, -0.3402, 0.7541, 0.0, 0.0, 0.0);
- }
- case 492:
- {
- object[vehicleid] = CreateObject(18646, 0.00, 0.00, 0.00, 0.00, 0.00, 0.00); attas[vehicleid] = 1;
- AttachObjectToVehicle(object[vehicleid], vehicleid, -0.4926, 0.0016, 0.9141, 0.0, 0.0, 0.0);
- }
- case 494:
- {
- object[vehicleid] = CreateObject(18646, 0.00, 0.00, 0.00, 0.00, 0.00, 0.00); attas[vehicleid] = 1;
- AttachObjectToVehicle(object[vehicleid], vehicleid, -0.4936, -0.3327, 0.7741, 0.0, 0.0, 0.0);
- }
- case 495:
- {
- object[vehicleid] = CreateObject(18646, 0.00, 0.00, 0.00, 0.00, 0.00, 0.00); attas[vehicleid] = 1;
- AttachObjectToVehicle(object[vehicleid], vehicleid, -0.6534, 0.0466, 1.0951, 0.0, 0.0, 0.0);
- }
- case 496:
- {
- object[vehicleid] = CreateObject(18646, 0.00, 0.00, 0.00, 0.00, 0.00, 0.00); attas[vehicleid] = 1;
- AttachObjectToVehicle(object[vehicleid], vehicleid, -0.5821, -0.2785, 0.8551, 0.0, 0.0, 0.0);
- }
- case 498:
- {
- object[vehicleid] = CreateObject(18646, 0.00, 0.00, 0.00, 0.00, 0.00, 0.00); attas[vehicleid] = 1;
- AttachObjectToVehicle(object[vehicleid], vehicleid, -0.8779, 1.2311, 2.1814, 0.0, 0.0, 0.0);
- }
- case 499:
- {
- object[vehicleid] = CreateObject(18646, 0.00, 0.00, 0.00, 0.00, 0.00, 0.00); attas[vehicleid] = 1;
- AttachObjectToVehicle(object[vehicleid], vehicleid, -0.9359, -0.0823, 1.9814, 0.0, 0.0, 0.0);
- }
- case 500:
- {
- object[vehicleid] = CreateObject(18646, 0.00, 0.00, 0.00, 0.00, 0.00, 0.00); attas[vehicleid] = 1;
- AttachObjectToVehicle(object[vehicleid], vehicleid, -0.5138, 0.1216, 0.9914, 0.0, 0.0, 0.0);
- }
- case 502:
- {
- object[vehicleid] = CreateObject(18646, 0.00, 0.00, 0.00, 0.00, 0.00, 0.00); attas[vehicleid] = 1;
- AttachObjectToVehicle(object[vehicleid], vehicleid, -0.4290, -0.0606, 0.8114, 0.0, 0.0, 0.0);
- }
- case 503:
- {
- object[vehicleid] = CreateObject(18646, 0.00, 0.00, 0.00, 0.00, 0.00, 0.00); attas[vehicleid] = 1;
- AttachObjectToVehicle(object[vehicleid], vehicleid, -0.4436, -0.2320, 0.8514, 0.0, 0.0, 0.0);
- }
- case 505:
- {
- object[vehicleid] = CreateObject(18646, 0.00, 0.00, 0.00, 0.00, 0.00, 0.00); attas[vehicleid] = 1;
- AttachObjectToVehicle(object[vehicleid], vehicleid, -0.6738, 0.0430, 1.1314, 0.0, 0.0, 0.0);
- }
- case 506:
- {
- object[vehicleid] = CreateObject(18646, 0.00, 0.00, 0.00, 0.00, 0.00, 0.00); attas[vehicleid] = 1;
- AttachObjectToVehicle(object[vehicleid], vehicleid, -0.5094, -0.3479, 0.6304, 0.0, 0.0, 0.0);
- }
- case 507:
- {
- object[vehicleid] = CreateObject(18646, 0.00, 0.00, 0.00, 0.00, 0.00, 0.00); attas[vehicleid] = 1;
- AttachObjectToVehicle(object[vehicleid], vehicleid, -0.4717, -0.1347, 0.8524, 0.0, 0.0, 0.0);
- }
- case 508:
- {
- object[vehicleid] = CreateObject(18646, 0.00, 0.00, 0.00, 0.00, 0.00, 0.00); attas[vehicleid] = 1;
- AttachObjectToVehicle(object[vehicleid], vehicleid, -1.0030, 1.1855, 1.7215, 0.0, 0.0, 0.0);
- }
- case 514:
- {
- object[vehicleid] = CreateObject(18646, 0.00, 0.00, 0.00, 0.00, 0.00, 0.00); attas[vehicleid] = 1;
- AttachObjectToVehicle(object[vehicleid], vehicleid, -0.6450, 1.5226, 1.3704, 0.0, 0.0, 0.0);
- }
- case 515:
- {
- object[vehicleid] = CreateObject(18646, 0.00, 0.00, 0.00, 0.00, 0.00, 0.00); attas[vehicleid] = 1;
- AttachObjectToVehicle(object[vehicleid], vehicleid, -0.6450, 1.5226, 1.3304, 0.0, 0.0, 0.0);
- }
- case 516:
- {
- object[vehicleid] = CreateObject(18646, 0.00, 0.00, 0.00, 0.00, 0.00, 0.00); attas[vehicleid] = 1;
- AttachObjectToVehicle(object[vehicleid], vehicleid, -0.6219, 0.0517, 0.8603, 0.0, 0.0, 0.0);
- }
- case 517:
- {
- object[vehicleid] = CreateObject(18646, 0.00, 0.00, 0.00, 0.00, 0.00, 0.00); attas[vehicleid] = 1;
- AttachObjectToVehicle(object[vehicleid], vehicleid, -0.6219, 0.0517, 0.8403, 0.0, 0.0, 0.0);
- }
- case 518:
- {
- object[vehicleid] = CreateObject(18646, 0.00, 0.00, 0.00, 0.00, 0.00, 0.00); attas[vehicleid] = 1;
- AttachObjectToVehicle(object[vehicleid], vehicleid, -0.6219, 0.0517, 0.7203, 0.0, 0.0, 0.0);
- }
- case 521:
- {
- object[vehicleid] = CreateObject(18646, 0.00, 0.00, 0.00, 0.00, 0.00, 0.00); attas[vehicleid] = 1;
- AttachObjectToVehicle(object[vehicleid], vehicleid, 0.0026, -0.9083, 0.5753, 0.0, 0.0, 0.0);
- }
- case 522:
- {
- object[vehicleid] = CreateObject(18646, 0.00, 0.00, 0.00, 0.00, 0.00, 0.00); attas[vehicleid] = 1;
- AttachObjectToVehicle(object[vehicleid], vehicleid, 0.0026, -0.9083, 0.6353, 0.0, 0.0, 0.0);
- }
- case 523:
- {
- object[vehicleid] = CreateObject(18646, 0.00, 0.00, 0.00, 0.00, 0.00, 0.00); attas[vehicleid] = 1;
- AttachObjectToVehicle(object[vehicleid], vehicleid, 0.0026, -0.9083, 0.6953, 0.0, 0.0, 0.0);
- }
- case 524:
- {
- object[vehicleid] = CreateObject(18646, 0.00, 0.00, 0.00, 0.00, 0.00, 0.00); attas[vehicleid] = 1;
- AttachObjectToVehicle(object[vehicleid], vehicleid, -0.8189, 1.5349, 0.9153, 0.0, 0.0, 0.0);
- }
- case 525:
- {
- object[vehicleid] = CreateObject(18646, 0.00, 0.00, 0.00, 0.00, 0.00, 0.00); attas[vehicleid] = 1;
- AttachObjectToVehicle(object[vehicleid], vehicleid, -0.5849, 0.4409, 1.4163, 0.0, 0.0, 0.0);
- }
- case 526:
- {
- object[vehicleid] = CreateObject(18646, 0.00, 0.00, 0.00, 0.00, 0.00, 0.00); attas[vehicleid] = 1;
- AttachObjectToVehicle(object[vehicleid], vehicleid, -0.5474, -0.0856, 0.6812, 0.0, 0.0, 0.0);
- }
- case 527:
- {
- object[vehicleid] = CreateObject(18646, 0.00, 0.00, 0.00, 0.00, 0.00, 0.00); attas[vehicleid] = 1;
- AttachObjectToVehicle(object[vehicleid], vehicleid, -0.4702, -0.0893, 0.9012, 0.0, 0.0, 0.0);
- }
- case 528:
- {
- object[vehicleid] = CreateObject(18646, 0.00, 0.00, 0.00, 0.00, 0.00, 0.00); attas[vehicleid] = 1;
- AttachObjectToVehicle(object[vehicleid], vehicleid, -0.5842, 0.2196, 1.1012, 0.0, 0.0, 0.0);
- }
- case 529:
- {
- object[vehicleid] = CreateObject(18646, 0.00, 0.00, 0.00, 0.00, 0.00, 0.00); attas[vehicleid] = 1;
- AttachObjectToVehicle(object[vehicleid], vehicleid, -0.5227, -0.1638, 0.9382, 0.0, 0.0, 0.0);
- }
- case 530:
- {
- object[vehicleid] = CreateObject(18646, 0.00, 0.00, 0.00, 0.00, 0.00, 0.00); attas[vehicleid] = 1;
- AttachObjectToVehicle(object[vehicleid], vehicleid, -0.4472, 0.1529, 1.5222, 0.0, 0.0, 0.0);
- }
- case 533:
- {
- object[vehicleid] = CreateObject(18646, 0.00, 0.00, 0.00, 0.00, 0.00, 0.00); attas[vehicleid] = 1;
- AttachObjectToVehicle(object[vehicleid], vehicleid, -0.7750, 1.0846, 0.3748, 0.0, 0.0, 0.0);
- }
- case 534:
- {
- object[vehicleid] = CreateObject(18646, 0.00, 0.00, 0.00, 0.00, 0.00, 0.00); attas[vehicleid] = 1;
- AttachObjectToVehicle(object[vehicleid], vehicleid, -0.5241, 0.2835, 0.6778, 0.0, 0.0, 0.0);
- }
- case 535:
- {
- object[vehicleid] = CreateObject(18646, 0.00, 0.00, 0.00, 0.00, 0.00, 0.00); attas[vehicleid] = 1;
- AttachObjectToVehicle(object[vehicleid], vehicleid, -0.6577, 0.2718, 0.8378, 0.0, 0.0, 0.0);
- }
- case 536:
- {
- object[vehicleid] = CreateObject(18646, 0.00, 0.00, 0.00, 0.00, 0.00, 0.00); attas[vehicleid] = 1;
- AttachObjectToVehicle(object[vehicleid], vehicleid, -0.8394, 1.1995, 0.2487, 0.0, 0.0, 0.0);
- }
- case 540:
- {
- object[vehicleid] = CreateObject(18646, 0.00, 0.00, 0.00, 0.00, 0.00, 0.00); attas[vehicleid] = 1;
- AttachObjectToVehicle(object[vehicleid], vehicleid, -0.5288, 0.1756, 0.7327, 0.0, 0.0, 0.0);
- }
- case 541:
- {
- object[vehicleid] = CreateObject(18646, 0.00, 0.00, 0.00, 0.00, 0.00, 0.00); attas[vehicleid] = 1;
- AttachObjectToVehicle(object[vehicleid], vehicleid, -0.4786, 0.0404, 0.6527, 0.0, 0.0, 0.0);
- }
- case 542:
- {
- object[vehicleid] = CreateObject(18646, 0.00, 0.00, 0.00, 0.00, 0.00, 0.00); attas[vehicleid] = 1;
- AttachObjectToVehicle(object[vehicleid], vehicleid, -0.4832, 0.0209, 0.8527, 0.0, 0.0, 0.0);
- }
- case 543:
- {
- object[vehicleid] = CreateObject(18646, 0.00, 0.00, 0.00, 0.00, 0.00, 0.00); attas[vehicleid] = 1;
- AttachObjectToVehicle(object[vehicleid], vehicleid, -0.6476, 0.3682, 0.9327, 0.0, 0.0, 0.0);
- }
- case 545:
- {
- object[vehicleid] = CreateObject(18646, 0.00, 0.00, 0.00, 0.00, 0.00, 0.00); attas[vehicleid] = 1;
- AttachObjectToVehicle(object[vehicleid], vehicleid, -0.4056, -0.1463, 0.7927, 0.0, 0.0, 0.0);
- }
- case 546:
- {
- object[vehicleid] = CreateObject(18646, 0.00, 0.00, 0.00, 0.00, 0.00, 0.00); attas[vehicleid] = 1;
- AttachObjectToVehicle(object[vehicleid], vehicleid, -0.4056, -0.1463, 0.8727, 0.0, 0.0, 0.0);
- }
- case 547:
- {
- object[vehicleid] = CreateObject(18646, 0.00, 0.00, 0.00, 0.00, 0.00, 0.00); attas[vehicleid] = 1;
- AttachObjectToVehicle(object[vehicleid], vehicleid, -0.4056, -0.1463, 0.9327, 0.0, 0.0, 0.0);
- }
- case 549:
- {
- object[vehicleid] = CreateObject(18646, 0.00, 0.00, 0.00, 0.00, 0.00, 0.00); attas[vehicleid] = 1;
- AttachObjectToVehicle(object[vehicleid], vehicleid, -0.5082, 0.2406, 0.7727, 0.0, 0.0, 0.0);
- }
- case 550:
- {
- object[vehicleid] = CreateObject(18646, 0.00, 0.00, 0.00, 0.00, 0.00, 0.00); attas[vehicleid] = 1;
- AttachObjectToVehicle(object[vehicleid], vehicleid, -0.5080, 0.1176, 0.7327, 0.0, 0.0, 0.0);
- }
- case 551:
- {
- object[vehicleid] = CreateObject(18646, 0.00, 0.00, 0.00, 0.00, 0.00, 0.00); attas[vehicleid] = 1;
- AttachObjectToVehicle(object[vehicleid], vehicleid, -0.4076, -0.1853, 0.9327, 0.0, 0.0, 0.0);
- }
- case 552:
- {
- object[vehicleid] = CreateObject(18646, 0.00, 0.00, 0.00, 0.00, 0.00, 0.00); attas[vehicleid] = 1;
- AttachObjectToVehicle(object[vehicleid], vehicleid, -0.7122, 0.9196, 1.3557, 0.0, 0.0, 0.0);
- }
- case 554:
- {
- object[vehicleid] = CreateObject(18646, 0.00, 0.00, 0.00, 0.00, 0.00, 0.00); attas[vehicleid] = 1;
- AttachObjectToVehicle(object[vehicleid], vehicleid, -0.7110, 0.1214, 1.0557, 0.0, 0.0, 0.0);
- }
- case 555:
- {
- object[vehicleid] = CreateObject(18646, 0.00, 0.00, 0.00, 0.00, 0.00, 0.00); attas[vehicleid] = 1;
- AttachObjectToVehicle(object[vehicleid], vehicleid, -0.3050, 0.1220, 0.6507, 0.0, 0.0, 0.0);
- }
- case 556:
- {
- object[vehicleid] = CreateObject(18646, 0.00, 0.00, 0.00, 0.00, 0.00, 0.00); attas[vehicleid] = 1;
- AttachObjectToVehicle(object[vehicleid], vehicleid, -0.5851, 0.2216, 1.6916, 0.0, 0.0, 0.0);
- }
- case 557:
- {
- object[vehicleid] = CreateObject(18646, 0.00, 0.00, 0.00, 0.00, 0.00, 0.00); attas[vehicleid] = 1;
- AttachObjectToVehicle(object[vehicleid], vehicleid, -0.5848, 0.0206, 1.6916, 0.0, 0.0, 0.0);
- }
- case 558:
- {
- object[vehicleid] = CreateObject(18646, 0.00, 0.00, 0.00, 0.00, 0.00, 0.00); attas[vehicleid] = 1;
- AttachObjectToVehicle(object[vehicleid], vehicleid, -0.4845, -0.1823, 0.8934, 0.0, 0.0, 0.0);
- }
- case 559:
- {
- object[vehicleid] = CreateObject(18646, 0.00, 0.00, 0.00, 0.00, 0.00, 0.00); attas[vehicleid] = 1;
- AttachObjectToVehicle(object[vehicleid], vehicleid, -0.4845, -0.1823, 0.7534, 0.0, 0.0, 0.0);
- }
- case 560:
- {
- object[vehicleid] = CreateObject(18646, 0.00, 0.00, 0.00, 0.00, 0.00, 0.00); attas[vehicleid] = 1;
- AttachObjectToVehicle(object[vehicleid], vehicleid, -0.4851, 0.2187, 0.8734, 0.0, 0.0, 0.0);
- }
- case 561:
- {
- object[vehicleid] = CreateObject(18646, 0.00, 0.00, 0.00, 0.00, 0.00, 0.00); attas[vehicleid] = 1;
- AttachObjectToVehicle(object[vehicleid], vehicleid, -0.4649, 0.0587, 0.8534, 0.0, 0.0, 0.0);
- }
- case 562:
- {
- object[vehicleid] = CreateObject(18646, 0.00, 0.00, 0.00, 0.00, 0.00, 0.00); attas[vehicleid] = 1;
- AttachObjectToVehicle(object[vehicleid], vehicleid, -0.4247, -0.0812, 0.8134, 0.0, 0.0, 0.0);
- }
- case 565:
- {
- object[vehicleid] = CreateObject(18646, 0.00, 0.00, 0.00, 0.00, 0.00, 0.00); attas[vehicleid] = 1;
- AttachObjectToVehicle(object[vehicleid], vehicleid, -0.4644, -0.0952, 0.7324, 0.0, 0.0, 0.0);
- }
- case 566:
- {
- object[vehicleid] = CreateObject(18646, 0.00, 0.00, 0.00, 0.00, 0.00, 0.00); attas[vehicleid] = 1;
- AttachObjectToVehicle(object[vehicleid], vehicleid, -0.6046, 0.0646, 0.8724, 0.0, 0.0, 0.0);
- }
- case 567:
- {
- object[vehicleid] = CreateObject(18646, 0.00, 0.00, 0.00, 0.00, 0.00, 0.00); attas[vehicleid] = 1;
- AttachObjectToVehicle(object[vehicleid], vehicleid, -0.8701, 1.7224, 0.1993, 0.0, 0.0, 0.0);
- }
- case 568:
- {
- object[vehicleid] = CreateObject(18646, 0.00, 0.00, 0.00, 0.00, 0.00, 0.00); attas[vehicleid] = 1;
- AttachObjectToVehicle(object[vehicleid], vehicleid, 0.2746, 0.1421, 0.7593, 0.0, 0.0, 0.0);
- }
- case 573:
- {
- object[vehicleid] = CreateObject(18646, 0.00, 0.00, 0.00, 0.00, 0.00, 0.00); attas[vehicleid] = 1;
- AttachObjectToVehicle(object[vehicleid], vehicleid, -0.6781, 2.2043, 1.5484, 0.0, 0.0, 0.0);
- }
- case 574:
- {
- object[vehicleid] = CreateObject(18646, 0.00, 0.00, 0.00, 0.00, 0.00, 0.00); attas[vehicleid] = 1;
- AttachObjectToVehicle(object[vehicleid], vehicleid, -0.0000, 0.6507, 1.2844, 0.0, 0.0, 0.0);
- }
- case 575:
- {
- object[vehicleid] = CreateObject(18646, 0.00, 0.00, 0.00, 0.00, 0.00, 0.00); attas[vehicleid] = 1;
- AttachObjectToVehicle(object[vehicleid], vehicleid, -0.7301, 1.1772, 0.5374, 0.0, 0.0, 0.0);
- }
- case 578:
- {
- object[vehicleid] = CreateObject(18646, 0.00, 0.00, 0.00, 0.00, 0.00, 0.00); attas[vehicleid] = 1;
- AttachObjectToVehicle(object[vehicleid], vehicleid, -0.8932, 3.1397, 1.4214, 0.0, 0.0, 0.0);
- }
- case 579:
- {
- object[vehicleid] = CreateObject(18646, 0.00, 0.00, 0.00, 0.00, 0.00, 0.00); attas[vehicleid] = 1;
- AttachObjectToVehicle(object[vehicleid], vehicleid, -0.5579, 0.0036, 1.2604, 0.0, 0.0, 0.0);
- }
- case 580:
- {
- object[vehicleid] = CreateObject(18646, 0.00, 0.00, 0.00, 0.00, 0.00, 0.00); attas[vehicleid] = 1;
- AttachObjectToVehicle(object[vehicleid], vehicleid, -0.6475, 0.1824, 1.0804, 0.0, 0.0, 0.0);
- }
- case 581:
- {
- object[vehicleid] = CreateObject(18646, 0.00, 0.00, 0.00, 0.00, 0.00, 0.00); attas[vehicleid] = 1;
- AttachObjectToVehicle(object[vehicleid], vehicleid, -0.0152, -0.9385, 0.5784, 0.0, 0.0, 0.0);
- }
- case 582:
- {
- object[vehicleid] = CreateObject(18646, 0.00, 0.00, 0.00, 0.00, 0.00, 0.00); attas[vehicleid] = 1;
- AttachObjectToVehicle(object[vehicleid], vehicleid, -0.6088, 0.9868, 1.1824, 0.0, 0.0, 0.0);
- }
- case 583:
- {
- object[vehicleid] = CreateObject(18646, 0.00, 0.00, 0.00, 0.00, 0.00, 0.00); attas[vehicleid] = 1;
- AttachObjectToVehicle(object[vehicleid], vehicleid, -0.3747, -0.4229, 1.6024, 0.0, 0.0, 0.0);
- }
- case 585:
- {
- object[vehicleid] = CreateObject(18646, 0.00, 0.00, 0.00, 0.00, 0.00, 0.00); attas[vehicleid] = 1;
- AttachObjectToVehicle(object[vehicleid], vehicleid, -0.5207, -0.0115, 1.0374, 0.0, 0.0, 0.0);
- }
- case 586:
- {
- object[vehicleid] = CreateObject(18646, 0.00, 0.00, 0.00, 0.00, 0.00, 0.00); attas[vehicleid] = 1;
- AttachObjectToVehicle(object[vehicleid], vehicleid, -0.0176, -1.2010, 0.6544, 0.0, 0.0, 0.0);
- }
- case 587:
- {
- object[vehicleid] = CreateObject(18646, 0.00, 0.00, 0.00, 0.00, 0.00, 0.00); attas[vehicleid] = 1;
- AttachObjectToVehicle(object[vehicleid], vehicleid, -0.4892, -0.4590, 0.7944, 0.0, 0.0, 0.0);
- }
- case 589:
- {
- object[vehicleid] = CreateObject(18646, 0.00, 0.00, 0.00, 0.00, 0.00, 0.00); attas[vehicleid] = 1;
- AttachObjectToVehicle(object[vehicleid], vehicleid, -0.5847, 0.0632, 1.0954, 0.0, 0.0, 0.0);
- }
- case 602:
- {
- object[vehicleid] = CreateObject(18646, 0.00, 0.00, 0.00, 0.00, 0.00, 0.00); attas[vehicleid] = 1;
- AttachObjectToVehicle(object[vehicleid], vehicleid, -0.5579, -0.1570, 0.7124, 0.0, 0.0, 0.0);
- }
- case 603:
- {
- object[vehicleid] = CreateObject(18646, 0.00, 0.00, 0.00, 0.00, 0.00, 0.00); attas[vehicleid] = 1;
- AttachObjectToVehicle(object[vehicleid], vehicleid, -0.5579, -0.1570, 0.6924, 0.0, 0.0, 0.0);
- }
- default:
- {
- SendClientMessage(playerid, 0xFFFFFFFF, "Aceast vehicul nu poate avea sirena!");
- }
- }
- return 1;
- }
- stock DesAttachSirena(vehicleid)
- {
- new object[MAX_VEHICLES];
- attas[vehicleid] = 0; DestroyObject(object[vehicleid]);
- return 1;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement