Scripting frage

Wichtiger Hinweis: Bitte ändert nicht manuell die Schriftfarbe auf schwarz sondern belasst es bei der Standardeinstellung. Somit tragt ihr dazu bei dass euer Text auch bei Verwendung unseren dunklen Forenstils noch lesbar ist!

Tipp: Ihr wollt längere Codeausschnitte oder Logfiles bereitstellen? Benutzt unseren eigenen PasteBin-Dienst Link
  • Hallo


    Ich habe Heute angefangen ein DM Script zu machen für einen Lan Party da ich heute das erste mal Scripte hab ich ein Paar fragen


    1)Wie kann man machen das man über 3 Waffen beim Spawnen bekommt?
    2)Ich habe mit MTA Editor eine Map erstellt aber eigentlich nur Autos auf die Map gepackt und wenn es es jetzt mit einen Converter zu einen Samp Script umwandle kommen nur die Objekte aber nicht die Autos.
    Es es evt Möglich auch die Auto zu convertiren oder muss ich alles nochmal neu machen?
    (Selbst gelöst)
    3)Wie mach ich das die Autos ohne einen Restart neu gespawnt werden.


    Ich weis das sind einige fragen aber ich hab auf Youtube Google nichts hilfreiches gefunden

    Einmal editiert, zuletzt von Chris_56 ()

  • Code
    Kleines Stichwort zu youtube: MrMonatTutorials



    Ich hab mir schon jedes Vidoe von im angesehen.


    Code
    Soweit ich wies könntest du das so machen.
    Wenn der spieler Spawnt kann kannst du ihn ja ne waffe geben.
    Mit GivePlayerWeapon.http://wiki.sa-mp.com/wiki/GivePlayerWeapon
    
    
    
    
    Das würde glaube ich gehen.


    Danke K44n hat Funktioniert



    Und Auch danke an Flummi das mit dem respawncar geht jetzt auch :)

  • Leider kommt jetzt wieder ein Problem


    Der Error:C:\Users\user\Music\Samp Server\gamemodes\Test.pwn(23) : error 075: input line too long (after substitutions)
    C:\Users\user\Music\Samp Server\gamemodes\Test.pwn(46) : warning 217: loose indentation
    C:\Users\user\Music\Samp Server\gamemodes\Test.pwn(143) : warning 217: loose indentation
    C:\Users\user\Music\Samp Server\gamemodes\Test.pwn(327) : warning 217: loose indentation
    C:\Users\user\Music\Samp Server\gamemodes\Test.pwn(329) : warning 209: function "OnPlayerCommandText" should return a value
    Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase



    1 Error.




    Mein Code:



    // This is a comment
    // uncomment the line below if you want to write a filterscript
    //#define FILTERSCRIPT


    #include


    #if defined FILTERSCRIPT


    public OnFilterScriptInit()
    {
    print("\n--------------------------------------");
    print(" Blank Filterscript by your name here");
    print("--------------------------------------\n");
    return 1;
    }


    public OnFilterScriptExit()
    {
    return 1;
    }


    #else


    new tt0, tt2, tt3, tt4, tt5, tt6, tt7, tt8, tt9, tt10, tt11, tt12, tt13, tt14, tt15, tt16, tt17, tt18, tt19, tt20, tt21, tt22, tt23, tt24, tt25, tt26, tt27, tt28, tt29, tt30, tt31, tt32, tt33, tt34, tt35, tt36, tt37, tt38, tt39, tt40, tt41, tt42, tt43, tt44, tt45, tt46, tt47, tt48, tt49, tt50, tt51, tt52, tt53, tt54, tt55, tt56, tt57, tt58, tt59, tt60, tt61, tt62, tt63, tt64, tt65, tt66, tt67, tt68, tt69, tt70, tt71, tt72, tt73, tt74, tt75, tt76, tt77, tt78, tt79, tt80, tt81, tt82, tt83, tt84, tt85, tt86, tt87, tt88, tt89, tt90, tt91, tt92;


    main()
    {
    print("\n----------------------------------");
    print("Chris Gamemode");
    print("----------------------------------\n");
    }


    #endif


    public OnGameModeInit()
    {
    SetGameModeText("Chris DM Script");
    AddPlayerClass(217,1754.5587,-1894.4733,13.5569,273.6212,31,500,42,500,34,15); // base1
    AddPlayerClass(20,1754.5587,-1894.4733,13.5569,273.6212,31,500,42,500,34,15); // base1
    AddPlayerClass(59,1754.5587,-1894.4733,13.5569,273.6212,31,500,42,500,34,15); // base1
    AddPlayerClass(266,1528.4132,-1677.9365,5.8906,271.8401,31,500,42,500,34,15); // base2
    AddPlayerClass(267,1528.4132,-1677.9365,5.8906,271.8401,31,500,42,500,34,15); // base2
    AddPlayerClass(275,1528.4132,-1677.9365,5.8906,271.8401,31,500,42,500,34,15); // base2


    tt0 = AddStaticVehicleEx(411,1801.00000000,-1931.80004883,13.19999981,0.00000000,-1,-1,15); //Infernus
    tt2 = AddStaticVehicleEx(411,1804.50000000,-1932.00000000,13.19999981,0.00000000,-1,-1,15); //Infernus
    tt3 = AddStaticVehicleEx(411,1797.40002441,-1931.80004883,13.19999981,0.00000000,-1,-1,15); //Infernus
    tt4 = AddStaticVehicleEx(411,1793.69995117,-1932.09997559,13.19999981,0.00000000,-1,-1,15); //Infernus
    tt5 = AddStaticVehicleEx(411,1790.19995117,-1932.09997559,13.19999981,0.00000000,-1,-1,15); //Infernus
    tt6 = AddStaticVehicleEx(411,1786.80004883,-1932.30004883,13.19999981,0.00000000,-1,-1,15); //Infernus
    tt7 = AddStaticVehicleEx(451,1783.09997559,-1932.19995117,13.19999981,0.00000000,-1,-1,15); //Turismo
    tt8 = AddStaticVehicleEx(451,1783.09997559,-1932.19995117,13.19999981,0.00000000,-1,-1,15); //Turismo
    tt9 = AddStaticVehicleEx(451,1779.80004883,-1932.40002441,13.19999981,0.00000000,-1,-1,15); //Turismo
    tt10 = AddStaticVehicleEx(451,1776.09997559,-1932.50000000,13.19999981,0.00000000,-1,-1,15); //Turismo
    tt11 = AddStaticVehicleEx(541,1803.69995117,-1926.40002441,13.10000038,90.00000000,-1,-1,15); //Bullet
    tt12 = AddStaticVehicleEx(541,1804.00000000,-1922.90002441,13.10000038,90.00000000,-1,-1,15); //Bullet
    tt13 = AddStaticVehicleEx(541,1804.09997559,-1919.90002441,13.10000038,90.00000000,-1,-1,15); //Bullet
    tt14 = AddStaticVehicleEx(541,1804.30004883,-1916.59997559,13.10000038,90.00000000,-1,-1,15); //Bullet
    tt15 = AddStaticVehicleEx(487,1782.30004883,-1907.59997559,13.69999981,0.00000000,-1,-1,15); //Maverick
    tt16 = AddStaticVehicleEx(487,1782.29980469,-1907.59960938,13.69999981,0.00000000,-1,-1,15); //Maverick
    tt17 = AddStaticVehicleEx(487,1794.30004883,-1908.40002441,13.69999981,0.00000000,-1,-1,15); //Maverick
    tt18 = AddStaticVehicleEx(451,1805.00000000,-1912.50000000,13.19999981,90.00000000,-1,-1,15); //Turismo
    tt19 = AddStaticVehicleEx(451,1805.00000000,-1912.50000000,13.19999981,90.00000000,-1,-1,15); //Turismo
    tt20 = AddStaticVehicleEx(451,1805.19995117,-1909.59997559,13.19999981,90.00000000,-1,-1,15); //Turismo
    tt21 = AddStaticVehicleEx(451,1805.50000000,-1906.80004883,13.19999981,90.00000000,-1,-1,15); //Turismo
    tt22 = AddStaticVehicleEx(451,1805.30004883,-1903.69995117,13.19999981,90.00000000,-1,-1,15); //Turismo
    tt23 = AddStaticVehicleEx(519,1770.50000000,-2468.60009766,14.60000038,0.00000000,-1,-1,15); //Shamal
    tt24 = AddStaticVehicleEx(519,1770.50000000,-2468.59960938,14.60000038,0.00000000,-1,-1,15); //Shamal
    tt25 = AddStaticVehicleEx(519,1748.09997559,-2469.39990234,14.60000038,0.00000000,-1,-1,15); //Shamal
    tt26 = AddStaticVehicleEx(519,1726.69995117,-2469.69995117,14.60000038,0.00000000,-1,-1,15); //Shamal
    tt27 = AddStaticVehicleEx(519,1704.90002441,-2470.39990234,14.60000038,0.00000000,-1,-1,15); //Shamal
    tt28 = AddStaticVehicleEx(513,1688.50000000,-2471.69995117,14.30000019,0.00000000,-1,-1,15); //Stunt
    tt29 = AddStaticVehicleEx(513,1678.69995117,-2471.69995117,14.30000019,0.00000000,-1,-1,15); //Stunt
    tt30 = AddStaticVehicleEx(513,1669.40002441,-2471.50000000,14.30000019,0.00000000,-1,-1,15); //Stunt
    tt31 = AddStaticVehicleEx(513,1660.40002441,-2471.60009766,14.30000019,0.00000000,-1,-1,15); //Stunt
    tt32 = AddStaticVehicleEx(513,1651.30004883,-2471.60009766,14.30000019,0.00000000,-1,-1,15); //Stunt
    tt33 = AddStaticVehicleEx(513,1640.19995117,-2629.50000000,14.30000019,0.00000000,-1,-1,15); //Stunt
    tt34 = AddStaticVehicleEx(476,1672.30004883,-2616.60009766,14.69999981,0.00000000,-1,-1,15); //Rustler
    tt35 = AddStaticVehicleEx(476,1686.59997559,-2617.10009766,14.69999981,0.00000000,-1,-1,15); //Rustler
    tt36 = AddStaticVehicleEx(476,1699.59997559,-2617.60009766,14.69999981,0.00000000,-1,-1,15); //Rustler
    tt37 = AddStaticVehicleEx(476,1739.09997559,-2631.89990234,14.69999981,0.00000000,-1,-1,15); //Rustler
    tt38 = AddStaticVehicleEx(476,1740.30004883,-2617.80004883,14.69999981,0.00000000,-1,-1,15); //Rustler
    tt39 = AddStaticVehicleEx(476,1654.69995117,-2630.19995117,14.69999981,0.00000000,-1,-1,15); //Rustler
    tt40 = AddStaticVehicleEx(593,1671.69995117,-2631.50000000,14.10000038,0.00000000,-1,-1,15); //Dodo
    tt41 = AddStaticVehicleEx(593,1656.80004883,-2616.00000000,14.10000038,0.00000000,-1,-1,15); //Dodo
    tt41 = AddStaticVehicleEx(593,1642.40002441,-2616.80004883,14.10000038,0.00000000,-1,-1,15); //Dodo
    tt42 = AddStaticVehicleEx(593,1628.80004883,-2616.30004883,14.10000038,0.00000000,-1,-1,15); //Dodo
    tt43 = AddStaticVehicleEx(593,1713.80004883,-2616.19995117,14.10000038,0.00000000,-1,-1,15); //Dodo
    tt44 = AddStaticVehicleEx(593,1727.59997559,-2617.30004883,14.10000038,0.00000000,-1,-1,15); //Dodo
    tt45 = AddStaticVehicleEx(548,1698.69995117,-2547.19995117,15.39999962,0.00000000,-1,-1,15); //Cargobob
    tt46 = AddStaticVehicleEx(548,1715.00000000,-2547.10009766,15.39999962,0.00000000,-1,-1,15); //Cargobob
    tt47 = AddStaticVehicleEx(548,1734.90002441,-2572.39990234,15.39999962,0.00000000,-1,-1,15); //Cargobob
    tt48 = AddStaticVehicleEx(487,1698.59997559,-2523.39990234,13.80000019,0.00000000,-1,-1,15); //Maverick
    tt49 = AddStaticVehicleEx(487,1698.69995117,-2523.39990234,13.80000019,0.00000000,-1,-1,15); //Maverick
    tt50 = AddStaticVehicleEx(487,1717.50000000,-2524.60009766,13.80000019,0.00000000,-1,-1,15); //Maverick
    tt51 = AddStaticVehicleEx(487,1680.90002441,-2522.60009766,13.80000019,0.00000000,-1,-1,15); //Maverick
    tt52 = AddStaticVehicleEx(487,1680.80004883,-2544.60009766,13.80000019,0.00000000,-1,-1,15); //Maverick
    tt53 = AddStaticVehicleEx(487,1681.00000000,-2564.89990234,13.80000019,0.00000000,-1,-1,15); //Maverick
    tt54 = AddStaticVehicleEx(487,1697.90002441,-2566.80004883,13.80000019,0.00000000,-1,-1,15); //Maverick
    tt55 = AddStaticVehicleEx(487,1714.00000000,-2565.69995117,13.80000019,0.00000000,-1,-1,15); //Maverick
    tt56 = AddStaticVehicleEx(487,1714.19995117,-2562.30004883,13.80000019,0.00000000,-1,-1,15); //Maverick
    tt57 = AddStaticVehicleEx(497,1548.59997559,-1608.40002441,13.60000038,0.00000000,-1,-1,15); //Police Maverick
    tt58 = AddStaticVehicleEx(497,1561.09997559,-1608.40002441,13.60000038,0.00000000,-1,-1,15); //Police Maverick
    tt59 = AddStaticVehicleEx(596,1559.59997559,-1710.40002441,5.69999981,0.00000000,-1,-1,15); //Police Car (LSPD)
    tt60 = AddStaticVehicleEx(596,1566.09997559,-1710.00000000,5.69999981,0.00000000,-1,-1,15); //Police Car (LSPD)
    tt61 = AddStaticVehicleEx(596,1570.30004883,-1710.30004883,5.69999981,0.00000000,-1,-1,15); //Police Car (LSPD)
    tt62 = AddStaticVehicleEx(599,1574.90002441,-1709.69995117,6.30000019,0.00000000,-1,-1,15); //Police Ranger
    tt63 = AddStaticVehicleEx(599,1574.89941406,-1709.69921875,6.30000019,0.00000000,-1,-1,15); //Police Ranger
    tt64 = AddStaticVehicleEx(599,1579.50000000,-1708.90002441,6.30000019,0.00000000,-1,-1,15); //Police Ranger
    tt65 = AddStaticVehicleEx(599,1583.59997559,-1709.40002441,6.30000019,0.00000000,-1,-1,15); //Police Ranger


    tt66 = AddStaticVehicleEx(599,1587.90002441,-1709.40002441,6.30000019,0.00000000,-1,-1,15); //Police Ranger
    tt67 = AddStaticVehicleEx(601,1527.30004883,-1685.30004883,5.80000019,0.00000000,-1,-1,15); //S.W.A.T. Van
    tt68 = AddStaticVehicleEx(601,1528.30004883,-1685.09997559,5.80000019,0.00000000,-1,-1,15); //S.W.A.T. Van
    tt69 = AddStaticVehicleEx(601,1533.09997559,-1684.90002441,5.80000019,0.00000000,-1,-1,15); //S.W.A.T. Van
    tt70 = AddStaticVehicleEx(451,1527.00000000,-1645.69995117,5.69999981,0.00000000,-1,-1,15); //Turismo
    tt71 = AddStaticVehicleEx(451,1531.40002441,-1646.30004883,5.69999981,0.00000000,-1,-1,15); //Turismo
    tt72 = AddStaticVehicleEx(451,1534.90002441,-1646.40002441,5.69999981,0.00000000,-1,-1,15); //Turismo
    tt73 = AddStaticVehicleEx(451,1539.09997559,-1646.50000000,5.69999981,0.00000000,-1,-1,15); //Turismo
    tt74 = AddStaticVehicleEx(451,1591.40002441,-1710.00000000,5.69999981,0.00000000,-1,-1,15); //Turismo
    tt75 = AddStaticVehicleEx(541,1595.50000000,-1710.09997559,5.59999990,0.00000000,-1,-1,15); //Bullet
    tt76 = AddStaticVehicleEx(541,1595.50000000,-1710.09960938,5.59999990,0.00000000,-1,-1,15); //Bullet
    tt77 = AddStaticVehicleEx(541,1602.09997559,-1685.69995117,5.59999990,0.00000000,-1,-1,15); //Bullet
    tt78 = AddStaticVehicleEx(541,1598.80004883,-1686.00000000,5.59999990,0.00000000,-1,-1,15); //Bullet
    tt79 = AddStaticVehicleEx(541,1601.80004883,-1693.30004883,5.59999990,0.00000000,-1,-1,15); //Bullet
    tt80 = AddStaticVehicleEx(541,1598.80004883,-1693.90002441,5.59999990,0.00000000,-1,-1,15); //Bullet
    tt81 = AddStaticVehicleEx(541,1601.50000000,-1699.69995117,5.59999990,0.00000000,-1,-1,15); //Bullet
    tt82 = AddStaticVehicleEx(541,1598.69995117,-1699.90002441,5.59999990,0.00000000,-1,-1,15); //Bullet
    tt83 = AddStaticVehicleEx(541,1601.59997559,-1705.00000000,5.59999990,0.00000000,-1,-1,15); //Bullet
    tt84 = AddStaticVehicleEx(541,1598.59997559,-1705.19995117,5.59999990,0.00000000,-1,-1,15); //Bullet
    tt85 = AddStaticVehicleEx(429,1570.19995117,-1611.69995117,13.10000038,0.00000000,-1,-1,15); //Banshee
    tt86 = AddStaticVehicleEx(429,1573.19995117,-1611.80004883,13.10000038,0.00000000,-1,-1,15); //Banshee
    tt87 = AddStaticVehicleEx(429,1576.00000000,-1611.90002441,13.10000038,0.00000000,-1,-1,15); //Banshee
    tt88 = AddStaticVehicleEx(429,1578.90002441,-1611.90002441,13.10000038,0.00000000,-1,-1,15); //Banshee
    tt89 = AddStaticVehicleEx(429,1582.00000000,-1611.69995117,13.10000038,0.00000000,-1,-1,15); //Banshee
    tt90 = AddStaticVehicleEx(429,1585.19995117,-1611.59997559,13.10000038,0.00000000,-1,-1,15); //Banshee
    tt91 = AddStaticVehicleEx(429,1588.50000000,-1611.40002441,13.10000038,0.00000000,-1,-1,15); //Banshee
    tt92 = AddStaticVehicleEx(429,1591.80004883,-1611.50000000,13.10000038,0.00000000,-1,-1,15); //Banshee




    return 1;
    }


    public OnGameModeExit()
    {
    return 1;
    }


    public OnPlayerRequestClass(playerid, classid)
    {
    SetPlayerPos(playerid,1525.6666,-1677.8303,5.8906);
    SetPlayerFacingAngle(playerid,262.9876);
    SetPlayerCameraPos(playerid,1531.9437,-1677.8981,5.8906);
    SetPlayerCameraLookAt(playerid,1525.6666,-1677.8303,5.8906);
    return 1;
    }


    public OnPlayerConnect(playerid)
    {
    return 1;
    }


    public OnPlayerDisconnect(playerid, reason)
    {
    return 1;
    }


    public OnPlayerSpawn(playerid)
    {
    GivePlayerWeapon(playerid, 26, 500);
    GivePlayerWeapon(playerid, 26, 500);
    GivePlayerWeapon(playerid, 26, 500);
    return 1;
    }


    public OnPlayerDeath(playerid, killerid, reason)
    {
    return 1;
    }


    public OnVehicleSpawn(vehicleid)
    {
    return 1;
    }


    public OnVehicleDeath(vehicleid, killerid)
    {
    return 1;
    }


    public OnPlayerText(playerid, text[])
    {
    return 1;
    }


    public OnPlayerCommandText(playerid, cmdtext[])
    {
    if(strcmp(cmdtext,"/ry",true)==0)
    {
    SetVehicleToRespawn(tt0);
    SetVehicleToRespawn(tt2);
    SetVehicleToRespawn(tt3);
    SetVehicleToRespawn(tt4);
    SetVehicleToRespawn(tt5);
    SetVehicleToRespawn(tt6);
    SetVehicleToRespawn(tt7);
    SetVehicleToRespawn(tt8);
    SetVehicleToRespawn(tt9);
    SetVehicleToRespawn(tt10);
    SetVehicleToRespawn(tt11);
    SetVehicleToRespawn(tt12);
    SetVehicleToRespawn(tt13);
    SetVehicleToRespawn(tt14);
    SetVehicleToRespawn(tt15);
    SetVehicleToRespawn(tt16);
    SetVehicleToRespawn(tt17);
    SetVehicleToRespawn(tt18);
    SetVehicleToRespawn(tt19);
    SetVehicleToRespawn(tt20);
    SetVehicleToRespawn(tt21);
    SetVehicleToRespawn(tt22);
    SetVehicleToRespawn(tt23);
    SetVehicleToRespawn(tt24);
    SetVehicleToRespawn(tt25);
    SetVehicleToRespawn(tt26);
    SetVehicleToRespawn(tt27);
    SetVehicleToRespawn(tt28);
    SetVehicleToRespawn(tt29);
    SetVehicleToRespawn(tt30);
    SetVehicleToRespawn(tt31);
    SetVehicleToRespawn(tt32);
    SetVehicleToRespawn(tt33);
    SetVehicleToRespawn(tt34);
    SetVehicleToRespawn(tt35);
    SetVehicleToRespawn(tt36);
    SetVehicleToRespawn(tt37);
    SetVehicleToRespawn(tt38);
    SetVehicleToRespawn(tt39);
    SetVehicleToRespawn(tt40);
    SetVehicleToRespawn(tt41);
    SetVehicleToRespawn(tt42);
    SetVehicleToRespawn(tt43);
    SetVehicleToRespawn(tt44);
    SetVehicleToRespawn(tt45);
    SetVehicleToRespawn(tt46);
    SetVehicleToRespawn(tt47);
    SetVehicleToRespawn(tt48);
    SetVehicleToRespawn(tt49);
    SetVehicleToRespawn(tt50);
    SetVehicleToRespawn(tt51);
    SetVehicleToRespawn(tt52);
    SetVehicleToRespawn(tt53);
    SetVehicleToRespawn(tt54);
    SetVehicleToRespawn(tt55);
    SetVehicleToRespawn(tt56);
    SetVehicleToRespawn(tt57);
    SetVehicleToRespawn(tt58);
    SetVehicleToRespawn(tt59);
    SetVehicleToRespawn(tt60);
    SetVehicleToRespawn(tt61);
    SetVehicleToRespawn(tt62);
    SetVehicleToRespawn(tt63);
    SetVehicleToRespawn(tt64);
    SetVehicleToRespawn(tt65);
    SetVehicleToRespawn(tt66);
    SetVehicleToRespawn(tt67);
    SetVehicleToRespawn(tt68);
    SetVehicleToRespawn(tt69);
    SetVehicleToRespawn(tt70);
    SetVehicleToRespawn(tt71);
    SetVehicleToRespawn(tt72);
    SetVehicleToRespawn(tt73);
    SetVehicleToRespawn(tt74);
    SetVehicleToRespawn(tt75);
    SetVehicleToRespawn(tt76);
    SetVehicleToRespawn(tt77);
    SetVehicleToRespawn(tt78);
    SetVehicleToRespawn(tt79);
    SetVehicleToRespawn(tt80);
    SetVehicleToRespawn(tt81);
    SetVehicleToRespawn(tt82);
    SetVehicleToRespawn(tt83);
    SetVehicleToRespawn(tt84);
    SetVehicleToRespawn(tt85);
    SetVehicleToRespawn(tt86);
    SetVehicleToRespawn(tt87);
    SetVehicleToRespawn(tt88);
    SetVehicleToRespawn(tt89);
    SetVehicleToRespawn(tt90);
    SetVehicleToRespawn(tt91);
    SetVehicleToRespawn(tt92);
    SetVehicleToRespawn(0);
    SetVehicleToRespawn(0);
    SetVehicleToRespawn(0);
    SetVehicleToRespawn(0);
    SetVehicleToRespawn(0);
    SetVehicleToRespawn(0);
    SetVehicleToRespawn(0);
    SetVehicleToRespawn(0);
    SetVehicleToRespawn(0);
    SetVehicleToRespawn(0);
    SetVehicleToRespawn(0);
    SetVehicleToRespawn(0);
    SetVehicleToRespawn(0);
    SetVehicleToRespawn(0);
    SetVehicleToRespawn(0);
    SetVehicleToRespawn(0);
    SetVehicleToRespawn(0);
    SetVehicleToRespawn(0);
    SetVehicleToRespawn(0);
    SetVehicleToRespawn(0);
    SetVehicleToRespawn(0);
    SetVehicleToRespawn(0);
    SetVehicleToRespawn(0);
    SetVehicleToRespawn(0);
    SetVehicleToRespawn(0);
    SetVehicleToRespawn(0);
    SetVehicleToRespawn(0);
    SetVehicleToRespawn(0);</a_samp>