Jump to content
  • 0

pomoc Nevim co s tim :D (MoveObject) 25 objektu


Guest djvich

Dotaz

Brej večír ;) Move oběktu už jsem zkoušel několik a každy mi nakonec jel. Ty první s pomocí některých redaktorů a uživatelů kterým velmi děkuji :d ale tady ty mám stejně zapsané jak ty minule ale nejdou jediny rozdil je jich tam misto jednoho obektu nebo dvou 25 :d sedim tu u toho do 3 do rana a uz nevim :(

Podívejte se mi please co mám blbe dík všem.

 

Můj mód

 

#include

 

#pragma tabsize 0;

 

 

 

 

// This is a comment

// uncomment the line below if you want to write a filterscript

//#define FILTERSCRIPT

 

new brana;

new brana2;

new vytah;

new pickup;

new pickup2;

new zabrana;

new svetlo1;

new svetlo2;

new svetlo3;

new svetlo4;

new svetlo5;

new svetlo6;

new svetlo7;

new svetlo8;

new svetlo9;

new svetlo10;

new svetlo11;

new svetlo12;

new svetlo13;

new svetlo14;

new svetlo15;

new svetlo16;

new svetlo17;

new svetlo18;

new svetlo19;

new svetlo20;

new svetlo21;

new svetlo22;

new svetlo23;

new svetlo24;

new svetlo25;

 

#if defined FILTERSCRIPT

 

public OnFilterScriptInit()

{

print("\n--------------------------------------");

print(" Blank Filterscript by your name here");

print("--------------------------------------\n");

return 1;

}

 

public OnFilterScriptExit()

{

return 1;

}

 

#else

 

main()

{

print("\n----------------------------------");

print(" Blank Gamemode by your name here");

print("----------------------------------\n");

}

 

#endif

 

public OnGameModeInit()

{

CreateObject(5296,1514.692,2881.522,15.350,0.0,0.0,-90.000);

CreateObject(5112,1514.726,3012.823,15.922,0.0,0.0,-90.000);

CreateObject(5296,1514.746,3136.291,15.109,0.0,0.0,-270.000);

CreateObject(624,1485.777,2787.628,8.827,0.0,0.0,-236.250);

CreateObject(624,1485.275,2773.771,9.035,0.0,0.0,-236.250);

CreateObject(624,1485.210,2758.547,8.960,0.0,0.0,-236.250);

CreateObject(749,1474.328,2810.929,9.830,0.0,0.0,-33.750);

CreateObject(749,1498.214,2809.656,9.830,0.0,0.0,-180.000);

CreateObject(789,1525.081,2747.974,23.420,0.0,0.0,0.0);

CreateObject(789,1518.199,2797.240,23.420,0.0,0.0,-202.500);

CreateObject(7474,1425.101,3243.099,9.565,0.0,0.0,0.0);

CreateObject(7474,1425.086,3243.102,9.563,0.0,0.0,-180.000);

CreateObject(7474,1584.866,3263.127,9.544,0.0,0.0,-90.000);

CreateObject(7474,1584.924,3263.145,9.543,0.0,0.0,-270.000);

CreateObject(7474,1424.962,3283.146,9.563,0.0,0.0,-180.000);

CreateObject(4847,1500.413,3138.114,0.159,0.0,0.0,0.0);

CreateObject(4844,1690.495,3371.743,-1.367,0.0,0.0,90.000);

CreateObject(4847,1501.875,3396.307,0.267,0.0,0.0,-180.000);

CreateObject(3330,1515.144,3059.875,8.866,0.0,0.0,0.0);

CreateObject(3330,1514.834,2950.188,8.853,0.0,0.0,0.0);

CreateObject(8147,1597.728,3173.493,12.525,0.0,0.0,-90.000);

CreateObject(8147,1670.390,3246.120,12.540,0.0,0.0,0.0);

CreateObject(8147,1431.824,3173.444,12.666,0.0,0.0,-90.000);

CreateObject(8147,1335.469,3245.634,12.666,0.0,0.0,-180.000);

CreateObject(8151,1374.372,3321.673,13.929,0.0,0.0,90.000);

CreateObject(8151,1639.517,3313.540,13.911,0.0,0.0,0.0);

CreateObject(8150,1547.554,3353.313,12.645,0.0,0.0,-180.000);

CreateObject(8150,1447.639,3353.352,12.634,0.0,0.0,-180.000);

CreateObject(8154,1376.800,3200.145,12.666,0.0,0.0,-90.000);

CreateObject(6522,1515.166,3312.135,17.795,0.0,0.0,-450.000);

CreateObject(3279,1498.462,3179.165,9.340,0.0,0.0,-270.000);

CreateObject(3279,1529.639,3179.158,9.245,0.0,0.0,-270.000);

CreateObject(8947,1642.590,3332.396,12.572,0.0,0.0,-90.000);

CreateObject(8947,1642.601,3332.381,18.654,0.0,0.0,-90.000);

CreateObject(8947,1642.611,3332.345,21.185,0.0,0.0,-90.000);

CreateObject(3604,1635.288,3332.299,23.847,0.0,0.0,-270.000);

CreateObject(3604,1649.914,3332.349,23.897,0.0,0.0,-450.000);

CreateObject(6965,1515.241,3232.031,13.232,0.0,0.0,0.0);

CreateObject(3525,1511.823,3281.583,14.509,0.0,0.0,0.0);

CreateObject(3525,1517.989,3281.640,14.507,0.0,0.0,0.0);

CreateObject(744,1500.686,3169.527,9.210,0.0,0.0,-90.000);

CreateObject(744,1527.977,3169.795,9.135,0.0,0.0,-326.250);

CreateObject(736,1510.088,3327.953,20.563,0.0,0.0,0.0);

CreateObject(736,1519.466,3328.195,20.495,0.0,0.0,-78.750);

CreateObject(8647,1510.309,3271.430,10.368,0.0,0.0,-180.000);

CreateObject(8647,1519.547,3271.486,10.297,0.0,0.0,-180.000);

CreateObject(8647,1531.819,3248.636,10.297,0.0,0.0,-123.750);

CreateObject(8647,1498.088,3248.611,10.318,0.0,0.0,-236.250);

CreateObject(8647,1523.746,3191.113,10.147,0.0,0.0,-360.000);

CreateObject(8647,1505.721,3191.076,10.193,0.0,0.0,-360.000);

CreateObject(8647,1534.251,3216.196,10.272,0.0,0.0,-405.000);

CreateObject(8647,1495.189,3216.184,10.368,0.0,0.0,-315.000);

CreateObject(8652,1543.907,3255.344,10.435,0.0,0.0,-90.000);

CreateObject(8652,1485.838,3255.310,10.455,0.0,0.0,-90.000);

CreateObject(8652,1543.887,3285.007,10.485,0.0,0.0,-90.000);

CreateObject(8652,1485.851,3284.865,10.505,0.0,0.0,-90.000);

CreateObject(8652,1544.794,3211.608,10.360,0.0,0.0,-270.000);

CreateObject(8652,1484.880,3211.756,10.455,0.0,0.0,-270.000);

CreateObject(6965,1515.234,3232.053,12.763,0.0,0.0,0.0);

CreateObject(8674,1630.428,3342.730,11.011,0.0,0.0,-90.000);

CreateObject(8674,1630.391,3347.866,11.011,0.0,0.0,-90.000);

CreateObject(621,1520.531,3257.425,3.948,0.0,0.0,-67.500);

CreateObject(621,1520.537,3267.846,4.323,0.0,0.0,-101.250);

CreateObject(621,1520.672,3277.745,4.248,0.0,0.0,-11.250);

CreateObject(621,1508.426,3257.475,4.668,0.0,0.0,-11.250);

CreateObject(621,1508.226,3267.399,4.368,0.0,0.0,-11.250);

CreateObject(621,1508.363,3277.916,4.018,0.0,0.0,-11.250);

CreateObject(621,1532.013,3250.686,3.498,0.0,0.0,-67.500);

CreateObject(621,1541.795,3244.051,3.023,0.0,0.0,-67.500);

CreateObject(621,1497.258,3250.844,4.168,0.0,0.0,-67.500);

CreateObject(621,1487.616,3244.166,3.943,0.0,0.0,-67.500);

CreateObject(621,1525.093,3204.874,4.423,0.0,0.0,0.0);

CreateObject(621,1534.940,3214.189,3.898,0.0,0.0,0.0);

CreateObject(621,1542.902,3222.216,3.748,0.0,0.0,0.0);

CreateObject(621,1503.934,3204.998,4.943,0.0,0.0,0.0);

CreateObject(621,1494.516,3214.378,4.193,0.0,0.0,0.0);

CreateObject(621,1486.157,3222.779,3.893,0.0,0.0,0.0);

CreateObject(638,1510.841,3275.918,10.212,0.0,0.0,0.0);

CreateObject(638,1510.888,3268.266,10.212,0.0,0.0,0.0);

CreateObject(638,1510.865,3260.723,10.212,0.0,0.0,0.0);

CreateObject(638,1518.958,3260.698,10.166,0.0,0.0,0.0);

CreateObject(638,1518.927,3268.386,10.191,0.0,0.0,0.0);

CreateObject(638,1518.949,3275.976,10.191,0.0,0.0,0.0);

CreateObject(638,1523.146,3202.019,10.141,0.0,0.0,0.0);

CreateObject(638,1523.154,3194.106,10.141,0.0,0.0,0.0);

CreateObject(638,1523.158,3186.705,10.116,0.0,0.0,0.0);

CreateObject(638,1506.290,3186.690,10.212,0.0,0.0,0.0);

CreateObject(638,1506.345,3194.391,10.187,0.0,0.0,0.0);

CreateObject(638,1506.299,3201.758,10.162,0.0,0.0,0.0);

CreateObject(640,1508.041,3254.568,10.187,0.0,0.0,-56.250);

CreateObject(640,1502.311,3250.709,10.212,0.0,0.0,-56.250);

CreateObject(640,1495.755,3246.344,10.212,0.0,0.0,-56.250);

CreateObject(640,1489.414,3242.160,10.212,0.0,0.0,-56.250);

CreateObject(640,1521.646,3254.764,10.141,0.0,0.0,-123.750);

CreateObject(640,1527.665,3250.714,10.191,0.0,0.0,-123.750);

CreateObject(640,1534.058,3246.435,10.191,0.0,0.0,-123.750);

CreateObject(640,1540.596,3242.137,10.191,0.0,0.0,-123.750);

CreateObject(640,1503.858,3208.290,10.212,0.0,0.0,-135.000);

CreateObject(640,1498.846,3213.326,10.212,0.0,0.0,-135.000);

CreateObject(640,1493.446,3218.775,10.187,0.0,0.0,-135.000);

CreateObject(640,1487.806,3224.377,10.212,0.0,0.0,-135.000);

CreateObject(640,1525.626,3208.381,10.191,0.0,0.0,-225.000);

CreateObject(640,1530.698,3213.435,10.191,0.0,0.0,-225.000);

CreateObject(640,1536.223,3218.892,10.191,0.0,0.0,-225.000);

CreateObject(640,1541.547,3224.269,10.116,0.0,0.0,-225.000);

CreateObject(646,1512.544,3288.533,10.931,0.0,0.0,-78.750);

CreateObject(646,1517.090,3288.583,10.911,0.0,0.0,0.0);

CreateObject(9241,1637.874,3211.320,11.201,0.0,0.0,0.0);

CreateObject(9241,1637.812,3241.702,11.151,0.0,0.0,0.0);

CreateObject(1635,1633.320,3324.522,14.068,0.0,0.0,90.000);

CreateObject(14447,1647.328,3321.031,14.225,0.0,0.0,0.0);

CreateObject(14447,1658.813,3324.563,14.245,0.0,0.0,90.000);

CreateObject(983,1658.133,3332.135,14.621,0.0,0.0,-90.000);

CreateObject(983,1659.743,3332.125,14.621,0.0,0.0,-90.000);

CreateObject(16098,1371.466,3331.131,14.151,0.0,0.0,-90.000);

CreateObject(3279,1341.456,3179.525,9.265,0.0,0.0,90.000);

CreateObject(3279,1664.251,3179.363,9.235,0.0,0.0,-180.000);

CreateObject(629,1629.658,3325.240,9.453,0.0,0.0,-56.250);

CreateObject(629,1629.627,3336.541,9.553,0.0,0.0,-56.250);

svetlo1 = CreateObject(1215,1517.347,3222.553,10.109,0.0,0.0,0.0);

svetlo2 = CreateObject(1215,1521.321,3224.556,10.109,0.0,0.0,0.0);

svetlo3 = CreateObject(1215,1523.913,3227.776,10.109,0.0,0.0,0.0);

svetlo4 = CreateObject(1215,1524.894,3232.063,10.109,0.0,0.0,0.0);

svetlo5 = CreateObject(1215,1523.853,3236.269,10.109,0.0,0.0,0.0);

svetlo6 = CreateObject(1215,1521.197,3239.593,10.109,0.0,0.0,0.0);

svetlo7 = CreateObject(1215,1517.277,3241.406,10.109,0.0,0.0,0.0);

svetlo8 = CreateObject(1215,1512.979,3241.386,10.129,0.0,0.0,0.0);

svetlo9 = CreateObject(1215,1509.281,3239.516,10.129,0.0,0.0,0.0);

svetlo10 = CreateObject(1215,1506.396,3236.159,10.129,0.0,0.0,0.0);

svetlo11 = CreateObject(1215,1505.570,3232.065,10.129,0.0,0.0,0.0);

svetlo12 = CreateObject(1215,1506.588,3227.857,10.129,0.0,0.0,0.0);

svetlo13 = CreateObject(1215,1509.202,3224.530,10.129,0.0,0.0,0.0);

svetlo14 = CreateObject(1215,1513.098,3222.577,10.129,0.0,0.0,0.0);

svetlo15 = CreateObject(1215,1514.810,3230.211,16.629,0.0,0.0,0.0);

svetlo16 = CreateObject(1215,1516.630,3230.720,16.638,0.0,0.0,0.0);

svetlo17 = CreateObject(1215,1513.477,3231.601,16.638,0.0,0.0,0.0);

svetlo18 = CreateObject(1215,1513.771,3233.188,16.613,0.0,0.0,0.0);

svetlo19 = CreateObject(1215,1515.223,3233.839,16.638,0.0,0.0,0.0);

svetlo20 = CreateObject(1215,1516.724,3233.182,16.613,0.0,0.0,0.0);

svetlo21 = CreateObject(1215,1517.019,3232.012,16.613,0.0,0.0,0.0);

svetlo22 = CreateObject(1215,1511.611,3290.000,12.448,0.0,0.0,0.0);

svetlo23 = CreateObject(1215,1518.162,3289.932,12.463,0.0,0.0,0.0);

svetlo24 = CreateObject(1215,1629.688,3337.344,10.109,0.0,0.0,0.0);

svetlo25 = CreateObject(1215,1629.606,3327.551,10.109,0.0,0.0,0.0);

CreateObject(3526,1625.630,3223.366,12.098,0.0,0.0,-180.000);

CreateObject(3526,1626.182,3199.178,12.098,0.0,0.0,-180.000);

CreateObject(3526,1650.049,3199.239,12.098,0.0,0.0,-360.000);

CreateObject(3526,1650.028,3223.223,12.098,0.0,0.0,-360.000);

CreateObject(3526,1650.053,3229.569,12.048,0.0,0.0,-360.000);

CreateObject(3526,1650.026,3253.666,12.048,0.0,0.0,-360.000);

CreateObject(3526,1625.643,3253.772,12.048,0.0,0.0,-180.000);

CreateObject(3526,1626.019,3229.580,12.048,0.0,0.0,-360.000);

CreateObject(1215,1475.315,2809.744,10.285,0.0,0.0,0.0);

CreateObject(1215,1496.801,2809.472,10.335,0.0,0.0,0.0);

CreateObject(1215,1524.057,2835.889,10.585,0.0,0.0,0.0);

CreateObject(1215,1505.324,2835.817,10.586,0.0,0.0,0.0);

CreateObject(1215,1505.359,2839.522,10.500,0.0,0.0,0.0);

CreateObject(1215,1505.362,2843.219,10.781,0.0,0.0,0.0);

CreateObject(1215,1524.039,2839.295,10.503,0.0,0.0,0.0);

CreateObject(1215,1524.038,2843.087,10.754,0.0,0.0,0.0);

CreateObject(1215,1524.062,2846.743,11.076,0.0,0.0,0.0);

CreateObject(1215,1505.362,2846.923,11.074,0.0,0.0,0.0);

CreateObject(1215,1505.348,2850.360,11.516,0.0,0.0,0.0);

CreateObject(1215,1524.056,2850.336,11.516,0.0,0.0,0.0);

CreateObject(1215,1490.036,2769.047,10.309,0.0,0.0,0.0);

CreateObject(1215,1490.106,2778.410,10.335,0.0,0.0,0.0);

CreateObject(619,1635.241,3347.802,9.694,0.0,0.0,-67.500);

CreateObject(620,1636.248,3347.873,4.292,0.0,0.0,0.0);

CreateObject(621,1526.745,2979.259,10.034,0.0,0.0,0.0);

CreateObject(621,1502.983,2981.191,9.309,0.0,0.0,0.0);

CreateObject(621,1499.307,2956.896,3.575,0.0,0.0,0.0);

CreateObject(621,1530.822,2973.945,15.061,0.0,0.0,0.0);

CreateObject(621,1529.413,2954.454,4.866,0.0,0.0,0.0);

CreateObject(621,1526.121,2963.771,6.473,0.0,0.0,0.0);

CreateObject(621,1499.177,2973.672,5.864,0.0,0.0,0.0);

CreateObject(621,1502.095,2965.751,4.447,0.0,0.0,0.0);

CreateObject(621,1492.459,2960.466,6.585,0.0,0.0,0.0);

CreateObject(621,1489.187,2974.905,14.759,0.0,0.0,0.0);

CreateObject(621,1537.211,2955.575,11.637,0.0,0.0,0.0);

CreateObject(621,1488.701,2966.735,10.857,0.0,0.0,0.0);

CreateObject(621,1533.213,2965.071,12.017,0.0,0.0,0.0);

CreateObject(918,1366.511,3321.412,9.934,0.0,0.0,0.0);

CreateObject(918,1366.668,3321.611,10.585,0.0,0.0,0.0);

CreateObject(918,1366.953,3321.373,9.934,0.0,0.0,0.0);

CreateObject(918,1366.765,3321.813,9.934,0.0,0.0,-22.500);

CreateObject(1825,1515.014,3282.851,13.490,0.0,0.0,-33.750);

CreateObject(3526,1398.893,3301.094,9.631,0.0,0.0,0.0);

CreateObject(3526,1399.000,3286.236,9.633,0.0,0.0,0.0);

CreateObject(3526,1399.002,3271.382,9.633,0.0,0.0,0.0);

CreateObject(3526,1398.967,3256.589,9.633,0.0,0.0,0.0);

CreateObject(3526,1398.957,3241.053,9.633,0.0,0.0,0.0);

CreateObject(3526,1398.969,3224.720,9.633,0.0,0.0,0.0);

CreateObject(3526,1379.127,3224.335,9.633,0.0,0.0,-180.000);

CreateObject(3526,1379.236,3241.194,9.633,0.0,0.0,-180.000);

CreateObject(3526,1379.101,3257.204,9.631,0.0,0.0,-180.000);

CreateObject(3526,1379.156,3271.319,9.631,0.0,0.0,-180.000);

CreateObject(3526,1379.165,3286.811,9.631,0.0,0.0,-180.000);

CreateObject(3526,1379.134,3301.380,9.631,0.0,0.0,-180.000);

CreateObject(3526,1365.370,3301.632,9.633,0.0,0.0,0.0);

CreateObject(3526,1365.402,3286.989,9.633,0.0,0.0,0.0);

CreateObject(3526,1365.400,3271.695,9.633,0.0,0.0,0.0);

CreateObject(3526,1365.367,3241.019,9.631,0.0,0.0,0.0);

CreateObject(3526,1365.370,3256.790,9.633,0.0,0.0,0.0);

CreateObject(3526,1365.354,3224.200,9.633,0.0,0.0,0.0);

CreateObject(3526,1344.707,3302.521,9.633,0.0,0.0,-180.000);

CreateObject(3526,1344.715,3224.124,9.633,0.0,0.0,-180.000);

CreateObject(3526,1344.707,3241.549,9.631,0.0,0.0,-180.000);

CreateObject(3526,1344.722,3258.234,9.633,0.0,0.0,-180.000);

CreateObject(3526,1344.729,3287.730,9.633,0.0,0.0,-180.000);

CreateObject(3526,1344.714,3272.202,9.633,0.0,0.0,-180.000);

pickup = CreatePickup(1318,1,1514.933,3288.681,11.170);

pickup2 = CreatePickup(1318,1,225.7199,1023.5774,1084.0115);

brana = CreateObject(980,1508.980,3173.049,12.534,0.0,0.0,-180.000);

brana2 = CreateObject(980,1520.484,3173.021,12.542,0.0,0.0,0.0);

vytah = CreateObject(18284,1621.106,3332.425,6.639,0.0,0.0,-90.000);

zabrana = CreateObject(996,1630.412,3329.120,16.383007,0.0,0.0,90.000);

AddStaticVehicle(411,2040.0625,1342.7926,10.6027,359.9738,106,1); // infernus

AddStaticVehicle(411,2040.0128,1333.8544,10.6129,358.8497,75,1); // infernus

AddStaticVehicle(411,2040.0460,1351.3342,10.6034,0.0310,80,1); // infernus

AddStaticVehicle(411,1646.7334,3336.5740,10.4592,88.2102,112,1); // infernus

AddStaticVehicle(411,1647.0743,3328.5642,10.4740,92.7599,12,1); // infernus

AddStaticVehicle(409,1645.5122,3332.6272,10.3440,89.9330,1,1); // stretch

AddStaticVehicle(432,1643.8385,3332.4338,16.6343,89.2607,43,0); // rhino

AddStaticVehicle(425,1640.4421,3211.2502,13.6070,268.3970,43,0); // hunter

AddStaticVehicle(425,1639.2811,3241.9463,13.5512,270.0974,43,0); // hunter

AddStaticVehicle(593,1388.4312,3326.7590,11.0243,183.3347,68,8); // dodo

AddStaticVehicle(593,1354.9867,3324.7700,10.9683,181.3127,2,1); // dodo

AddStaticVehicle(571,1515.0054,3334.4995,9.8373,1.1271,51,53); // kart

AddStaticVehicle(579,1479.9219,2838.0876,10.7524,180.1386,42,42); // huntley

AddStaticVehicle(451,1494.3082,2848.0779,10.7949,358.8029,125,125); // turismo

AddStaticVehicle(580,1482.5480,2879.1860,10.6165,180.6583,67,67); // stafford

AddStaticVehicle(581,1478.0214,2878.3909,10.4126,359.3548,72,1); // bf400

AddStaticVehicle(582,1460.4393,2839.2092,10.8742,0.5834,110,113); // newsvan

AddStaticVehicle(409,1462.7340,2781.0483,10.5369,178.9896,1,1); // stretch

AddStaticVehicle(409,1462.8976,2766.6880,10.5373,180.9498,1,1); // stretch

 

return 1;

}

 

public OnGameModeExit()

{

return 1;

}

 

public OnPlayerRequestClass(playerid, classid)

{

SetPlayerPos(playerid, 1958.3783, 1343.1572, 15.3746);

SetPlayerCameraPos(playerid, 1958.3783, 1343.1572, 15.3746);

SetPlayerCameraLookAt(playerid, 1958.3783, 1343.1572, 15.3746);

AddPlayerClass(playerid,1958.6981,1342.7739,15.3746,270.1700,0,0,0,0,0,0); //

 

return 1;

}

 

public OnPlayerRequestSpawn(playerid)

{

return 1;

}

 

public OnPlayerConnect(playerid)

{

AddPlayerClass(playerid,1959.7360,1344.1633,15.3746,270.1465,0,0,0,0,0,0); //

return 1;

}

 

public OnPlayerDisconnect(playerid, reason)

{

return 1;

}

 

public OnPlayerSpawn(playerid)

{

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 OnPlayerPrivmsg(playerid, recieverid, text[])

{

return 1;

}

 

public OnPlayerCommandText(playerid, cmdtext[])

{

if (strcmp("/mycommand", cmdtext, true, 10) == 0)

{

// Do something here

return 1;

}

 

if(strcmp(cmdtext, "/zavrit", true) == 0)

if(IsPlayerAdmin(playerid))

{

MoveObject(brana, 1508.980103,3173.048584,12.508974, 1);

MoveObject(brana2, 1520.484009,3173.020752,12.541506, 1);

SendClientMessage(playerid, 0x33AA33AA,"!!! Hlavní brána se zavírá !!!");

return 1;

}

 

if(strcmp(cmdtext, "/otevrit", true) == 0)

if(IsPlayerAdmin(playerid))

{

MoveObject(brana, 1499.00488,3173.0989,12.508974, 1);

MoveObject(brana2, 1530.358652,3173.020752,12.541506, 1);

SendClientMessage(playerid, 0x33AA33AA,"!!! Hlavní brána se otevírá !!!");

return 1;

}

if(strcmp(cmdtext, "/dolu", true) == 0)

if(IsPlayerAdmin(playerid))

{

MoveObject(vytah, 1621.106,3332.425,6.639, 1);

MoveObject(zabrana, 1630.412,3329.120,16.383007,0.3);

SendClientMessage(playerid, 0x33AA33AA,"!!! Výtah jede dolů !!!");

return 1;

}

 

if(strcmp(cmdtext, "/nahoru", true) == 0)

if(IsPlayerAdmin(playerid))

{

MoveObject(vytah, 1621.106,3332.425,12.664262, 1);

MoveObject(zabrana, 1630.412,3329.120,15.208,0.3);

SendClientMessage(playerid, 0x33AA33AA,"!!! Výtah jede nahoru !!!");

return 1;

}

if(strcmp(cmdtext, "/zapnout", true) == 0)

if(IsPlayerAdmin(playerid))

{

MoveObject(svetlo1, 1215,1517.347,3222.553,10.109, 1);

MoveObject(svetlo2, 1215,1521.321,3224.556,10.109, 1);

MoveObject(svetlo3, 1215,1523.913,3227.776,10.109, 1);

MoveObject(svetlo4, 1215,1524.894,3232.063,10.109, 1);

MoveObject(svetlo5, 1215,1523.853,3236.269,10.109, 1);

MoveObject(svetlo6, 1215,1521.197,3239.593,10.109, 1);

MoveObject(svetlo7, 1215,1517.277,3241.406,10.109, 1);

MoveObject(svetlo8, 1215,1512.979,3241.386,10.129, 1);

MoveObject(svetlo9, 1215,1509.281,3239.516,10.129, 1);

MoveObject(svetlo10, 1215,1506.396,3236.159,10.129, 1);

MoveObject(svetlo11, 1215,1505.570,3232.065,10.129, 1);

MoveObject(svetlo12, 1215,1506.588,3227.857,10.129, 1);

MoveObject(svetlo13, 1215,1509.202,3224.530,10.129, 1);

MoveObject(svetlo14, 1215,1513.098,3222.577,10.129, 1);

MoveObject(svetlo15, 1215,1514.810,3230.211,16.629, 1);

MoveObject(svetlo16, 1215,1516.630,3230.720,16.638, 1);

MoveObject(svetlo17, 1215,1513.477,3231.601,16.638, 1);

MoveObject(svetlo18, 1215,1513.771,3233.188,16.613, 1);

MoveObject(svetlo19, 1215,1515.223,3233.839,16.638, 1);

MoveObject(svetlo20, 1215,1516.724,3233.182,16.613, 1);

MoveObject(svetlo21, 1215,1517.019,3232.012,16.613, 1);

MoveObject(svetlo22, 1215,1511.611,3290.000,12.448, 1);

MoveObject(svetlo23, 1215,1518.162,3289.932,12.463, 1);

MoveObject(svetlo24, 1215,1629.688,3337.344,10.109, 1);

MoveObject(svetlo25, 1215,1629.606,3327.551,10.109, 1);

SendClientMessage(playerid, 0x33AA33AA,"!!! Světla jsou zapnutá !!!");

return 1;

}

 

if(strcmp(cmdtext, "/vypnout", true) == 0)

if(IsPlayerAdmin(playerid))

{

MoveObject(svetlo1, 1215,1517.347,3222.553,3.083763, 1);

MoveObject(svetlo2, 1215,1521.321,3224.556,3.083763, 1);

MoveObject(svetlo3, 1215,1523.913,3227.776,3.083763, 1);

MoveObject(svetlo4, 1215,1524.894,3232.063,3.083763, 1);

MoveObject(svetlo5, 1215,1523.853,3236.269,3.083763, 1);

MoveObject(svetlo6, 1215,1521.197,3239.593,3.083763, 1);

MoveObject(svetlo7, 1215,1517.277,3241.406,3.083763, 1);

MoveObject(svetlo8, 1215,1512.979,3241.386,3.083763, 1);

MoveObject(svetlo9, 1215,1509.281,3239.516,3.083763, 1);

MoveObject(svetlo10, 1215,1506.396,3236.159,3.083763, 1);

MoveObject(svetlo11, 1215,1505.570,3232.065,3.083763, 1);

MoveObject(svetlo12, 1215,1506.588,3227.857,3.083763, 1);

MoveObject(svetlo13, 1215,1509.202,3224.530,3.083763, 1);

MoveObject(svetlo14, 1215,1513.098,3222.577,3.083763, 1);

MoveObject(svetlo15, 1215,1514.810,3230.211,3.083763, 1);

MoveObject(svetlo16, 1215,1516.630,3230.720,3.083763, 1);

MoveObject(svetlo17, 1215,1513.477,3231.601,3.083763, 1);

MoveObject(svetlo18, 1215,1513.771,3233.188,3.083763, 1);

MoveObject(svetlo19, 1215,1515.223,3233.839,3.083763, 1);

MoveObject(svetlo20, 1215,1516.724,3233.182,3.083763, 1);

MoveObject(svetlo21, 1215,1517.019,3232.012,3.083763, 1);

MoveObject(svetlo22, 1215,1511.611,3290.000,3.083763, 1);

MoveObject(svetlo23, 1215,1518.162,3289.932,3.083763, 1);

MoveObject(svetlo24, 1215,1629.688,3337.344,3.083763, 1);

MoveObject(svetlo25, 1215,1629.606,3327.551,3.083763, 1);

SendClientMessage(playerid, 0x33AA33AA,"!!! Světla jsou vypnutá !!!");

return 1;

}

return 0;

}

 

public OnPlayerInfoChange(playerid)

{

return 1;

}

 

public OnPlayerEnterVehicle(playerid, vehicleid, ispassenger)

{

return 1;

}

 

public OnPlayerExitVehicle(playerid, vehicleid)

{

return 1;

}

 

public OnPlayerStateChange(playerid, newstate, oldstate)

{

return 1;

}

 

public OnPlayerEnterCheckpoint(playerid)

{

return 1;

}

 

public OnPlayerLeaveCheckpoint(playerid)

{

return 1;

}

 

public OnPlayerEnterRaceCheckpoint(playerid)

{

return 1;

}

 

public OnPlayerLeaveRaceCheckpoint(playerid)

{

return 1;

}

 

public OnRconCommand(cmd[])

{

return 1;

}

 

public OnObjectMoved(objectid)

{

return 1;

}

 

public OnPlayerObjectMoved(playerid, objectid)

{

return 1;

}

 

public OnPlayerPickUpPickup(playerid, pickupid)

{

if(pickupid == pickup)

{

SetPlayerPos(playerid,226.7565,1026.5244,1084.0109);

SetPlayerInterior(playerid,7);

}

 

if(pickupid == pickup2)

{

SetPlayerPos(playerid,1514.1743,3275.3508,12.5650);

SetPlayerInterior(playerid,0);

}

return 1;

}

 

public OnPlayerSelectedMenuRow(playerid, row)

{

return 1;

}

 

public OnPlayerExitedMenu(playerid)

{

return 1;

}

 

 

ERRORY mi to hází take. je jich 50 a jestli to ukazuje dobře tak je podle pawna na každém řádku s MoveObjectem chyba. Možná jsem si ale ničeho nevšiml je už dost pozdě. Tak s emi na to podívejte.

 

C:\Documents and Settings\Lukáš\Plocha\SA-MP Server\gamemodes\AOstrov.pwn(417) : warning 202: number of arguments does not match definition

C:\Documents and Settings\Lukáš\Plocha\SA-MP Server\gamemodes\AOstrov.pwn(418) : warning 202: number of arguments does not match definition

C:\Documents and Settings\Lukáš\Plocha\SA-MP Server\gamemodes\AOstrov.pwn(419) : warning 202: number of arguments does not match definition

C:\Documents and Settings\Lukáš\Plocha\SA-MP Server\gamemodes\AOstrov.pwn(420) : warning 202: number of arguments does not match definition

C:\Documents and Settings\Lukáš\Plocha\SA-MP Server\gamemodes\AOstrov.pwn(421) : warning 202: number of arguments does not match definition

C:\Documents and Settings\Lukáš\Plocha\SA-MP Server\gamemodes\AOstrov.pwn(422) : warning 202: number of arguments does not match definition

C:\Documents and Settings\Lukáš\Plocha\SA-MP Server\gamemodes\AOstrov.pwn(423) : warning 202: number of arguments does not match definition

C:\Documents and Settings\Lukáš\Plocha\SA-MP Server\gamemodes\AOstrov.pwn(424) : warning 202: number of arguments does not match definition

C:\Documents and Settings\Lukáš\Plocha\SA-MP Server\gamemodes\AOstrov.pwn(425) : warning 202: number of arguments does not match definition

C:\Documents and Settings\Lukáš\Plocha\SA-MP Server\gamemodes\AOstrov.pwn(426) : warning 202: number of arguments does not match definition

C:\Documents and Settings\Lukáš\Plocha\SA-MP Server\gamemodes\AOstrov.pwn(427) : warning 202: number of arguments does not match definition

C:\Documents and Settings\Lukáš\Plocha\SA-MP Server\gamemodes\AOstrov.pwn(428) : warning 202: number of arguments does not match definition

C:\Documents and Settings\Lukáš\Plocha\SA-MP Server\gamemodes\AOstrov.pwn(429) : warning 202: number of arguments does not match definition

C:\Documents and Settings\Lukáš\Plocha\SA-MP Server\gamemodes\AOstrov.pwn(430) : warning 202: number of arguments does not match definition

C:\Documents and Settings\Lukáš\Plocha\SA-MP Server\gamemodes\AOstrov.pwn(431) : warning 202: number of arguments does not match definition

C:\Documents and Settings\Lukáš\Plocha\SA-MP Server\gamemodes\AOstrov.pwn(432) : warning 202: number of arguments does not match definition

C:\Documents and Settings\Lukáš\Plocha\SA-MP Server\gamemodes\AOstrov.pwn(433) : warning 202: number of arguments does not match definition

C:\Documents and Settings\Lukáš\Plocha\SA-MP Server\gamemodes\AOstrov.pwn(434) : warning 202: number of arguments does not match definition

C:\Documents and Settings\Lukáš\Plocha\SA-MP Server\gamemodes\AOstrov.pwn(435) : warning 202: number of arguments does not match definition

C:\Documents and Settings\Lukáš\Plocha\SA-MP Server\gamemodes\AOstrov.pwn(436) : warning 202: number of arguments does not match definition

C:\Documents and Settings\Lukáš\Plocha\SA-MP Server\gamemodes\AOstrov.pwn(437) : warning 202: number of arguments does not match definition

C:\Documents and Settings\Lukáš\Plocha\SA-MP Server\gamemodes\AOstrov.pwn(438) : warning 202: number of arguments does not match definition

C:\Documents and Settings\Lukáš\Plocha\SA-MP Server\gamemodes\AOstrov.pwn(439) : warning 202: number of arguments does not match definition

C:\Documents and Settings\Lukáš\Plocha\SA-MP Server\gamemodes\AOstrov.pwn(440) : warning 202: number of arguments does not match definition

C:\Documents and Settings\Lukáš\Plocha\SA-MP Server\gamemodes\AOstrov.pwn(441) : warning 202: number of arguments does not match definition

C:\Documents and Settings\Lukáš\Plocha\SA-MP Server\gamemodes\AOstrov.pwn(449) : warning 202: number of arguments does not match definition

C:\Documents and Settings\Lukáš\Plocha\SA-MP Server\gamemodes\AOstrov.pwn(450) : warning 202: number of arguments does not match definition

C:\Documents and Settings\Lukáš\Plocha\SA-MP Server\gamemodes\AOstrov.pwn(451) : warning 202: number of arguments does not match definition

C:\Documents and Settings\Lukáš\Plocha\SA-MP Server\gamemodes\AOstrov.pwn(452) : warning 202: number of arguments does not match definition

C:\Documents and Settings\Lukáš\Plocha\SA-MP Server\gamemodes\AOstrov.pwn(453) : warning 202: number of arguments does not match definition

C:\Documents and Settings\Lukáš\Plocha\SA-MP Server\gamemodes\AOstrov.pwn(454) : warning 202: number of arguments does not match definition

C:\Documents and Settings\Lukáš\Plocha\SA-MP Server\gamemodes\AOstrov.pwn(455) : warning 202: number of arguments does not match definition

C:\Documents and Settings\Lukáš\Plocha\SA-MP Server\gamemodes\AOstrov.pwn(456) : warning 202: number of arguments does not match definition

C:\Documents and Settings\Lukáš\Plocha\SA-MP Server\gamemodes\AOstrov.pwn(457) : warning 202: number of arguments does not match definition

C:\Documents and Settings\Lukáš\Plocha\SA-MP Server\gamemodes\AOstrov.pwn(458) : warning 202: number of arguments does not match definition

C:\Documents and Settings\Lukáš\Plocha\SA-MP Server\gamemodes\AOstrov.pwn(459) : warning 202: number of arguments does not match definition

C:\Documents and Settings\Lukáš\Plocha\SA-MP Server\gamemodes\AOstrov.pwn(460) : warning 202: number of arguments does not match definition

C:\Documents and Settings\Lukáš\Plocha\SA-MP Server\gamemodes\AOstrov.pwn(461) : warning 202: number of arguments does not match definition

C:\Documents and Settings\Lukáš\Plocha\SA-MP Server\gamemodes\AOstrov.pwn(462) : warning 202: number of arguments does not match definition

C:\Documents and Settings\Lukáš\Plocha\SA-MP Server\gamemodes\AOstrov.pwn(463) : warning 202: number of arguments does not match definition

C:\Documents and Settings\Lukáš\Plocha\SA-MP Server\gamemodes\AOstrov.pwn(464) : warning 202: number of arguments does not match definition

C:\Documents and Settings\Lukáš\Plocha\SA-MP Server\gamemodes\AOstrov.pwn(465) : warning 202: number of arguments does not match definition

C:\Documents and Settings\Lukáš\Plocha\SA-MP Server\gamemodes\AOstrov.pwn(466) : warning 202: number of arguments does not match definition

C:\Documents and Settings\Lukáš\Plocha\SA-MP Server\gamemodes\AOstrov.pwn(467) : warning 202: number of arguments does not match definition

C:\Documents and Settings\Lukáš\Plocha\SA-MP Server\gamemodes\AOstrov.pwn(468) : warning 202: number of arguments does not match definition

C:\Documents and Settings\Lukáš\Plocha\SA-MP Server\gamemodes\AOstrov.pwn(469) : warning 202: number of arguments does not match definition

C:\Documents and Settings\Lukáš\Plocha\SA-MP Server\gamemodes\AOstrov.pwn(470) : warning 202: number of arguments does not match definition

C:\Documents and Settings\Lukáš\Plocha\SA-MP Server\gamemodes\AOstrov.pwn(471) : warning 202: number of arguments does not match definition

C:\Documents and Settings\Lukáš\Plocha\SA-MP Server\gamemodes\AOstrov.pwn(472) : warning 202: number of arguments does not match definition

C:\Documents and Settings\Lukáš\Plocha\SA-MP Server\gamemodes\AOstrov.pwn(473) : warning 202: number of arguments does not match definition

Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase

 

 

50 Warnings.

 

 

POMOC :(

Link to comment
Share on other sites

7 odpovědí na tuto otázku

Recommended Posts

  • 0

Místo 50 mi to hází 100 ERRORU

 

Mod

 

#include

 

#pragma tabsize 0;

 

 

 

 

// This is a comment

// uncomment the line below if you want to write a filterscript

//#define FILTERSCRIPT

 

new brana;

new brana2;

new vytah;

new pickup;

new pickup2;

new zabrana;

new svetlo1;

new svetlo2;

new svetlo3;

new svetlo4;

new svetlo5;

new svetlo6;

new svetlo7;

new svetlo8;

new svetlo9;

new svetlo10;

new svetlo11;

new svetlo12;

new svetlo13;

new svetlo14;

new svetlo15;

new svetlo16;

new svetlo17;

new svetlo18;

new svetlo19;

new svetlo20;

new svetlo21;

new svetlo22;

new svetlo23;

new svetlo24;

new svetlo25;

 

#if defined FILTERSCRIPT

 

public OnFilterScriptInit()

{

print("\n--------------------------------------");

print(" Blank Filterscript by your name here");

print("--------------------------------------\n");

return 1;

}

 

public OnFilterScriptExit()

{

return 1;

}

 

#else

 

main()

{

print("\n----------------------------------");

print(" Blank Gamemode by your name here");

print("----------------------------------\n");

}

 

#endif

 

public OnGameModeInit()

{

AddStaticVehicle(411,2040.0822,1343.0612,10.6033,0.0269,64,1); // infernus

AddStaticVehicle(411,2040.0844,1333.4543,10.6033,0.0266,64,1); // infernus

AddStaticVehicle(411,2040.0842,1352.3610,10.6044,0.0237,64,1); // infernus

AddStaticVehicle(411,1651.2610,3337.4014,10.4753,90.0057,64,1); // infernus

AddStaticVehicle(411,1651.2028,3327.2610,10.4746,89.9893,64,1); // infernus

AddStaticVehicle(432,1649.3235,3327.6619,16.6354,89.9958,43,0); // rhino

AddStaticVehicle(432,1649.2329,3336.6580,16.6344,89.5482,43,0); // rhino

AddStaticVehicle(522,1634.7325,3327.8140,10.1114,91.7404,8,82); // nrg500

AddStaticVehicle(522,1634.7545,3326.4399,10.1123,86.1965,7,79); // nrg500

AddStaticVehicle(522,1634.6051,3337.0859,10.1048,91.9401,6,25); // nrg500

AddStaticVehicle(522,1634.6224,3338.2988,10.1147,92.0462,3,8); // nrg500

AddStaticVehicle(571,1515.9486,3333.8311,9.8277,2.5670,11,22); // kart

AddStaticVehicle(571,1513.7321,3333.7742,9.8366,356.1315,91,2); // kart

AddStaticVehicle(571,1513.6681,3329.4399,9.8466,357.4473,36,2); // kart

AddStaticVehicle(571,1516.1725,3329.5593,9.8271,5.4696,51,53); // kart

AddStaticVehicle(425,1639.2537,3211.5188,13.6012,269.0697,43,0); // hunter

AddStaticVehicle(593,1354.9753,3330.2971,10.9744,180.3935,60,1); // dodo

AddStaticVehicle(593,1388.8971,3331.1091,11.0218,179.7313,58,8); // dodo

AddStaticVehicle(522,2129.5300,1324.9780,10.3889,269.6661,39,106); // nrg-500

AddStaticVehicle(522,2129.5706,1327.7147,10.3875,269.8822,39,106); // nrg-500

AddStaticVehicle(522,2129.7117,1341.6752,10.4058,268.7517,39,106); // nrg-500

AddStaticVehicle(522,2129.1711,1338.7413,10.3956,270.2771,39,106); // nrg-500

AddStaticVehicle(409,1649.9199,3330.5161,10.3440,88.6397,1,1); // stretch

AddStaticVehicle(409,1649.9026,3334.0920,10.3463,90.1572,1,1); // stretch

AddStaticVehicle(409,1462.8153,2782.4155,10.5425,180.3594,1,1); // stretch

AddStaticVehicle(409,1462.8696,2773.4966,10.5433,180.2032,1,1); // stretch

AddStaticVehicle(409,1462.9154,2764.7903,10.5380,181.4383,1,1); // stretch

AddStaticVehicle(422,1422.6890,2855.8718,10.8089,271.3537,101,25); //

AddStaticVehicle(421,1455.7449,2879.0500,10.7028,359.2936,13,1); //

AddStaticVehicle(426,1447.0466,2878.4509,10.5889,179.7936,42,42); //

AddStaticVehicle(405,1465.5651,2846.3298,10.6953,180.1520,24,1); //

AddStaticVehicle(415,1475.2367,2847.2585,10.5791,358.9713,40,1); //

AddStaticVehicle(400,1460.9371,2838.5078,10.9126,180.5673,123,1); //

AddStaticVehicle(419,1479.8291,2838.6707,10.6178,178.9678,47,76); //

AddStaticVehicle(412,1484.5972,2838.8179,10.6958,179.6728,25,8); //

AddStaticVehicle(413,1494.2494,2847.9155,10.9020,0.0111,91,1); //

AddStaticVehicle(426,1589.1827,2577.5771,10.5637,269.6179,7,7); //

AddStaticVehicle(429,1958.4374,2755.2869,10.5000,179.9735,13,13); //

AddStaticVehicle(429,2048.8284,2479.7512,10.5000,359.5080,14,14); //

AddStaticVehicle(431,1998.0682,2484.0637,10.9265,274.4468,47,74); //

AddStaticVehicle(431,1997.7332,2489.0496,10.9236,273.4611,59,83); //

AddStaticVehicle(431,1997.3551,2493.9966,10.9380,272.3698,92,72); //

AddStaticVehicle(431,1977.6630,2472.1338,10.9283,359.5071,55,83); //

AddStaticVehicle(415,2057.2810,2479.6479,10.5782,180.3482,75,1); //

AddStaticVehicle(436,2155.1914,2175.2756,10.4381,358.3367,87,1); //

AddStaticVehicle(420,2119.9429,2174.0081,10.4530,179.4931,6,1); //

AddStaticVehicle(420,2120.0962,2166.2996,10.4541,179.2896,6,1); //

AddStaticVehicle(420,2119.9910,2151.9138,10.4505,179.6915,6,1); //

AddStaticVehicle(420,2119.9985,2158.7876,10.4530,179.6739,6,1); //

AddStaticVehicle(420,2119.9683,2181.8611,10.4524,179.3339,6,1); //

AddStaticVehicle(407,1763.3262,2077.9268,11.0562,180.8404,3,1); //

AddStaticVehicle(407,1750.8422,2076.3467,11.0557,0.8153,3,1); //

AddStaticVehicle(416,1594.6565,1849.6812,10.9688,182.2974,1,3); //

AddStaticVehicle(599,2302.2661,2424.1140,11.0109,269.2160,0,1); //

AddStaticVehicle(599,2280.7603,2424.3533,11.0174,89.8476,0,1); //

AddStaticVehicle(599,2294.9111,2424.0576,11.0138,272.1304,0,1); //

AddStaticVehicle(601,2246.6499,2430.4966,3.0326,181.2710,1,1); //

AddStaticVehicle(601,2267.6643,2431.3625,3.0322,359.7316,1,1); //

AddStaticVehicle(425,1638.4706,3241.4294,13.5512,271.7858,43,0); //

AddStaticVehicle(400,2310.4810,1792.6790,10.9126,180.2968,75,1); //

CreateObject(5296,1514.692,2881.522,15.350,0.0,0.0,-90.000);

CreateObject(5112,1514.726,3012.823,15.922,0.0,0.0,-90.000);

CreateObject(5296,1514.746,3136.291,15.109,0.0,0.0,-270.000);

CreateObject(624,1485.777,2787.628,8.827,0.0,0.0,-236.250);

CreateObject(624,1485.275,2773.771,9.035,0.0,0.0,-236.250);

CreateObject(624,1485.210,2758.547,8.960,0.0,0.0,-236.250);

CreateObject(749,1474.328,2810.929,9.830,0.0,0.0,-33.750);

CreateObject(749,1498.214,2809.656,9.830,0.0,0.0,-180.000);

CreateObject(789,1525.081,2747.974,23.420,0.0,0.0,0.0);

CreateObject(789,1518.199,2797.240,23.420,0.0,0.0,-202.500);

CreateObject(7474,1425.101,3243.099,9.565,0.0,0.0,0.0);

CreateObject(7474,1425.086,3243.102,9.563,0.0,0.0,-180.000);

CreateObject(7474,1584.866,3263.127,9.544,0.0,0.0,-90.000);

CreateObject(7474,1584.924,3263.145,9.543,0.0,0.0,-270.000);

CreateObject(7474,1424.962,3283.146,9.563,0.0,0.0,-180.000);

CreateObject(4847,1500.413,3138.114,0.159,0.0,0.0,0.0);

CreateObject(4844,1690.495,3371.743,-1.367,0.0,0.0,90.000);

CreateObject(4847,1501.875,3396.307,0.267,0.0,0.0,-180.000);

CreateObject(3330,1515.144,3059.875,8.866,0.0,0.0,0.0);

CreateObject(3330,1514.834,2950.188,8.853,0.0,0.0,0.0);

CreateObject(8147,1597.728,3173.493,12.525,0.0,0.0,-90.000);

CreateObject(8147,1670.390,3246.120,12.540,0.0,0.0,0.0);

CreateObject(8147,1431.824,3173.444,12.666,0.0,0.0,-90.000);

CreateObject(8147,1335.469,3245.634,12.666,0.0,0.0,-180.000);

CreateObject(8151,1374.372,3321.673,13.929,0.0,0.0,90.000);

CreateObject(8151,1639.517,3313.540,13.911,0.0,0.0,0.0);

CreateObject(8150,1547.554,3353.313,12.645,0.0,0.0,-180.000);

CreateObject(8150,1447.639,3353.352,12.634,0.0,0.0,-180.000);

CreateObject(8154,1376.800,3200.145,12.666,0.0,0.0,-90.000);

CreateObject(6522,1515.166,3312.135,17.795,0.0,0.0,-450.000);

CreateObject(3279,1498.462,3179.165,9.340,0.0,0.0,-270.000);

CreateObject(3279,1529.639,3179.158,9.245,0.0,0.0,-270.000);

CreateObject(8947,1642.590,3332.396,12.572,0.0,0.0,-90.000);

CreateObject(8947,1642.601,3332.381,18.654,0.0,0.0,-90.000);

CreateObject(8947,1642.611,3332.345,21.185,0.0,0.0,-90.000);

CreateObject(3604,1635.288,3332.299,23.847,0.0,0.0,-270.000);

CreateObject(3604,1649.914,3332.349,23.897,0.0,0.0,-450.000);

CreateObject(6965,1515.241,3232.031,13.232,0.0,0.0,0.0);

CreateObject(3525,1511.823,3281.583,14.509,0.0,0.0,0.0);

CreateObject(3525,1517.989,3281.640,14.507,0.0,0.0,0.0);

CreateObject(744,1500.686,3169.527,9.210,0.0,0.0,-90.000);

CreateObject(744,1527.977,3169.795,9.135,0.0,0.0,-326.250);

CreateObject(736,1510.088,3327.953,20.563,0.0,0.0,0.0);

CreateObject(736,1519.466,3328.195,20.495,0.0,0.0,-78.750);

CreateObject(8647,1510.309,3271.430,10.368,0.0,0.0,-180.000);

CreateObject(8647,1519.547,3271.486,10.297,0.0,0.0,-180.000);

CreateObject(8647,1531.819,3248.636,10.297,0.0,0.0,-123.750);

CreateObject(8647,1498.088,3248.611,10.318,0.0,0.0,-236.250);

CreateObject(8647,1523.746,3191.113,10.147,0.0,0.0,-360.000);

CreateObject(8647,1505.721,3191.076,10.193,0.0,0.0,-360.000);

CreateObject(8647,1534.251,3216.196,10.272,0.0,0.0,-405.000);

CreateObject(8647,1495.189,3216.184,10.368,0.0,0.0,-315.000);

CreateObject(8652,1543.907,3255.344,10.435,0.0,0.0,-90.000);

CreateObject(8652,1485.838,3255.310,10.455,0.0,0.0,-90.000);

CreateObject(8652,1543.887,3285.007,10.485,0.0,0.0,-90.000);

CreateObject(8652,1485.851,3284.865,10.505,0.0,0.0,-90.000);

CreateObject(8652,1544.794,3211.608,10.360,0.0,0.0,-270.000);

CreateObject(8652,1484.880,3211.756,10.455,0.0,0.0,-270.000);

CreateObject(6965,1515.234,3232.053,12.763,0.0,0.0,0.0);

CreateObject(8674,1630.428,3342.730,11.011,0.0,0.0,-90.000);

CreateObject(8674,1630.391,3347.866,11.011,0.0,0.0,-90.000);

CreateObject(621,1520.531,3257.425,3.948,0.0,0.0,-67.500);

CreateObject(621,1520.537,3267.846,4.323,0.0,0.0,-101.250);

CreateObject(621,1520.672,3277.745,4.248,0.0,0.0,-11.250);

CreateObject(621,1508.426,3257.475,4.668,0.0,0.0,-11.250);

CreateObject(621,1508.226,3267.399,4.368,0.0,0.0,-11.250);

CreateObject(621,1508.363,3277.916,4.018,0.0,0.0,-11.250);

CreateObject(621,1532.013,3250.686,3.498,0.0,0.0,-67.500);

CreateObject(621,1541.795,3244.051,3.023,0.0,0.0,-67.500);

CreateObject(621,1497.258,3250.844,4.168,0.0,0.0,-67.500);

CreateObject(621,1487.616,3244.166,3.943,0.0,0.0,-67.500);

CreateObject(621,1525.093,3204.874,4.423,0.0,0.0,0.0);

CreateObject(621,1534.940,3214.189,3.898,0.0,0.0,0.0);

CreateObject(621,1542.902,3222.216,3.748,0.0,0.0,0.0);

CreateObject(621,1503.934,3204.998,4.943,0.0,0.0,0.0);

CreateObject(621,1494.516,3214.378,4.193,0.0,0.0,0.0);

CreateObject(621,1486.157,3222.779,3.893,0.0,0.0,0.0);

CreateObject(638,1510.841,3275.918,10.212,0.0,0.0,0.0);

CreateObject(638,1510.888,3268.266,10.212,0.0,0.0,0.0);

CreateObject(638,1510.865,3260.723,10.212,0.0,0.0,0.0);

CreateObject(638,1518.958,3260.698,10.166,0.0,0.0,0.0);

CreateObject(638,1518.927,3268.386,10.191,0.0,0.0,0.0);

CreateObject(638,1518.949,3275.976,10.191,0.0,0.0,0.0);

CreateObject(638,1523.146,3202.019,10.141,0.0,0.0,0.0);

CreateObject(638,1523.154,3194.106,10.141,0.0,0.0,0.0);

CreateObject(638,1523.158,3186.705,10.116,0.0,0.0,0.0);

CreateObject(638,1506.290,3186.690,10.212,0.0,0.0,0.0);

CreateObject(638,1506.345,3194.391,10.187,0.0,0.0,0.0);

CreateObject(638,1506.299,3201.758,10.162,0.0,0.0,0.0);

CreateObject(640,1508.041,3254.568,10.187,0.0,0.0,-56.250);

CreateObject(640,1502.311,3250.709,10.212,0.0,0.0,-56.250);

CreateObject(640,1495.755,3246.344,10.212,0.0,0.0,-56.250);

CreateObject(640,1489.414,3242.160,10.212,0.0,0.0,-56.250);

CreateObject(640,1521.646,3254.764,10.141,0.0,0.0,-123.750);

CreateObject(640,1527.665,3250.714,10.191,0.0,0.0,-123.750);

CreateObject(640,1534.058,3246.435,10.191,0.0,0.0,-123.750);

CreateObject(640,1540.596,3242.137,10.191,0.0,0.0,-123.750);

CreateObject(640,1503.858,3208.290,10.212,0.0,0.0,-135.000);

CreateObject(640,1498.846,3213.326,10.212,0.0,0.0,-135.000);

CreateObject(640,1493.446,3218.775,10.187,0.0,0.0,-135.000);

CreateObject(640,1487.806,3224.377,10.212,0.0,0.0,-135.000);

CreateObject(640,1525.626,3208.381,10.191,0.0,0.0,-225.000);

CreateObject(640,1530.698,3213.435,10.191,0.0,0.0,-225.000);

CreateObject(640,1536.223,3218.892,10.191,0.0,0.0,-225.000);

CreateObject(640,1541.547,3224.269,10.116,0.0,0.0,-225.000);

CreateObject(646,1512.544,3288.533,10.931,0.0,0.0,-78.750);

CreateObject(646,1517.090,3288.583,10.911,0.0,0.0,0.0);

CreateObject(9241,1637.874,3211.320,11.201,0.0,0.0,0.0);

CreateObject(9241,1637.812,3241.702,11.151,0.0,0.0,0.0);

CreateObject(1635,1633.320,3324.522,14.068,0.0,0.0,90.000);

CreateObject(14447,1647.328,3321.031,14.225,0.0,0.0,0.0);

CreateObject(14447,1658.813,3324.563,14.245,0.0,0.0,90.000);

CreateObject(983,1658.133,3332.135,14.621,0.0,0.0,-90.000);

CreateObject(983,1659.743,3332.125,14.621,0.0,0.0,-90.000);

CreateObject(16098,1371.466,3331.131,14.151,0.0,0.0,-90.000);

CreateObject(3279,1341.456,3179.525,9.265,0.0,0.0,90.000);

CreateObject(3279,1664.251,3179.363,9.235,0.0,0.0,-180.000);

CreateObject(629,1629.658,3325.240,9.453,0.0,0.0,-56.250);

CreateObject(629,1629.627,3336.541,9.553,0.0,0.0,-56.250);

CreateObject(1215,1517.347,3222.553,10.109,0.0,0.0,0.0);

CreateObject(1215,1521.321,3224.556,10.109,0.0,0.0,0.0);

CreateObject(1215,1523.913,3227.776,10.109,0.0,0.0,0.0);

CreateObject(1215,1524.894,3232.063,10.109,0.0,0.0,0.0);

CreateObject(1215,1523.853,3236.269,10.109,0.0,0.0,0.0);

CreateObject(1215,1521.197,3239.593,10.109,0.0,0.0,0.0);

CreateObject(1215,1517.277,3241.406,10.109,0.0,0.0,0.0);

CreateObject(1215,1512.979,3241.386,10.129,0.0,0.0,0.0);

CreateObject(1215,1509.281,3239.516,10.129,0.0,0.0,0.0);

CreateObject(1215,1506.396,3236.159,10.129,0.0,0.0,0.0);

CreateObject(1215,1505.570,3232.065,10.129,0.0,0.0,0.0);

CreateObject(1215,1506.588,3227.857,10.129,0.0,0.0,0.0);

CreateObject(1215,1509.202,3224.530,10.129,0.0,0.0,0.0);

CreateObject(1215,1513.098,3222.577,10.129,0.0,0.0,0.0);

CreateObject(1215,1514.810,3230.211,16.629,0.0,0.0,0.0);

CreateObject(1215,1516.630,3230.720,16.638,0.0,0.0,0.0);

CreateObject(1215,1513.477,3231.601,16.638,0.0,0.0,0.0);

CreateObject(1215,1513.771,3233.188,16.613,0.0,0.0,0.0);

CreateObject(1215,1515.223,3233.839,16.638,0.0,0.0,0.0);

CreateObject(1215,1516.724,3233.182,16.613,0.0,0.0,0.0);

CreateObject(1215,1517.019,3232.012,16.613,0.0,0.0,0.0);

CreateObject(1215,1511.611,3290.000,12.448,0.0,0.0,0.0);

CreateObject(1215,1518.162,3289.932,12.463,0.0,0.0,0.0);

CreateObject(1215,1629.688,3337.344,10.109,0.0,0.0,0.0);

CreateObject(1215,1629.606,3327.551,10.109,0.0,0.0,0.0);

CreateObject(3526,1625.630,3223.366,12.098,0.0,0.0,-180.000);

CreateObject(3526,1626.182,3199.178,12.098,0.0,0.0,-180.000);

CreateObject(3526,1650.049,3199.239,12.098,0.0,0.0,-360.000);

CreateObject(3526,1650.028,3223.223,12.098,0.0,0.0,-360.000);

CreateObject(3526,1650.053,3229.569,12.048,0.0,0.0,-360.000);

CreateObject(3526,1650.026,3253.666,12.048,0.0,0.0,-360.000);

CreateObject(3526,1625.643,3253.772,12.048,0.0,0.0,-180.000);

CreateObject(3526,1626.019,3229.580,12.048,0.0,0.0,-360.000);

CreateObject(1215,1475.315,2809.744,10.285,0.0,0.0,0.0);

CreateObject(1215,1496.801,2809.472,10.335,0.0,0.0,0.0);

CreateObject(1215,1524.057,2835.889,10.585,0.0,0.0,0.0);

CreateObject(1215,1505.324,2835.817,10.586,0.0,0.0,0.0);

CreateObject(1215,1505.359,2839.522,10.500,0.0,0.0,0.0);

CreateObject(1215,1505.362,2843.219,10.781,0.0,0.0,0.0);

CreateObject(1215,1524.039,2839.295,10.503,0.0,0.0,0.0);

CreateObject(1215,1524.038,2843.087,10.754,0.0,0.0,0.0);

CreateObject(1215,1524.062,2846.743,11.076,0.0,0.0,0.0);

CreateObject(1215,1505.362,2846.923,11.074,0.0,0.0,0.0);

CreateObject(1215,1505.348,2850.360,11.516,0.0,0.0,0.0);

CreateObject(1215,1524.056,2850.336,11.516,0.0,0.0,0.0);

CreateObject(1215,1490.036,2769.047,10.309,0.0,0.0,0.0);

CreateObject(1215,1490.106,2778.410,10.335,0.0,0.0,0.0);

CreateObject(619,1635.241,3347.802,9.694,0.0,0.0,-67.500);

CreateObject(620,1636.248,3347.873,4.292,0.0,0.0,0.0);

CreateObject(621,1526.745,2979.259,10.034,0.0,0.0,0.0);

CreateObject(621,1502.983,2981.191,9.309,0.0,0.0,0.0);

CreateObject(621,1499.307,2956.896,3.575,0.0,0.0,0.0);

CreateObject(621,1530.822,2973.945,15.061,0.0,0.0,0.0);

CreateObject(621,1529.413,2954.454,4.866,0.0,0.0,0.0);

CreateObject(621,1526.121,2963.771,6.473,0.0,0.0,0.0);

CreateObject(621,1499.177,2973.672,5.864,0.0,0.0,0.0);

CreateObject(621,1502.095,2965.751,4.447,0.0,0.0,0.0);

CreateObject(621,1492.459,2960.466,6.585,0.0,0.0,0.0);

CreateObject(621,1489.187,2974.905,14.759,0.0,0.0,0.0);

CreateObject(621,1537.211,2955.575,11.637,0.0,0.0,0.0);

CreateObject(621,1488.701,2966.735,10.857,0.0,0.0,0.0);

CreateObject(621,1533.213,2965.071,12.017,0.0,0.0,0.0);

CreateObject(918,1366.511,3321.412,9.934,0.0,0.0,0.0);

CreateObject(918,1366.668,3321.611,10.585,0.0,0.0,0.0);

CreateObject(918,1366.953,3321.373,9.934,0.0,0.0,0.0);

CreateObject(918,1366.765,3321.813,9.934,0.0,0.0,-22.500);

CreateObject(1825,1515.014,3282.851,13.490,0.0,0.0,-33.750);

CreateObject(3526,1398.893,3301.094,9.631,0.0,0.0,0.0);

CreateObject(3526,1399.000,3286.236,9.633,0.0,0.0,0.0);

CreateObject(3526,1399.002,3271.382,9.633,0.0,0.0,0.0);

CreateObject(3526,1398.967,3256.589,9.633,0.0,0.0,0.0);

CreateObject(3526,1398.957,3241.053,9.633,0.0,0.0,0.0);

CreateObject(3526,1398.969,3224.720,9.633,0.0,0.0,0.0);

CreateObject(3526,1379.127,3224.335,9.633,0.0,0.0,-180.000);

CreateObject(3526,1379.236,3241.194,9.633,0.0,0.0,-180.000);

CreateObject(3526,1379.101,3257.204,9.631,0.0,0.0,-180.000);

CreateObject(3526,1379.156,3271.319,9.631,0.0,0.0,-180.000);

CreateObject(3526,1379.165,3286.811,9.631,0.0,0.0,-180.000);

CreateObject(3526,1379.134,3301.380,9.631,0.0,0.0,-180.000);

CreateObject(3526,1365.370,3301.632,9.633,0.0,0.0,0.0);

CreateObject(3526,1365.402,3286.989,9.633,0.0,0.0,0.0);

CreateObject(3526,1365.400,3271.695,9.633,0.0,0.0,0.0);

CreateObject(3526,1365.367,3241.019,9.631,0.0,0.0,0.0);

CreateObject(3526,1365.370,3256.790,9.633,0.0,0.0,0.0);

CreateObject(3526,1365.354,3224.200,9.633,0.0,0.0,0.0);

CreateObject(3526,1344.707,3302.521,9.633,0.0,0.0,-180.000);

CreateObject(3526,1344.715,3224.124,9.633,0.0,0.0,-180.000);

CreateObject(3526,1344.707,3241.549,9.631,0.0,0.0,-180.000);

CreateObject(3526,1344.722,3258.234,9.633,0.0,0.0,-180.000);

CreateObject(3526,1344.729,3287.730,9.633,0.0,0.0,-180.000);

CreateObject(3526,1344.714,3272.202,9.633,0.0,0.0,-180.000);

pickup = CreatePickup(1318,1,1514.933,3288.681,11.170);

pickup2 = CreatePickup(1318,1,225.7199,1023.5774,1084.0115);

brana = CreateObject(980,1508.980,3173.049,12.534,0.0,0.0,-180.000);

brana2 = CreateObject(980,1520.484,3173.021,12.542,0.0,0.0,0.0);

vytah = CreateObject(18284,1621.106,3332.425,6.639,0.0,0.0,-90.000);

zabrana = CreateObject(996,1630.412,3329.120,16.383007,0.0,0.0,90.000);

svetlo1 = MoveObject(1215,1517.347,3222.553,10.109,0.0,0.0,0.0);

svetlo2 = MoveObject(1215,1521.321,3224.556,10.109,0.0,0.0,0.0);

svetlo3 = MoveObject(1215,1523.913,3227.776,10.109,0.0,0.0,0.0);

svetlo4 = MoveObject(1215,1524.894,3232.063,10.109,0.0,0.0,0.0);

svetlo5 = MoveObject(1215,1523.853,3236.269,10.109,0.0,0.0,0.0);

svetlo6 = MoveObject(1215,1521.197,3239.593,10.109,0.0,0.0,0.0);

svetlo7 = MoveObject(1215,1517.277,3241.406,10.109,0.0,0.0,0.0);

svetlo8 = MoveObject(1215,1512.979,3241.386,10.129,0.0,0.0,0.0);

svetlo9 = MoveObject(1215,1509.281,3239.516,10.129,0.0,0.0,0.0);

svetlo10 = MoveObject(1215,1506.396,3236.159,10.129,0.0,0.0,0.0);

svetlo11 = MoveObject(1215,1505.570,3232.065,10.129,0.0,0.0,0.0);

svetlo12 = MoveObject(1215,1506.588,3227.857,10.129,0.0,0.0,0.0);

svetlo13 = MoveObject(1215,1509.202,3224.530,10.129,0.0,0.0,0.0);

svetlo14 = MoveObject(1215,1513.098,3222.577,10.129,0.0,0.0,0.0);

svetlo15 = MoveObject(1215,1514.810,3230.211,16.629,0.0,0.0,0.0);

svetlo16 = MoveObject(1215,1516.630,3230.720,16.638,0.0,0.0,0.0);

svetlo17 = MoveObject(1215,1513.477,3231.601,16.638,0.0,0.0,0.0);

svetlo18 = MoveObject(1215,1513.771,3233.188,16.613,0.0,0.0,0.0);

svetlo19 = MoveObject(1215,1515.223,3233.839,16.638,0.0,0.0,0.0);

svetlo20 = MoveObject(1215,1516.724,3233.182,16.613,0.0,0.0,0.0);

svetlo21 = MoveObject(1215,1517.019,3232.012,16.613,0.0,0.0,0.0);

svetlo22 = MoveObject(1215,1511.611,3290.000,12.448,0.0,0.0,0.0);

svetlo23 = MoveObject(1215,1518.162,3289.932,12.463,0.0,0.0,0.0);

svetlo24 = MoveObject(1215,1629.688,3337.344,10.109,0.0,0.0,0.0);

svetlo25 = MoveObject(1215,1629.606,3327.551,10.109,0.0,0.0,0.0);

 

return 1;

}

 

public OnGameModeExit()

{

return 1;

}

 

public OnPlayerRequestClass(playerid, classid)

{

SetPlayerPos(playerid, 1958.3783, 1343.1572, 15.3746);

SetPlayerCameraPos(playerid, 1958.3783, 1343.1572, 15.3746);

SetPlayerCameraLookAt(playerid, 1958.3783, 1343.1572, 15.3746);

AddPlayerClass(playerid,1958.6981,1342.7739,15.3746,270.1700,0,0,0,0,0,0); //

 

return 1;

}

 

public OnPlayerRequestSpawn(playerid)

{

return 1;

}

 

public OnPlayerConnect(playerid)

{

AddPlayerClass(playerid,1959.7360,1344.1633,15.3746,270.1465,0,0,0,0,0,0); //

 

return 1;

}

 

public OnPlayerDisconnect(playerid, reason)

{

return 1;

}

 

public OnPlayerSpawn(playerid)

{

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 OnPlayerPrivmsg(playerid, recieverid, text[])

{

return 1;

}

 

public OnPlayerCommandText(playerid, cmdtext[])

{

if (strcmp("/mycommand", cmdtext, true, 10) == 0)

{

// Do something here

return 1;

}

 

if(strcmp(cmdtext, "/zavrit", true) == 0)

if(IsPlayerAdmin(playerid))

{

MoveObject(brana, 1508.980103,3173.048584,12.508974, 1);

MoveObject(brana2, 1520.484009,3173.020752,12.541506, 1);

SendClientMessage(playerid, 0x33AA33AA,"!!! Hlavní brána se zavírá !!!");

return 1;

}

 

if(strcmp(cmdtext, "/otevrit", true) == 0)

if(IsPlayerAdmin(playerid))

{

MoveObject(brana, 1499.00488,3173.0989,12.508974, 1);

MoveObject(brana2, 1530.358652,3173.020752,12.541506, 1);

SendClientMessage(playerid, 0x33AA33AA,"!!! Hlavní brána se otevírá !!!");

return 1;

}

if(strcmp(cmdtext, "/dolu", true) == 0)

if(IsPlayerAdmin(playerid))

{

MoveObject(vytah, 1621.106,3332.425,6.639, 1);

MoveObject(zabrana, 1630.412,3329.120,16.383007,0.3);

SendClientMessage(playerid, 0x33AA33AA,"!!! Výtah jede dolů !!!");

return 1;

}

 

if(strcmp(cmdtext, "/nahoru", true) == 0)

if(IsPlayerAdmin(playerid))

{

MoveObject(vytah, 1621.106,3332.425,12.664262, 1);

MoveObject(zabrana, 1630.412,3329.120,15.208,0.3);

SendClientMessage(playerid, 0x33AA33AA,"!!! Výtah jede nahoru !!!");

return 1;

}

if(strcmp(cmdtext, "/zapnout", true) == 0)

if(IsPlayerAdmin(playerid))

{

MoveObject(svetlo1, 1215,1517.347,3222.553,10.109, 1);

MoveObject(svetlo2, 1215,1521.321,3224.556,10.109, 1);

MoveObject(svetlo3, 1215,1523.913,3227.776,10.109, 1);

MoveObject(svetlo4, 1215,1524.894,3232.063,10.109, 1);

MoveObject(svetlo5, 1215,1523.853,3236.269,10.109, 1);

MoveObject(svetlo6, 1215,1521.197,3239.593,10.109, 1);

MoveObject(svetlo7, 1215,1517.277,3241.406,10.109, 1);

MoveObject(svetlo8, 1215,1512.979,3241.386,10.129, 1);

MoveObject(svetlo9, 1215,1509.281,3239.516,10.129, 1);

MoveObject(svetlo10, 1215,1506.396,3236.159,10.129, 1);

MoveObject(svetlo11, 1215,1505.570,3232.065,10.129, 1);

MoveObject(svetlo12, 1215,1506.588,3227.857,10.129, 1);

MoveObject(svetlo13, 1215,1509.202,3224.530,10.129, 1);

MoveObject(svetlo14, 1215,1513.098,3222.577,10.129, 1);

MoveObject(svetlo15, 1215,1514.810,3230.211,16.629, 1);

MoveObject(svetlo16, 1215,1516.630,3230.720,16.638, 1);

MoveObject(svetlo17, 1215,1513.477,3231.601,16.638, 1);

MoveObject(svetlo18, 1215,1513.771,3233.188,16.613, 1);

MoveObject(svetlo19, 1215,1515.223,3233.839,16.638, 1);

MoveObject(svetlo20, 1215,1516.724,3233.182,16.613, 1);

MoveObject(svetlo21, 1215,1517.019,3232.012,16.613, 1);

MoveObject(svetlo22, 1215,1511.611,3290.000,12.448, 1);

MoveObject(svetlo23, 1215,1518.162,3289.932,12.463, 1);

MoveObject(svetlo24, 1215,1629.688,3337.344,10.109, 1);

MoveObject(svetlo25, 1215,1629.606,3327.551,10.109, 1);

SendClientMessage(playerid, 0x33AA33AA,"!!! Světla jsou zapnutá !!!");

return 1;

}

 

if(strcmp(cmdtext, "/vypnout", true) == 0)

if(IsPlayerAdmin(playerid))

{

MoveObject(svetlo1, 1215,1517.347,3222.553,3.083763, 1);

MoveObject(svetlo2, 1215,1521.321,3224.556,3.083763, 1);

MoveObject(svetlo3, 1215,1523.913,3227.776,3.083763, 1);

MoveObject(svetlo4, 1215,1524.894,3232.063,3.083763, 1);

MoveObject(svetlo5, 1215,1523.853,3236.269,3.083763, 1);

MoveObject(svetlo6, 1215,1521.197,3239.593,3.083763, 1);

MoveObject(svetlo7, 1215,1517.277,3241.406,3.083763, 1);

MoveObject(svetlo8, 1215,1512.979,3241.386,3.083763, 1);

MoveObject(svetlo9, 1215,1509.281,3239.516,3.083763, 1);

MoveObject(svetlo10, 1215,1506.396,3236.159,3.083763, 1);

MoveObject(svetlo11, 1215,1505.570,3232.065,3.083763, 1);

MoveObject(svetlo12, 1215,1506.588,3227.857,3.083763, 1);

MoveObject(svetlo13, 1215,1509.202,3224.530,3.083763, 1);

MoveObject(svetlo14, 1215,1513.098,3222.577,3.083763, 1);

MoveObject(svetlo15, 1215,1514.810,3230.211,3.083763, 1);

MoveObject(svetlo16, 1215,1516.630,3230.720,3.083763, 1);

MoveObject(svetlo17, 1215,1513.477,3231.601,3.083763, 1);

MoveObject(svetlo18, 1215,1513.771,3233.188,3.083763, 1);

MoveObject(svetlo19, 1215,1515.223,3233.839,3.083763, 1);

MoveObject(svetlo20, 1215,1516.724,3233.182,3.083763, 1);

MoveObject(svetlo21, 1215,1517.019,3232.012,3.083763, 1);

MoveObject(svetlo22, 1215,1511.611,3290.000,3.083763, 1);

MoveObject(svetlo23, 1215,1518.162,3289.932,3.083763, 1);

MoveObject(svetlo24, 1215,1629.688,3337.344,3.083763, 1);

MoveObject(svetlo25, 1215,1629.606,3327.551,3.083763, 1);

SendClientMessage(playerid, 0x33AA33AA,"!!! Světla jsou vypnutá !!!");

return 1;

}

return 0;

}

 

public OnPlayerInfoChange(playerid)

{

return 1;

}

 

public OnPlayerEnterVehicle(playerid, vehicleid, ispassenger)

{

return 1;

}

 

public OnPlayerExitVehicle(playerid, vehicleid)

{

return 1;

}

 

public OnPlayerStateChange(playerid, newstate, oldstate)

{

return 1;

}

 

public OnPlayerEnterCheckpoint(playerid)

{

return 1;

}

 

public OnPlayerLeaveCheckpoint(playerid)

{

return 1;

}

 

public OnPlayerEnterRaceCheckpoint(playerid)

{

return 1;

}

 

public OnPlayerLeaveRaceCheckpoint(playerid)

{

return 1;

}

 

public OnRconCommand(cmd[])

{

return 1;

}

 

public OnObjectMoved(objectid)

{

return 1;

}

 

public OnPlayerObjectMoved(playerid, objectid)

{

return 1;

}

 

public OnPlayerPickUpPickup(playerid, pickupid)

{

if(pickupid == pickup)

{

SetPlayerPos(playerid,226.7565,1026.5244,1084.0109);

SetPlayerInterior(playerid,7);

}

 

if(pickupid == pickup2)

{

SetPlayerPos(playerid,1514.1743,3275.3508,12.5650);

SetPlayerInterior(playerid,0);

}

return 1;

}

 

public OnPlayerSelectedMenuRow(playerid, row)

{

return 1;

}

 

public OnPlayerExitedMenu(playerid)

{

return 1;

}

 

 

ERROR

 

C:\Documents and Settings\Lukáš\Plocha\SA-MP Server\gamemodes\AOstrov.pwn(348) : warning 202: number of arguments does not match definition

C:\Documents and Settings\Lukáš\Plocha\SA-MP Server\gamemodes\AOstrov.pwn(348) : warning 202: number of arguments does not match definition

C:\Documents and Settings\Lukáš\Plocha\SA-MP Server\gamemodes\AOstrov.pwn(349) : warning 202: number of arguments does not match definition

C:\Documents and Settings\Lukáš\Plocha\SA-MP Server\gamemodes\AOstrov.pwn(349) : warning 202: number of arguments does not match definition

C:\Documents and Settings\Lukáš\Plocha\SA-MP Server\gamemodes\AOstrov.pwn(350) : warning 202: number of arguments does not match definition

C:\Documents and Settings\Lukáš\Plocha\SA-MP Server\gamemodes\AOstrov.pwn(350) : warning 202: number of arguments does not match definition

C:\Documents and Settings\Lukáš\Plocha\SA-MP Server\gamemodes\AOstrov.pwn(351) : warning 202: number of arguments does not match definition

C:\Documents and Settings\Lukáš\Plocha\SA-MP Server\gamemodes\AOstrov.pwn(351) : warning 202: number of arguments does not match definition

C:\Documents and Settings\Lukáš\Plocha\SA-MP Server\gamemodes\AOstrov.pwn(352) : warning 202: number of arguments does not match definition

C:\Documents and Settings\Lukáš\Plocha\SA-MP Server\gamemodes\AOstrov.pwn(352) : warning 202: number of arguments does not match definition

C:\Documents and Settings\Lukáš\Plocha\SA-MP Server\gamemodes\AOstrov.pwn(353) : warning 202: number of arguments does not match definition

C:\Documents and Settings\Lukáš\Plocha\SA-MP Server\gamemodes\AOstrov.pwn(353) : warning 202: number of arguments does not match definition

C:\Documents and Settings\Lukáš\Plocha\SA-MP Server\gamemodes\AOstrov.pwn(354) : warning 202: number of arguments does not match definition

C:\Documents and Settings\Lukáš\Plocha\SA-MP Server\gamemodes\AOstrov.pwn(354) : warning 202: number of arguments does not match definition

C:\Documents and Settings\Lukáš\Plocha\SA-MP Server\gamemodes\AOstrov.pwn(355) : warning 202: number of arguments does not match definition

C:\Documents and Settings\Lukáš\Plocha\SA-MP Server\gamemodes\AOstrov.pwn(355) : warning 202: number of arguments does not match definition

C:\Documents and Settings\Lukáš\Plocha\SA-MP Server\gamemodes\AOstrov.pwn(356) : warning 202: number of arguments does not match definition

C:\Documents and Settings\Lukáš\Plocha\SA-MP Server\gamemodes\AOstrov.pwn(356) : warning 202: number of arguments does not match definition

C:\Documents and Settings\Lukáš\Plocha\SA-MP Server\gamemodes\AOstrov.pwn(357) : warning 202: number of arguments does not match definition

C:\Documents and Settings\Lukáš\Plocha\SA-MP Server\gamemodes\AOstrov.pwn(357) : warning 202: number of arguments does not match definition

C:\Documents and Settings\Lukáš\Plocha\SA-MP Server\gamemodes\AOstrov.pwn(358) : warning 202: number of arguments does not match definition

C:\Documents and Settings\Lukáš\Plocha\SA-MP Server\gamemodes\AOstrov.pwn(358) : warning 202: number of arguments does not match definition

C:\Documents and Settings\Lukáš\Plocha\SA-MP Server\gamemodes\AOstrov.pwn(359) : warning 202: number of arguments does not match definition

C:\Documents and Settings\Lukáš\Plocha\SA-MP Server\gamemodes\AOstrov.pwn(359) : warning 202: number of arguments does not match definition

C:\Documents and Settings\Lukáš\Plocha\SA-MP Server\gamemodes\AOstrov.pwn(360) : warning 202: number of arguments does not match definition

C:\Documents and Settings\Lukáš\Plocha\SA-MP Server\gamemodes\AOstrov.pwn(360) : warning 202: number of arguments does not match definition

C:\Documents and Settings\Lukáš\Plocha\SA-MP Server\gamemodes\AOstrov.pwn(361) : warning 202: number of arguments does not match definition

C:\Documents and Settings\Lukáš\Plocha\SA-MP Server\gamemodes\AOstrov.pwn(361) : warning 202: number of arguments does not match definition

C:\Documents and Settings\Lukáš\Plocha\SA-MP Server\gamemodes\AOstrov.pwn(362) : warning 202: number of arguments does not match definition

C:\Documents and Settings\Lukáš\Plocha\SA-MP Server\gamemodes\AOstrov.pwn(362) : warning 202: number of arguments does not match definition

C:\Documents and Settings\Lukáš\Plocha\SA-MP Server\gamemodes\AOstrov.pwn(363) : warning 202: number of arguments does not match definition

C:\Documents and Settings\Lukáš\Plocha\SA-MP Server\gamemodes\AOstrov.pwn(363) : warning 202: number of arguments does not match definition

C:\Documents and Settings\Lukáš\Plocha\SA-MP Server\gamemodes\AOstrov.pwn(364) : warning 202: number of arguments does not match definition

C:\Documents and Settings\Lukáš\Plocha\SA-MP Server\gamemodes\AOstrov.pwn(364) : warning 202: number of arguments does not match definition

C:\Documents and Settings\Lukáš\Plocha\SA-MP Server\gamemodes\AOstrov.pwn(365) : warning 202: number of arguments does not match definition

C:\Documents and Settings\Lukáš\Plocha\SA-MP Server\gamemodes\AOstrov.pwn(365) : warning 202: number of arguments does not match definition

C:\Documents and Settings\Lukáš\Plocha\SA-MP Server\gamemodes\AOstrov.pwn(366) : warning 202: number of arguments does not match definition

C:\Documents and Settings\Lukáš\Plocha\SA-MP Server\gamemodes\AOstrov.pwn(366) : warning 202: number of arguments does not match definition

C:\Documents and Settings\Lukáš\Plocha\SA-MP Server\gamemodes\AOstrov.pwn(367) : warning 202: number of arguments does not match definition

C:\Documents and Settings\Lukáš\Plocha\SA-MP Server\gamemodes\AOstrov.pwn(367) : warning 202: number of arguments does not match definition

C:\Documents and Settings\Lukáš\Plocha\SA-MP Server\gamemodes\AOstrov.pwn(368) : warning 202: number of arguments does not match definition

C:\Documents and Settings\Lukáš\Plocha\SA-MP Server\gamemodes\AOstrov.pwn(368) : warning 202: number of arguments does not match definition

C:\Documents and Settings\Lukáš\Plocha\SA-MP Server\gamemodes\AOstrov.pwn(369) : warning 202: number of arguments does not match definition

C:\Documents and Settings\Lukáš\Plocha\SA-MP Server\gamemodes\AOstrov.pwn(369) : warning 202: number of arguments does not match definition

C:\Documents and Settings\Lukáš\Plocha\SA-MP Server\gamemodes\AOstrov.pwn(370) : warning 202: number of arguments does not match definition

C:\Documents and Settings\Lukáš\Plocha\SA-MP Server\gamemodes\AOstrov.pwn(370) : warning 202: number of arguments does not match definition

C:\Documents and Settings\Lukáš\Plocha\SA-MP Server\gamemodes\AOstrov.pwn(371) : warning 202: number of arguments does not match definition

C:\Documents and Settings\Lukáš\Plocha\SA-MP Server\gamemodes\AOstrov.pwn(371) : warning 202: number of arguments does not match definition

C:\Documents and Settings\Lukáš\Plocha\SA-MP Server\gamemodes\AOstrov.pwn(372) : warning 202: number of arguments does not match definition

C:\Documents and Settings\Lukáš\Plocha\SA-MP Server\gamemodes\AOstrov.pwn(372) : warning 202: number of arguments does not match definition

C:\Documents and Settings\Lukáš\Plocha\SA-MP Server\gamemodes\AOstrov.pwn(484) : warning 202: number of arguments does not match definition

C:\Documents and Settings\Lukáš\Plocha\SA-MP Server\gamemodes\AOstrov.pwn(485) : warning 202: number of arguments does not match definition

C:\Documents and Settings\Lukáš\Plocha\SA-MP Server\gamemodes\AOstrov.pwn(486) : warning 202: number of arguments does not match definition

C:\Documents and Settings\Lukáš\Plocha\SA-MP Server\gamemodes\AOstrov.pwn(487) : warning 202: number of arguments does not match definition

C:\Documents and Settings\Lukáš\Plocha\SA-MP Server\gamemodes\AOstrov.pwn(488) : warning 202: number of arguments does not match definition

C:\Documents and Settings\Lukáš\Plocha\SA-MP Server\gamemodes\AOstrov.pwn(489) : warning 202: number of arguments does not match definition

C:\Documents and Settings\Lukáš\Plocha\SA-MP Server\gamemodes\AOstrov.pwn(490) : warning 202: number of arguments does not match definition

C:\Documents and Settings\Lukáš\Plocha\SA-MP Server\gamemodes\AOstrov.pwn(491) : warning 202: number of arguments does not match definition

C:\Documents and Settings\Lukáš\Plocha\SA-MP Server\gamemodes\AOstrov.pwn(492) : warning 202: number of arguments does not match definition

C:\Documents and Settings\Lukáš\Plocha\SA-MP Server\gamemodes\AOstrov.pwn(493) : warning 202: number of arguments does not match definition

C:\Documents and Settings\Lukáš\Plocha\SA-MP Server\gamemodes\AOstrov.pwn(494) : warning 202: number of arguments does not match definition

C:\Documents and Settings\Lukáš\Plocha\SA-MP Server\gamemodes\AOstrov.pwn(495) : warning 202: number of arguments does not match definition

C:\Documents and Settings\Lukáš\Plocha\SA-MP Server\gamemodes\AOstrov.pwn(496) : warning 202: number of arguments does not match definition

C:\Documents and Settings\Lukáš\Plocha\SA-MP Server\gamemodes\AOstrov.pwn(497) : warning 202: number of arguments does not match definition

C:\Documents and Settings\Lukáš\Plocha\SA-MP Server\gamemodes\AOstrov.pwn(498) : warning 202: number of arguments does not match definition

C:\Documents and Settings\Lukáš\Plocha\SA-MP Server\gamemodes\AOstrov.pwn(499) : warning 202: number of arguments does not match definition

C:\Documents and Settings\Lukáš\Plocha\SA-MP Server\gamemodes\AOstrov.pwn(500) : warning 202: number of arguments does not match definition

C:\Documents and Settings\Lukáš\Plocha\SA-MP Server\gamemodes\AOstrov.pwn(501) : warning 202: number of arguments does not match definition

C:\Documents and Settings\Lukáš\Plocha\SA-MP Server\gamemodes\AOstrov.pwn(502) : warning 202: number of arguments does not match definition

C:\Documents and Settings\Lukáš\Plocha\SA-MP Server\gamemodes\AOstrov.pwn(503) : warning 202: number of arguments does not match definition

C:\Documents and Settings\Lukáš\Plocha\SA-MP Server\gamemodes\AOstrov.pwn(504) : warning 202: number of arguments does not match definition

C:\Documents and Settings\Lukáš\Plocha\SA-MP Server\gamemodes\AOstrov.pwn(505) : warning 202: number of arguments does not match definition

C:\Documents and Settings\Lukáš\Plocha\SA-MP Server\gamemodes\AOstrov.pwn(506) : warning 202: number of arguments does not match definition

C:\Documents and Settings\Lukáš\Plocha\SA-MP Server\gamemodes\AOstrov.pwn(507) : warning 202: number of arguments does not match definition

C:\Documents and Settings\Lukáš\Plocha\SA-MP Server\gamemodes\AOstrov.pwn(508) : warning 202: number of arguments does not match definition

C:\Documents and Settings\Lukáš\Plocha\SA-MP Server\gamemodes\AOstrov.pwn(516) : warning 202: number of arguments does not match definition

C:\Documents and Settings\Lukáš\Plocha\SA-MP Server\gamemodes\AOstrov.pwn(517) : warning 202: number of arguments does not match definition

C:\Documents and Settings\Lukáš\Plocha\SA-MP Server\gamemodes\AOstrov.pwn(518) : warning 202: number of arguments does not match definition

C:\Documents and Settings\Lukáš\Plocha\SA-MP Server\gamemodes\AOstrov.pwn(519) : warning 202: number of arguments does not match definition

C:\Documents and Settings\Lukáš\Plocha\SA-MP Server\gamemodes\AOstrov.pwn(520) : warning 202: number of arguments does not match definition

C:\Documents and Settings\Lukáš\Plocha\SA-MP Server\gamemodes\AOstrov.pwn(521) : warning 202: number of arguments does not match definition

C:\Documents and Settings\Lukáš\Plocha\SA-MP Server\gamemodes\AOstrov.pwn(522) : warning 202: number of arguments does not match definition

C:\Documents and Settings\Lukáš\Plocha\SA-MP Server\gamemodes\AOstrov.pwn(523) : warning 202: number of arguments does not match definition

C:\Documents and Settings\Lukáš\Plocha\SA-MP Server\gamemodes\AOstrov.pwn(524) : warning 202: number of arguments does not match definition

C:\Documents and Settings\Lukáš\Plocha\SA-MP Server\gamemodes\AOstrov.pwn(525) : warning 202: number of arguments does not match definition

C:\Documents and Settings\Lukáš\Plocha\SA-MP Server\gamemodes\AOstrov.pwn(526) : warning 202: number of arguments does not match definition

C:\Documents and Settings\Lukáš\Plocha\SA-MP Server\gamemodes\AOstrov.pwn(527) : warning 202: number of arguments does not match definition

C:\Documents and Settings\Lukáš\Plocha\SA-MP Server\gamemodes\AOstrov.pwn(528) : warning 202: number of arguments does not match definition

C:\Documents and Settings\Lukáš\Plocha\SA-MP Server\gamemodes\AOstrov.pwn(529) : warning 202: number of arguments does not match definition

C:\Documents and Settings\Lukáš\Plocha\SA-MP Server\gamemodes\AOstrov.pwn(530) : warning 202: number of arguments does not match definition

C:\Documents and Settings\Lukáš\Plocha\SA-MP Server\gamemodes\AOstrov.pwn(531) : warning 202: number of arguments does not match definition

C:\Documents and Settings\Lukáš\Plocha\SA-MP Server\gamemodes\AOstrov.pwn(532) : warning 202: number of arguments does not match definition

C:\Documents and Settings\Lukáš\Plocha\SA-MP Server\gamemodes\AOstrov.pwn(533) : warning 202: number of arguments does not match definition

C:\Documents and Settings\Lukáš\Plocha\SA-MP Server\gamemodes\AOstrov.pwn(534) : warning 202: number of arguments does not match definition

C:\Documents and Settings\Lukáš\Plocha\SA-MP Server\gamemodes\AOstrov.pwn(535) : warning 202: number of arguments does not match definition

C:\Documents and Settings\Lukáš\Plocha\SA-MP Server\gamemodes\AOstrov.pwn(536) : warning 202: number of arguments does not match definition

C:\Documents and Settings\Lukáš\Plocha\SA-MP Server\gamemodes\AOstrov.pwn(537) : warning 202: number of arguments does not match definition

C:\Documents and Settings\Lukáš\Plocha\SA-MP Server\gamemodes\AOstrov.pwn(538) : warning 202: number of arguments does not match definition

C:\Documents and Settings\Lukáš\Plocha\SA-MP Server\gamemodes\AOstrov.pwn(539) : warning 202: number of arguments does not match definition

C:\Documents and Settings\Lukáš\Plocha\SA-MP Server\gamemodes\AOstrov.pwn(540) : warning 202: number of arguments does not match definition

Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase

 

 

100 Warnings.

 

 

 

 

Link to comment
Share on other sites

  • 0
Guest [*LoNg*]LiFe

zle

if(strcmp(cmdtext, "/nahoru", true) == 0)

if(IsPlayerAdmin(playerid))

{

MoveObject(vytah, 1621.106,3332.425,12.664262, 1);

MoveObject(zabrana, 1630.412,3329.120,15.208,0.3);

SendClientMessage(playerid, 0x33AA33AA,"!!! Výtah jede nahoru !!!");

return 1;

}

 

dobre

if(strcmp(cmdtext, "/nahoru", true) == 0){

if(IsPlayerAdmin(playerid))

{

MoveObject(vytah, 1621.106,3332.425,12.664262, 1);

MoveObject(zabrana, 1630.412,3329.120,15.208,0.3);

SendClientMessage(playerid, 0x33AA33AA,"!!! Výtah jede nahoru !!!");

}

return 1;

}

Link to comment
Share on other sites

  • 0

takze zrobil jsem to a porad nic

 

 

#include

 

#pragma tabsize 0;

 

 

 

 

// This is a comment

// uncomment the line below if you want to write a filterscript

//#define FILTERSCRIPT

 

new brana;

new brana2;

new vytah;

new pickup;

new pickup2;

new zabrana;

new svetlo1;

new svetlo2;

new svetlo3;

new svetlo4;

new svetlo5;

new svetlo6;

new svetlo7;

new svetlo8;

new svetlo9;

new svetlo10;

new svetlo11;

new svetlo12;

new svetlo13;

new svetlo14;

new svetlo15;

new svetlo16;

new svetlo17;

new svetlo18;

new svetlo19;

new svetlo20;

new svetlo21;

new svetlo22;

new svetlo23;

new svetlo24;

new svetlo25;

 

#if defined FILTERSCRIPT

 

public OnFilterScriptInit()

{

print("\n--------------------------------------");

print(" Blank Filterscript by your name here");

print("--------------------------------------\n");

return 1;

}

 

public OnFilterScriptExit()

{

return 1;

}

 

#else

 

main()

{

print("\n----------------------------------");

print(" Blank Gamemode by your name here");

print("----------------------------------\n");

}

 

#endif

 

public OnGameModeInit()

{

AddStaticVehicle(411,2040.0822,1343.0612,10.6033,0.0269,64,1); // infernus

AddStaticVehicle(411,2040.0844,1333.4543,10.6033,0.0266,64,1); // infernus

AddStaticVehicle(411,2040.0842,1352.3610,10.6044,0.0237,64,1); // infernus

AddStaticVehicle(411,1651.2610,3337.4014,10.4753,90.0057,64,1); // infernus

AddStaticVehicle(411,1651.2028,3327.2610,10.4746,89.9893,64,1); // infernus

AddStaticVehicle(432,1649.3235,3327.6619,16.6354,89.9958,43,0); // rhino

AddStaticVehicle(432,1649.2329,3336.6580,16.6344,89.5482,43,0); // rhino

AddStaticVehicle(522,1634.7325,3327.8140,10.1114,91.7404,8,82); // nrg500

AddStaticVehicle(522,1634.7545,3326.4399,10.1123,86.1965,7,79); // nrg500

AddStaticVehicle(522,1634.6051,3337.0859,10.1048,91.9401,6,25); // nrg500

AddStaticVehicle(522,1634.6224,3338.2988,10.1147,92.0462,3,8); // nrg500

AddStaticVehicle(571,1515.9486,3333.8311,9.8277,2.5670,11,22); // kart

AddStaticVehicle(571,1513.7321,3333.7742,9.8366,356.1315,91,2); // kart

AddStaticVehicle(571,1513.6681,3329.4399,9.8466,357.4473,36,2); // kart

AddStaticVehicle(571,1516.1725,3329.5593,9.8271,5.4696,51,53); // kart

AddStaticVehicle(425,1639.2537,3211.5188,13.6012,269.0697,43,0); // hunter

AddStaticVehicle(593,1354.9753,3330.2971,10.9744,180.3935,60,1); // dodo

AddStaticVehicle(593,1388.8971,3331.1091,11.0218,179.7313,58,8); // dodo

AddStaticVehicle(522,2129.5300,1324.9780,10.3889,269.6661,39,106); // nrg-500

AddStaticVehicle(522,2129.5706,1327.7147,10.3875,269.8822,39,106); // nrg-500

AddStaticVehicle(522,2129.7117,1341.6752,10.4058,268.7517,39,106); // nrg-500

AddStaticVehicle(522,2129.1711,1338.7413,10.3956,270.2771,39,106); // nrg-500

AddStaticVehicle(409,1649.9199,3330.5161,10.3440,88.6397,1,1); // stretch

AddStaticVehicle(409,1649.9026,3334.0920,10.3463,90.1572,1,1); // stretch

AddStaticVehicle(409,1462.8153,2782.4155,10.5425,180.3594,1,1); // stretch

AddStaticVehicle(409,1462.8696,2773.4966,10.5433,180.2032,1,1); // stretch

AddStaticVehicle(409,1462.9154,2764.7903,10.5380,181.4383,1,1); // stretch

AddStaticVehicle(422,1422.6890,2855.8718,10.8089,271.3537,101,25); //

AddStaticVehicle(421,1455.7449,2879.0500,10.7028,359.2936,13,1); //

AddStaticVehicle(426,1447.0466,2878.4509,10.5889,179.7936,42,42); //

AddStaticVehicle(405,1465.5651,2846.3298,10.6953,180.1520,24,1); //

AddStaticVehicle(415,1475.2367,2847.2585,10.5791,358.9713,40,1); //

AddStaticVehicle(400,1460.9371,2838.5078,10.9126,180.5673,123,1); //

AddStaticVehicle(419,1479.8291,2838.6707,10.6178,178.9678,47,76); //

AddStaticVehicle(412,1484.5972,2838.8179,10.6958,179.6728,25,8); //

AddStaticVehicle(413,1494.2494,2847.9155,10.9020,0.0111,91,1); //

AddStaticVehicle(426,1589.1827,2577.5771,10.5637,269.6179,7,7); //

AddStaticVehicle(429,1958.4374,2755.2869,10.5000,179.9735,13,13); //

AddStaticVehicle(429,2048.8284,2479.7512,10.5000,359.5080,14,14); //

AddStaticVehicle(431,1998.0682,2484.0637,10.9265,274.4468,47,74); //

AddStaticVehicle(431,1997.7332,2489.0496,10.9236,273.4611,59,83); //

AddStaticVehicle(431,1997.3551,2493.9966,10.9380,272.3698,92,72); //

AddStaticVehicle(431,1977.6630,2472.1338,10.9283,359.5071,55,83); //

AddStaticVehicle(415,2057.2810,2479.6479,10.5782,180.3482,75,1); //

AddStaticVehicle(436,2155.1914,2175.2756,10.4381,358.3367,87,1); //

AddStaticVehicle(420,2119.9429,2174.0081,10.4530,179.4931,6,1); //

AddStaticVehicle(420,2120.0962,2166.2996,10.4541,179.2896,6,1); //

AddStaticVehicle(420,2119.9910,2151.9138,10.4505,179.6915,6,1); //

AddStaticVehicle(420,2119.9985,2158.7876,10.4530,179.6739,6,1); //

AddStaticVehicle(420,2119.9683,2181.8611,10.4524,179.3339,6,1); //

AddStaticVehicle(407,1763.3262,2077.9268,11.0562,180.8404,3,1); //

AddStaticVehicle(407,1750.8422,2076.3467,11.0557,0.8153,3,1); //

AddStaticVehicle(416,1594.6565,1849.6812,10.9688,182.2974,1,3); //

AddStaticVehicle(599,2302.2661,2424.1140,11.0109,269.2160,0,1); //

AddStaticVehicle(599,2280.7603,2424.3533,11.0174,89.8476,0,1); //

AddStaticVehicle(599,2294.9111,2424.0576,11.0138,272.1304,0,1); //

AddStaticVehicle(601,2246.6499,2430.4966,3.0326,181.2710,1,1); //

AddStaticVehicle(601,2267.6643,2431.3625,3.0322,359.7316,1,1); //

AddStaticVehicle(425,1638.4706,3241.4294,13.5512,271.7858,43,0); //

AddStaticVehicle(400,2310.4810,1792.6790,10.9126,180.2968,75,1); //

CreateObject(5296,1514.692,2881.522,15.350,0.0,0.0,-90.000);

CreateObject(5112,1514.726,3012.823,15.922,0.0,0.0,-90.000);

CreateObject(5296,1514.746,3136.291,15.109,0.0,0.0,-270.000);

CreateObject(624,1485.777,2787.628,8.827,0.0,0.0,-236.250);

CreateObject(624,1485.275,2773.771,9.035,0.0,0.0,-236.250);

CreateObject(624,1485.210,2758.547,8.960,0.0,0.0,-236.250);

CreateObject(749,1474.328,2810.929,9.830,0.0,0.0,-33.750);

CreateObject(749,1498.214,2809.656,9.830,0.0,0.0,-180.000);

CreateObject(789,1525.081,2747.974,23.420,0.0,0.0,0.0);

CreateObject(789,1518.199,2797.240,23.420,0.0,0.0,-202.500);

CreateObject(7474,1425.101,3243.099,9.565,0.0,0.0,0.0);

CreateObject(7474,1425.086,3243.102,9.563,0.0,0.0,-180.000);

CreateObject(7474,1584.866,3263.127,9.544,0.0,0.0,-90.000);

CreateObject(7474,1584.924,3263.145,9.543,0.0,0.0,-270.000);

CreateObject(7474,1424.962,3283.146,9.563,0.0,0.0,-180.000);

CreateObject(4847,1500.413,3138.114,0.159,0.0,0.0,0.0);

CreateObject(4844,1690.495,3371.743,-1.367,0.0,0.0,90.000);

CreateObject(4847,1501.875,3396.307,0.267,0.0,0.0,-180.000);

CreateObject(3330,1515.144,3059.875,8.866,0.0,0.0,0.0);

CreateObject(3330,1514.834,2950.188,8.853,0.0,0.0,0.0);

CreateObject(8147,1597.728,3173.493,12.525,0.0,0.0,-90.000);

CreateObject(8147,1670.390,3246.120,12.540,0.0,0.0,0.0);

CreateObject(8147,1431.824,3173.444,12.666,0.0,0.0,-90.000);

CreateObject(8147,1335.469,3245.634,12.666,0.0,0.0,-180.000);

CreateObject(8151,1374.372,3321.673,13.929,0.0,0.0,90.000);

CreateObject(8151,1639.517,3313.540,13.911,0.0,0.0,0.0);

CreateObject(8150,1547.554,3353.313,12.645,0.0,0.0,-180.000);

CreateObject(8150,1447.639,3353.352,12.634,0.0,0.0,-180.000);

CreateObject(8154,1376.800,3200.145,12.666,0.0,0.0,-90.000);

CreateObject(6522,1515.166,3312.135,17.795,0.0,0.0,-450.000);

CreateObject(3279,1498.462,3179.165,9.340,0.0,0.0,-270.000);

CreateObject(3279,1529.639,3179.158,9.245,0.0,0.0,-270.000);

CreateObject(8947,1642.590,3332.396,12.572,0.0,0.0,-90.000);

CreateObject(8947,1642.601,3332.381,18.654,0.0,0.0,-90.000);

CreateObject(8947,1642.611,3332.345,21.185,0.0,0.0,-90.000);

CreateObject(3604,1635.288,3332.299,23.847,0.0,0.0,-270.000);

CreateObject(3604,1649.914,3332.349,23.897,0.0,0.0,-450.000);

CreateObject(6965,1515.241,3232.031,13.232,0.0,0.0,0.0);

CreateObject(3525,1511.823,3281.583,14.509,0.0,0.0,0.0);

CreateObject(3525,1517.989,3281.640,14.507,0.0,0.0,0.0);

CreateObject(744,1500.686,3169.527,9.210,0.0,0.0,-90.000);

CreateObject(744,1527.977,3169.795,9.135,0.0,0.0,-326.250);

CreateObject(736,1510.088,3327.953,20.563,0.0,0.0,0.0);

CreateObject(736,1519.466,3328.195,20.495,0.0,0.0,-78.750);

CreateObject(8647,1510.309,3271.430,10.368,0.0,0.0,-180.000);

CreateObject(8647,1519.547,3271.486,10.297,0.0,0.0,-180.000);

CreateObject(8647,1531.819,3248.636,10.297,0.0,0.0,-123.750);

CreateObject(8647,1498.088,3248.611,10.318,0.0,0.0,-236.250);

CreateObject(8647,1523.746,3191.113,10.147,0.0,0.0,-360.000);

CreateObject(8647,1505.721,3191.076,10.193,0.0,0.0,-360.000);

CreateObject(8647,1534.251,3216.196,10.272,0.0,0.0,-405.000);

CreateObject(8647,1495.189,3216.184,10.368,0.0,0.0,-315.000);

CreateObject(8652,1543.907,3255.344,10.435,0.0,0.0,-90.000);

CreateObject(8652,1485.838,3255.310,10.455,0.0,0.0,-90.000);

CreateObject(8652,1543.887,3285.007,10.485,0.0,0.0,-90.000);

CreateObject(8652,1485.851,3284.865,10.505,0.0,0.0,-90.000);

CreateObject(8652,1544.794,3211.608,10.360,0.0,0.0,-270.000);

CreateObject(8652,1484.880,3211.756,10.455,0.0,0.0,-270.000);

CreateObject(6965,1515.234,3232.053,12.763,0.0,0.0,0.0);

CreateObject(8674,1630.428,3342.730,11.011,0.0,0.0,-90.000);

CreateObject(8674,1630.391,3347.866,11.011,0.0,0.0,-90.000);

CreateObject(621,1520.531,3257.425,3.948,0.0,0.0,-67.500);

CreateObject(621,1520.537,3267.846,4.323,0.0,0.0,-101.250);

CreateObject(621,1520.672,3277.745,4.248,0.0,0.0,-11.250);

CreateObject(621,1508.426,3257.475,4.668,0.0,0.0,-11.250);

CreateObject(621,1508.226,3267.399,4.368,0.0,0.0,-11.250);

CreateObject(621,1508.363,3277.916,4.018,0.0,0.0,-11.250);

CreateObject(621,1532.013,3250.686,3.498,0.0,0.0,-67.500);

CreateObject(621,1541.795,3244.051,3.023,0.0,0.0,-67.500);

CreateObject(621,1497.258,3250.844,4.168,0.0,0.0,-67.500);

CreateObject(621,1487.616,3244.166,3.943,0.0,0.0,-67.500);

CreateObject(621,1525.093,3204.874,4.423,0.0,0.0,0.0);

CreateObject(621,1534.940,3214.189,3.898,0.0,0.0,0.0);

CreateObject(621,1542.902,3222.216,3.748,0.0,0.0,0.0);

CreateObject(621,1503.934,3204.998,4.943,0.0,0.0,0.0);

CreateObject(621,1494.516,3214.378,4.193,0.0,0.0,0.0);

CreateObject(621,1486.157,3222.779,3.893,0.0,0.0,0.0);

CreateObject(638,1510.841,3275.918,10.212,0.0,0.0,0.0);

CreateObject(638,1510.888,3268.266,10.212,0.0,0.0,0.0);

CreateObject(638,1510.865,3260.723,10.212,0.0,0.0,0.0);

CreateObject(638,1518.958,3260.698,10.166,0.0,0.0,0.0);

CreateObject(638,1518.927,3268.386,10.191,0.0,0.0,0.0);

CreateObject(638,1518.949,3275.976,10.191,0.0,0.0,0.0);

CreateObject(638,1523.146,3202.019,10.141,0.0,0.0,0.0);

CreateObject(638,1523.154,3194.106,10.141,0.0,0.0,0.0);

CreateObject(638,1523.158,3186.705,10.116,0.0,0.0,0.0);

CreateObject(638,1506.290,3186.690,10.212,0.0,0.0,0.0);

CreateObject(638,1506.345,3194.391,10.187,0.0,0.0,0.0);

CreateObject(638,1506.299,3201.758,10.162,0.0,0.0,0.0);

CreateObject(640,1508.041,3254.568,10.187,0.0,0.0,-56.250);

CreateObject(640,1502.311,3250.709,10.212,0.0,0.0,-56.250);

CreateObject(640,1495.755,3246.344,10.212,0.0,0.0,-56.250);

CreateObject(640,1489.414,3242.160,10.212,0.0,0.0,-56.250);

CreateObject(640,1521.646,3254.764,10.141,0.0,0.0,-123.750);

CreateObject(640,1527.665,3250.714,10.191,0.0,0.0,-123.750);

CreateObject(640,1534.058,3246.435,10.191,0.0,0.0,-123.750);

CreateObject(640,1540.596,3242.137,10.191,0.0,0.0,-123.750);

CreateObject(640,1503.858,3208.290,10.212,0.0,0.0,-135.000);

CreateObject(640,1498.846,3213.326,10.212,0.0,0.0,-135.000);

CreateObject(640,1493.446,3218.775,10.187,0.0,0.0,-135.000);

CreateObject(640,1487.806,3224.377,10.212,0.0,0.0,-135.000);

CreateObject(640,1525.626,3208.381,10.191,0.0,0.0,-225.000);

CreateObject(640,1530.698,3213.435,10.191,0.0,0.0,-225.000);

CreateObject(640,1536.223,3218.892,10.191,0.0,0.0,-225.000);

CreateObject(640,1541.547,3224.269,10.116,0.0,0.0,-225.000);

CreateObject(646,1512.544,3288.533,10.931,0.0,0.0,-78.750);

CreateObject(646,1517.090,3288.583,10.911,0.0,0.0,0.0);

CreateObject(9241,1637.874,3211.320,11.201,0.0,0.0,0.0);

CreateObject(9241,1637.812,3241.702,11.151,0.0,0.0,0.0);

CreateObject(1635,1633.320,3324.522,14.068,0.0,0.0,90.000);

CreateObject(14447,1647.328,3321.031,14.225,0.0,0.0,0.0);

CreateObject(14447,1658.813,3324.563,14.245,0.0,0.0,90.000);

CreateObject(983,1658.133,3332.135,14.621,0.0,0.0,-90.000);

CreateObject(983,1659.743,3332.125,14.621,0.0,0.0,-90.000);

CreateObject(16098,1371.466,3331.131,14.151,0.0,0.0,-90.000);

CreateObject(3279,1341.456,3179.525,9.265,0.0,0.0,90.000);

CreateObject(3279,1664.251,3179.363,9.235,0.0,0.0,-180.000);

CreateObject(629,1629.658,3325.240,9.453,0.0,0.0,-56.250);

CreateObject(629,1629.627,3336.541,9.553,0.0,0.0,-56.250);

CreateObject(1215,1517.347,3222.553,10.109,0.0,0.0,0.0);

CreateObject(1215,1521.321,3224.556,10.109,0.0,0.0,0.0);

CreateObject(1215,1523.913,3227.776,10.109,0.0,0.0,0.0);

CreateObject(1215,1524.894,3232.063,10.109,0.0,0.0,0.0);

CreateObject(1215,1523.853,3236.269,10.109,0.0,0.0,0.0);

CreateObject(1215,1521.197,3239.593,10.109,0.0,0.0,0.0);

CreateObject(1215,1517.277,3241.406,10.109,0.0,0.0,0.0);

CreateObject(1215,1512.979,3241.386,10.129,0.0,0.0,0.0);

CreateObject(1215,1509.281,3239.516,10.129,0.0,0.0,0.0);

CreateObject(1215,1506.396,3236.159,10.129,0.0,0.0,0.0);

CreateObject(1215,1505.570,3232.065,10.129,0.0,0.0,0.0);

CreateObject(1215,1506.588,3227.857,10.129,0.0,0.0,0.0);

CreateObject(1215,1509.202,3224.530,10.129,0.0,0.0,0.0);

CreateObject(1215,1513.098,3222.577,10.129,0.0,0.0,0.0);

CreateObject(1215,1514.810,3230.211,16.629,0.0,0.0,0.0);

CreateObject(1215,1516.630,3230.720,16.638,0.0,0.0,0.0);

CreateObject(1215,1513.477,3231.601,16.638,0.0,0.0,0.0);

CreateObject(1215,1513.771,3233.188,16.613,0.0,0.0,0.0);

CreateObject(1215,1515.223,3233.839,16.638,0.0,0.0,0.0);

CreateObject(1215,1516.724,3233.182,16.613,0.0,0.0,0.0);

CreateObject(1215,1517.019,3232.012,16.613,0.0,0.0,0.0);

CreateObject(1215,1511.611,3290.000,12.448,0.0,0.0,0.0);

CreateObject(1215,1518.162,3289.932,12.463,0.0,0.0,0.0);

CreateObject(1215,1629.688,3337.344,10.109,0.0,0.0,0.0);

CreateObject(1215,1629.606,3327.551,10.109,0.0,0.0,0.0);

CreateObject(3526,1625.630,3223.366,12.098,0.0,0.0,-180.000);

CreateObject(3526,1626.182,3199.178,12.098,0.0,0.0,-180.000);

CreateObject(3526,1650.049,3199.239,12.098,0.0,0.0,-360.000);

CreateObject(3526,1650.028,3223.223,12.098,0.0,0.0,-360.000);

CreateObject(3526,1650.053,3229.569,12.048,0.0,0.0,-360.000);

CreateObject(3526,1650.026,3253.666,12.048,0.0,0.0,-360.000);

CreateObject(3526,1625.643,3253.772,12.048,0.0,0.0,-180.000);

CreateObject(3526,1626.019,3229.580,12.048,0.0,0.0,-360.000);

CreateObject(1215,1475.315,2809.744,10.285,0.0,0.0,0.0);

CreateObject(1215,1496.801,2809.472,10.335,0.0,0.0,0.0);

CreateObject(1215,1524.057,2835.889,10.585,0.0,0.0,0.0);

CreateObject(1215,1505.324,2835.817,10.586,0.0,0.0,0.0);

CreateObject(1215,1505.359,2839.522,10.500,0.0,0.0,0.0);

CreateObject(1215,1505.362,2843.219,10.781,0.0,0.0,0.0);

CreateObject(1215,1524.039,2839.295,10.503,0.0,0.0,0.0);

CreateObject(1215,1524.038,2843.087,10.754,0.0,0.0,0.0);

CreateObject(1215,1524.062,2846.743,11.076,0.0,0.0,0.0);

CreateObject(1215,1505.362,2846.923,11.074,0.0,0.0,0.0);

CreateObject(1215,1505.348,2850.360,11.516,0.0,0.0,0.0);

CreateObject(1215,1524.056,2850.336,11.516,0.0,0.0,0.0);

CreateObject(1215,1490.036,2769.047,10.309,0.0,0.0,0.0);

CreateObject(1215,1490.106,2778.410,10.335,0.0,0.0,0.0);

CreateObject(619,1635.241,3347.802,9.694,0.0,0.0,-67.500);

CreateObject(620,1636.248,3347.873,4.292,0.0,0.0,0.0);

CreateObject(621,1526.745,2979.259,10.034,0.0,0.0,0.0);

CreateObject(621,1502.983,2981.191,9.309,0.0,0.0,0.0);

CreateObject(621,1499.307,2956.896,3.575,0.0,0.0,0.0);

CreateObject(621,1530.822,2973.945,15.061,0.0,0.0,0.0);

CreateObject(621,1529.413,2954.454,4.866,0.0,0.0,0.0);

CreateObject(621,1526.121,2963.771,6.473,0.0,0.0,0.0);

CreateObject(621,1499.177,2973.672,5.864,0.0,0.0,0.0);

CreateObject(621,1502.095,2965.751,4.447,0.0,0.0,0.0);

CreateObject(621,1492.459,2960.466,6.585,0.0,0.0,0.0);

CreateObject(621,1489.187,2974.905,14.759,0.0,0.0,0.0);

CreateObject(621,1537.211,2955.575,11.637,0.0,0.0,0.0);

CreateObject(621,1488.701,2966.735,10.857,0.0,0.0,0.0);

CreateObject(621,1533.213,2965.071,12.017,0.0,0.0,0.0);

CreateObject(918,1366.511,3321.412,9.934,0.0,0.0,0.0);

CreateObject(918,1366.668,3321.611,10.585,0.0,0.0,0.0);

CreateObject(918,1366.953,3321.373,9.934,0.0,0.0,0.0);

CreateObject(918,1366.765,3321.813,9.934,0.0,0.0,-22.500);

CreateObject(1825,1515.014,3282.851,13.490,0.0,0.0,-33.750);

CreateObject(3526,1398.893,3301.094,9.631,0.0,0.0,0.0);

CreateObject(3526,1399.000,3286.236,9.633,0.0,0.0,0.0);

CreateObject(3526,1399.002,3271.382,9.633,0.0,0.0,0.0);

CreateObject(3526,1398.967,3256.589,9.633,0.0,0.0,0.0);

CreateObject(3526,1398.957,3241.053,9.633,0.0,0.0,0.0);

CreateObject(3526,1398.969,3224.720,9.633,0.0,0.0,0.0);

CreateObject(3526,1379.127,3224.335,9.633,0.0,0.0,-180.000);

CreateObject(3526,1379.236,3241.194,9.633,0.0,0.0,-180.000);

CreateObject(3526,1379.101,3257.204,9.631,0.0,0.0,-180.000);

CreateObject(3526,1379.156,3271.319,9.631,0.0,0.0,-180.000);

CreateObject(3526,1379.165,3286.811,9.631,0.0,0.0,-180.000);

CreateObject(3526,1379.134,3301.380,9.631,0.0,0.0,-180.000);

CreateObject(3526,1365.370,3301.632,9.633,0.0,0.0,0.0);

CreateObject(3526,1365.402,3286.989,9.633,0.0,0.0,0.0);

CreateObject(3526,1365.400,3271.695,9.633,0.0,0.0,0.0);

CreateObject(3526,1365.367,3241.019,9.631,0.0,0.0,0.0);

CreateObject(3526,1365.370,3256.790,9.633,0.0,0.0,0.0);

CreateObject(3526,1365.354,3224.200,9.633,0.0,0.0,0.0);

CreateObject(3526,1344.707,3302.521,9.633,0.0,0.0,-180.000);

CreateObject(3526,1344.715,3224.124,9.633,0.0,0.0,-180.000);

CreateObject(3526,1344.707,3241.549,9.631,0.0,0.0,-180.000);

CreateObject(3526,1344.722,3258.234,9.633,0.0,0.0,-180.000);

CreateObject(3526,1344.729,3287.730,9.633,0.0,0.0,-180.000);

CreateObject(3526,1344.714,3272.202,9.633,0.0,0.0,-180.000);

pickup = CreatePickup(1318,1,1514.933,3288.681,11.170);

pickup2 = CreatePickup(1318,1,225.7199,1023.5774,1084.0115);

brana = CreateObject(980,1508.980,3173.049,12.534,0.0,0.0,-180.000);

brana2 = CreateObject(980,1520.484,3173.021,12.542,0.0,0.0,0.0);

vytah = CreateObject(18284,1621.106,3332.425,6.639,0.0,0.0,-90.000);

zabrana = CreateObject(996,1630.412,3329.120,16.383007,0.0,0.0,90.000);

svetlo1 = MoveObject(1215,1517.347,3222.553,10.109,0.0,0.0,0.0);

svetlo2 = MoveObject(1215,1521.321,3224.556,10.109,0.0,0.0,0.0);

svetlo3 = MoveObject(1215,1523.913,3227.776,10.109,0.0,0.0,0.0);

svetlo4 = MoveObject(1215,1524.894,3232.063,10.109,0.0,0.0,0.0);

svetlo5 = MoveObject(1215,1523.853,3236.269,10.109,0.0,0.0,0.0);

svetlo6 = MoveObject(1215,1521.197,3239.593,10.109,0.0,0.0,0.0);

svetlo7 = MoveObject(1215,1517.277,3241.406,10.109,0.0,0.0,0.0);

svetlo8 = MoveObject(1215,1512.979,3241.386,10.129,0.0,0.0,0.0);

svetlo9 = MoveObject(1215,1509.281,3239.516,10.129,0.0,0.0,0.0);

svetlo10 = MoveObject(1215,1506.396,3236.159,10.129,0.0,0.0,0.0);

svetlo11 = MoveObject(1215,1505.570,3232.065,10.129,0.0,0.0,0.0);

svetlo12 = MoveObject(1215,1506.588,3227.857,10.129,0.0,0.0,0.0);

svetlo13 = MoveObject(1215,1509.202,3224.530,10.129,0.0,0.0,0.0);

svetlo14 = MoveObject(1215,1513.098,3222.577,10.129,0.0,0.0,0.0);

svetlo15 = MoveObject(1215,1514.810,3230.211,16.629,0.0,0.0,0.0);

svetlo16 = MoveObject(1215,1516.630,3230.720,16.638,0.0,0.0,0.0);

svetlo17 = MoveObject(1215,1513.477,3231.601,16.638,0.0,0.0,0.0);

svetlo18 = MoveObject(1215,1513.771,3233.188,16.613,0.0,0.0,0.0);

svetlo19 = MoveObject(1215,1515.223,3233.839,16.638,0.0,0.0,0.0);

svetlo20 = MoveObject(1215,1516.724,3233.182,16.613,0.0,0.0,0.0);

svetlo21 = MoveObject(1215,1517.019,3232.012,16.613,0.0,0.0,0.0);

svetlo22 = MoveObject(1215,1511.611,3290.000,12.448,0.0,0.0,0.0);

svetlo23 = MoveObject(1215,1518.162,3289.932,12.463,0.0,0.0,0.0);

svetlo24 = MoveObject(1215,1629.688,3337.344,10.109,0.0,0.0,0.0);

svetlo25 = MoveObject(1215,1629.606,3327.551,10.109,0.0,0.0,0.0);

 

return 1;

}

 

public OnGameModeExit()

{

return 1;

}

 

public OnPlayerRequestClass(playerid, classid)

{

SetPlayerPos(playerid, 1958.3783, 1343.1572, 15.3746);

SetPlayerCameraPos(playerid, 1958.3783, 1343.1572, 15.3746);

SetPlayerCameraLookAt(playerid, 1958.3783, 1343.1572, 15.3746);

AddPlayerClass(playerid,1958.6981,1342.7739,15.3746,270.1700,0,0,0,0,0,0); //

 

return 1;

}

 

public OnPlayerRequestSpawn(playerid)

{

return 1;

}

 

public OnPlayerConnect(playerid)

{

AddPlayerClass(playerid,1959.7360,1344.1633,15.3746,270.1465,0,0,0,0,0,0); //

 

return 1;

}

 

public OnPlayerDisconnect(playerid, reason)

{

return 1;

}

 

public OnPlayerSpawn(playerid)

{

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 OnPlayerPrivmsg(playerid, recieverid, text[])

{

return 1;

}

 

public OnPlayerCommandText(playerid, cmdtext[])

{

if (strcmp("/mycommand", cmdtext, true, 10) == 0)

{

// Do something here

return 1;

}

 

if(strcmp(cmdtext, "/zavrit", true) == 0)

if(IsPlayerAdmin(playerid))

{

MoveObject(brana, 1508.980103,3173.048584,12.508974, 1);

MoveObject(brana2, 1520.484009,3173.020752,12.541506, 1);

SendClientMessage(playerid, 0x33AA33AA,"!!! Hlavní brána se zavírá !!!");

return 1;

}

 

if(strcmp(cmdtext, "/otevrit", true) == 0)

if(IsPlayerAdmin(playerid))

{

MoveObject(brana, 1499.00488,3173.0989,12.508974, 1);

MoveObject(brana2, 1530.358652,3173.020752,12.541506, 1);

SendClientMessage(playerid, 0x33AA33AA,"!!! Hlavní brána se otevírá !!!");

return 1;

}

if(strcmp(cmdtext, "/dolu", true) == 0)

if(IsPlayerAdmin(playerid))

{

MoveObject(vytah, 1621.106,3332.425,6.639, 1);

MoveObject(zabrana, 1630.412,3329.120,16.383007,0.3);

SendClientMessage(playerid, 0x33AA33AA,"!!! Výtah jede dolů !!!");

return 1;

}

 

if(strcmp(cmdtext, "/nahoru", true) == 0)

if(IsPlayerAdmin(playerid))

{

MoveObject(vytah, 1621.106,3332.425,12.664262, 1);

MoveObject(zabrana, 1630.412,3329.120,15.208,0.3);

SendClientMessage(playerid, 0x33AA33AA,"!!! Výtah jede nahoru !!!");

return 1;

}

if(strcmp(cmdtext, "/zapnout", true) == 0)

if(IsPlayerAdmin(playerid))

{

MoveObject(svetlo1, 1215,1517.347,3222.553,10.109, 1);

MoveObject(svetlo2, 1215,1521.321,3224.556,10.109, 1);

MoveObject(svetlo3, 1215,1523.913,3227.776,10.109, 1);

MoveObject(svetlo4, 1215,1524.894,3232.063,10.109, 1);

MoveObject(svetlo5, 1215,1523.853,3236.269,10.109, 1);

MoveObject(svetlo6, 1215,1521.197,3239.593,10.109, 1);

MoveObject(svetlo7, 1215,1517.277,3241.406,10.109, 1);

MoveObject(svetlo8, 1215,1512.979,3241.386,10.129, 1);

MoveObject(svetlo9, 1215,1509.281,3239.516,10.129, 1);

MoveObject(svetlo10, 1215,1506.396,3236.159,10.129, 1);

MoveObject(svetlo11, 1215,1505.570,3232.065,10.129, 1);

MoveObject(svetlo12, 1215,1506.588,3227.857,10.129, 1);

MoveObject(svetlo13, 1215,1509.202,3224.530,10.129, 1);

MoveObject(svetlo14, 1215,1513.098,3222.577,10.129, 1);

MoveObject(svetlo15, 1215,1514.810,3230.211,16.629, 1);

MoveObject(svetlo16, 1215,1516.630,3230.720,16.638, 1);

MoveObject(svetlo17, 1215,1513.477,3231.601,16.638, 1);

MoveObject(svetlo18, 1215,1513.771,3233.188,16.613, 1);

MoveObject(svetlo19, 1215,1515.223,3233.839,16.638, 1);

MoveObject(svetlo20, 1215,1516.724,3233.182,16.613, 1);

MoveObject(svetlo21, 1215,1517.019,3232.012,16.613, 1);

MoveObject(svetlo22, 1215,1511.611,3290.000,12.448, 1);

MoveObject(svetlo23, 1215,1518.162,3289.932,12.463, 1);

MoveObject(svetlo24, 1215,1629.688,3337.344,10.109, 1);

MoveObject(svetlo25, 1215,1629.606,3327.551,10.109, 1);

SendClientMessage(playerid, 0x33AA33AA,"!!! Světla jsou zapnutá !!!");

return 1;

}

 

if(strcmp(cmdtext, "/vypnout", true) == 0)

if(IsPlayerAdmin(playerid))

{

MoveObject(svetlo1, 1215,1517.347,3222.553,3.083763, 1);

MoveObject(svetlo2, 1215,1521.321,3224.556,3.083763, 1);

MoveObject(svetlo3, 1215,1523.913,3227.776,3.083763, 1);

MoveObject(svetlo4, 1215,1524.894,3232.063,3.083763, 1);

MoveObject(svetlo5, 1215,1523.853,3236.269,3.083763, 1);

MoveObject(svetlo6, 1215,1521.197,3239.593,3.083763, 1);

MoveObject(svetlo7, 1215,1517.277,3241.406,3.083763, 1);

MoveObject(svetlo8, 1215,1512.979,3241.386,3.083763, 1);

MoveObject(svetlo9, 1215,1509.281,3239.516,3.083763, 1);

MoveObject(svetlo10, 1215,1506.396,3236.159,3.083763, 1);

MoveObject(svetlo11, 1215,1505.570,3232.065,3.083763, 1);

MoveObject(svetlo12, 1215,1506.588,3227.857,3.083763, 1);

MoveObject(svetlo13, 1215,1509.202,3224.530,3.083763, 1);

MoveObject(svetlo14, 1215,1513.098,3222.577,3.083763, 1);

MoveObject(svetlo15, 1215,1514.810,3230.211,3.083763, 1);

MoveObject(svetlo16, 1215,1516.630,3230.720,3.083763, 1);

MoveObject(svetlo17, 1215,1513.477,3231.601,3.083763, 1);

MoveObject(svetlo18, 1215,1513.771,3233.188,3.083763, 1);

MoveObject(svetlo19, 1215,1515.223,3233.839,3.083763, 1);

MoveObject(svetlo20, 1215,1516.724,3233.182,3.083763, 1);

MoveObject(svetlo21, 1215,1517.019,3232.012,3.083763, 1);

MoveObject(svetlo22, 1215,1511.611,3290.000,3.083763, 1);

MoveObject(svetlo23, 1215,1518.162,3289.932,3.083763, 1);

MoveObject(svetlo24, 1215,1629.688,3337.344,3.083763, 1);

MoveObject(svetlo25, 1215,1629.606,3327.551,3.083763, 1);

SendClientMessage(playerid, 0x33AA33AA,"!!! Světla jsou vypnutá !!!");

return 1;

}

return 0;

}

 

public OnPlayerInfoChange(playerid)

{

return 1;

}

 

public OnPlayerEnterVehicle(playerid, vehicleid, ispassenger)

{

return 1;

}

 

public OnPlayerExitVehicle(playerid, vehicleid)

{

return 1;

}

 

public OnPlayerStateChange(playerid, newstate, oldstate)

{

return 1;

}

 

public OnPlayerEnterCheckpoint(playerid)

{

return 1;

}

 

public OnPlayerLeaveCheckpoint(playerid)

{

return 1;

}

 

public OnPlayerEnterRaceCheckpoint(playerid)

{

return 1;

}

 

public OnPlayerLeaveRaceCheckpoint(playerid)

{

return 1;

}

 

public OnRconCommand(cmd[])

{

return 1;

}

 

public OnObjectMoved(objectid)

{

return 1;

}

 

public OnPlayerObjectMoved(playerid, objectid)

{

return 1;

}

 

public OnPlayerPickUpPickup(playerid, pickupid)

{

if(pickupid == pickup)

{

SetPlayerPos(playerid,226.7565,1026.5244,1084.0109);

SetPlayerInterior(playerid,7);

}

 

if(pickupid == pickup2)

{

SetPlayerPos(playerid,1514.1743,3275.3508,12.5650);

SetPlayerInterior(playerid,0);

}

return 1;

}

 

public OnPlayerSelectedMenuRow(playerid, row)

{

return 1;

}

 

public OnPlayerExitedMenu(playerid)

{

return 1;

}

 

 

 

C:\Documents and Settings\Lukáš\Plocha\Untitled.pwn(348) : warning 202: number of arguments does not match definition

C:\Documents and Settings\Lukáš\Plocha\Untitled.pwn(348) : warning 202: number of arguments does not match definition

C:\Documents and Settings\Lukáš\Plocha\Untitled.pwn(349) : warning 202: number of arguments does not match definition

C:\Documents and Settings\Lukáš\Plocha\Untitled.pwn(349) : warning 202: number of arguments does not match definition

C:\Documents and Settings\Lukáš\Plocha\Untitled.pwn(350) : warning 202: number of arguments does not match definition

C:\Documents and Settings\Lukáš\Plocha\Untitled.pwn(350) : warning 202: number of arguments does not match definition

C:\Documents and Settings\Lukáš\Plocha\Untitled.pwn(351) : warning 202: number of arguments does not match definition

C:\Documents and Settings\Lukáš\Plocha\Untitled.pwn(351) : warning 202: number of arguments does not match definition

C:\Documents and Settings\Lukáš\Plocha\Untitled.pwn(352) : warning 202: number of arguments does not match definition

C:\Documents and Settings\Lukáš\Plocha\Untitled.pwn(352) : warning 202: number of arguments does not match definition

C:\Documents and Settings\Lukáš\Plocha\Untitled.pwn(353) : warning 202: number of arguments does not match definition

C:\Documents and Settings\Lukáš\Plocha\Untitled.pwn(353) : warning 202: number of arguments does not match definition

C:\Documents and Settings\Lukáš\Plocha\Untitled.pwn(354) : warning 202: number of arguments does not match definition

C:\Documents and Settings\Lukáš\Plocha\Untitled.pwn(354) : warning 202: number of arguments does not match definition

C:\Documents and Settings\Lukáš\Plocha\Untitled.pwn(355) : warning 202: number of arguments does not match definition

C:\Documents and Settings\Lukáš\Plocha\Untitled.pwn(355) : warning 202: number of arguments does not match definition

C:\Documents and Settings\Lukáš\Plocha\Untitled.pwn(356) : warning 202: number of arguments does not match definition

C:\Documents and Settings\Lukáš\Plocha\Untitled.pwn(356) : warning 202: number of arguments does not match definition

C:\Documents and Settings\Lukáš\Plocha\Untitled.pwn(357) : warning 202: number of arguments does not match definition

C:\Documents and Settings\Lukáš\Plocha\Untitled.pwn(357) : warning 202: number of arguments does not match definition

C:\Documents and Settings\Lukáš\Plocha\Untitled.pwn(358) : warning 202: number of arguments does not match definition

C:\Documents and Settings\Lukáš\Plocha\Untitled.pwn(358) : warning 202: number of arguments does not match definition

C:\Documents and Settings\Lukáš\Plocha\Untitled.pwn(359) : warning 202: number of arguments does not match definition

C:\Documents and Settings\Lukáš\Plocha\Untitled.pwn(359) : warning 202: number of arguments does not match definition

C:\Documents and Settings\Lukáš\Plocha\Untitled.pwn(360) : warning 202: number of arguments does not match definition

C:\Documents and Settings\Lukáš\Plocha\Untitled.pwn(360) : warning 202: number of arguments does not match definition

C:\Documents and Settings\Lukáš\Plocha\Untitled.pwn(361) : warning 202: number of arguments does not match definition

C:\Documents and Settings\Lukáš\Plocha\Untitled.pwn(361) : warning 202: number of arguments does not match definition

C:\Documents and Settings\Lukáš\Plocha\Untitled.pwn(362) : warning 202: number of arguments does not match definition

C:\Documents and Settings\Lukáš\Plocha\Untitled.pwn(362) : warning 202: number of arguments does not match definition

C:\Documents and Settings\Lukáš\Plocha\Untitled.pwn(363) : warning 202: number of arguments does not match definition

C:\Documents and Settings\Lukáš\Plocha\Untitled.pwn(363) : warning 202: number of arguments does not match definition

C:\Documents and Settings\Lukáš\Plocha\Untitled.pwn(364) : warning 202: number of arguments does not match definition

C:\Documents and Settings\Lukáš\Plocha\Untitled.pwn(364) : warning 202: number of arguments does not match definition

C:\Documents and Settings\Lukáš\Plocha\Untitled.pwn(365) : warning 202: number of arguments does not match definition

C:\Documents and Settings\Lukáš\Plocha\Untitled.pwn(365) : warning 202: number of arguments does not match definition

C:\Documents and Settings\Lukáš\Plocha\Untitled.pwn(366) : warning 202: number of arguments does not match definition

C:\Documents and Settings\Lukáš\Plocha\Untitled.pwn(366) : warning 202: number of arguments does not match definition

C:\Documents and Settings\Lukáš\Plocha\Untitled.pwn(367) : warning 202: number of arguments does not match definition

C:\Documents and Settings\Lukáš\Plocha\Untitled.pwn(367) : warning 202: number of arguments does not match definition

C:\Documents and Settings\Lukáš\Plocha\Untitled.pwn(368) : warning 202: number of arguments does not match definition

C:\Documents and Settings\Lukáš\Plocha\Untitled.pwn(368) : warning 202: number of arguments does not match definition

C:\Documents and Settings\Lukáš\Plocha\Untitled.pwn(369) : warning 202: number of arguments does not match definition

C:\Documents and Settings\Lukáš\Plocha\Untitled.pwn(369) : warning 202: number of arguments does not match definition

C:\Documents and Settings\Lukáš\Plocha\Untitled.pwn(370) : warning 202: number of arguments does not match definition

C:\Documents and Settings\Lukáš\Plocha\Untitled.pwn(370) : warning 202: number of arguments does not match definition

C:\Documents and Settings\Lukáš\Plocha\Untitled.pwn(371) : warning 202: number of arguments does not match definition

C:\Documents and Settings\Lukáš\Plocha\Untitled.pwn(371) : warning 202: number of arguments does not match definition

C:\Documents and Settings\Lukáš\Plocha\Untitled.pwn(372) : warning 202: number of arguments does not match definition

C:\Documents and Settings\Lukáš\Plocha\Untitled.pwn(372) : warning 202: number of arguments does not match definition

Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase

 

 

50 Warnings.

 

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...