Szerző Téma: Pawno  (Megtekintve 865 alkalommal)

Pawno
« Dátum: 2011. október 15. - 16:03:37 »
0 Show voters
Sziasztok
Itt mi a baj?
[pawn]D:\\Szerver3\\filterscripts\\kamionscript.pwn(74) : warning 213: tag mismatch
D:\\Szerver3\\filterscripts\\kamionscript.pwn(74) : warning 227: more initiallers than enum fields
D:\\Szerver3\\filterscripts\\kamionscript.pwn(74) : warning 213: tag mismatch
D:\\Szerver3\\filterscripts\\kamionscript.pwn(74) : error 018: initialization data exceeds declared size
Pawn compiler 3.2.3664           Copyright © 1997-2006, ITB CompuPhase
1 Error.
[/pawn]
[pawn]/*======================================
Kamionos Munka Filterscript By:
Gumikacsa
---------[Parancsok:]-----------
-/munka
-/nemdolgozom
-/kamionos
-/filp
-/javit
-/lekapcsol
-------[Küldetések Száma]------------
-10
--------[Küldön Köszönet]-------------
Whatcha a.k.a. Rokzlive
a Fuvarokért és a Kamionokért
======================================*/
//Alap Include
#include <a_samp>
//A Küldikhez egy Include
#include <TruckingMissions>
//elcsúszhatnak a sorok
#pragma tabsize 0
#if defined FILTERSCRIPT // definiáljuk hogy ez egy filterscript
#define FILTERSCRIPT
#define DIALOG_KEZD 3000
//alap szinkódok
#define COLOR_GREY 0xAFAFAFAA //szürke
#define COLOR_GREEN 0x33AA33AA //zöld
#define COLOR_RED 0xAA3333AA //piros
#define COLOR_YELLOW 0xFFFF00AA //sárga
#define COLOR_WHITE 0xFFFFFFAA  //fehér
#define COLOR_LIGHTRED 0xED0321AA //piros2
#define COLOR_LIGHTBLUE 0x33CCFFAA//világoskék
public OnFilterScriptInit()
{
    print(\"\\n=================================================\");
    print(\" Kamionos Filterscript by Gumikacsa!\");
    print(\"=================================================\\n\");
return 1;
}
public OnFilterScriptExit()
{
return 1;
}
#endif
enum TruckingMissionInfo
{
    MissionName[200],
    bool:UseTrailerCheck,
    MissionPay,
    Float:loadx,
    Float:loady,
    Float:loadz,
    Float:unloadx,
    Float:unloady,
    Float:unloadz
}
new TruckingMissionRandom[][TruckingMissionInfo] =
{
    // {\"Mission Text\", UseTrailerCheck, MissionPay, loadx, loady, loadz, unloadx, unloady, unloadz}
    /* KEY:
    ** \"Mission Text\" = Amit Kiírjon a Fuvarkor
    ** UseTrailerCheck = Hogy Kell-e Pót. Ex: Roadtrain és Artict1 trailer!
    ** MissionPay = Hogy Mennyit adjon egy Fuvarnál!
    ** loadx, loady, and loadz = Rakodás Cehckpont X,Y,Z!
    ** unloadx, unloadx, unloadx = Lerakodás Checkpint X,Y,Z!
    */
{\"Szesz: Rakodás: Lövéte: Szeszfeldolgozó Üzem\", true, 9000, 3792.1018, -1885.9493, 11.5172, 2513.1743, -2086.8723, 13.5469},
{\"Téli Tüzifa: Rakodás: Lövéte: SF-Rendõrség\", true, 9000, 3792.1018, -1885.9493, 11.5172, 541,-1631.7162,676.6823,6.8139},
{\"Limlomok: Rakodás: Épitkezési Terület Lerakodás: KamionosTelep2\", true, 523,-2132.0244,175.9428,34.8683, 523,-2144.5327,-135.8543,36.0927,61.4082,3,107},
{\"Titkos Eszközök: Rakodás: Randolf Industrial Estate Lerakodás: Area 69\", true, 5000, 1594.1290283203, 724.00372314453, 10.469537734985, 134.54122924805, 1945.7899169922, 19.001808166504},
{\"Dobozok: Rakodás: LV Depot Lerakodás: SF Depot\", true, 7500, 1723.5736083984, 979.20190429688, 10.469537734985, -2129.4470214844, -84.854187011719, 34.969539642334},
{\"Porpellerek: Rakodás Ls Dokkok Raktár 1 Lerkaodás: Verdant Meadows\", true, 8000,  2777.7497558594, -2417.4836425781, 13.285341262817, 377.30389404297, 2534.0485839844, 16.250215530396},
{\"Levelek: Rakodás: Area 69 Lerakodás 5 Tree Logistics\", true, 6500, 134.54122924805, 1945.7899169922, 19.001808166504, -493.13043212891, -514.57434082031, 25.167068481445},
{\"Sebsségváltók: Rakodás: 5 Tree Logistics Lerakodás: Las Venturas Repülõtér\", true, 8000, -493.13043212891, -514.57434082031, 25.167068481445, 1627.9038085938, 1611.8803710938, 20.285793304443},
{\"Oxigén: Rakodás: RS Haul Lerakodás: SF Repülõtér\", true, 7000, -83.956573486328, -1126.0145263672, 0.73391342163086, -1447.4144287109, -437.23773193359, 5.5075283050537},
{\"Radarok: Rakodás: Verdant Meadows Lerakodás: San Fierro Repülõtér\", true, 8500, 377.30389404297, 2534.0485839844, 16.250215530396, -1447.4144287109, -437.23773193359, 5.5075283050537} //kenguru
};
new name[MAX_PLAYER_NAME], string[44];
new IsPlayerInMission[MAX_PLAYERS] = 0;
public OnFilterScriptInit ()
{
    CreateObject(5112,2936.197265625,-1958.0688476563,6.25,0,0,0);
CreateObject(5112,3080.6958007813,-1958.0428466797,6.25,0,0,0);
CreateObject(5112,3233.1323242188,-1958.0546875,6.25,0,0,0);
CreateObject(5112,3384.1000976563,-1958.0362548828,6.25,0,0,0);
CreateObject(5112,3535.4604492188,-1958.1494140625,6.25,0,0,0);
CreateObject(5112,3680.2158203125,-1958.1612548828,6.25,0,0,0);
CreateObject(5112,3829.3715820313,-1958.1810302734,6.25,0,0,0);
CreateObject(5145,3959.2055664063,-1901.923828125,0.26378631591797,0,0,0);
CreateObject(5184,3811.1899414063,-1806.9571533203,29.649993896484,0,0,180);
CreateObject(5184,3812.6337890625,-1892.7583007813,29.399993896484,0,0,1.9945068359375);
CreateObject(5184,3811.8159179688,-1868.9151611328,28.899993896484,0,0,181.99401855469);
CreateObject(3689,3820.5021972656,-1809.0211181641,18.753711700439,0,0,0);
CreateObject(3707,3768.8588867188,-1874.0847167969,18.523086547852,0,0,0);
CreateObject(3755,3865.4189453125,-1864.6309814453,16.231666564941,0,0,180);
CreateObject(5309,3865.7836914063,-1899.3605957031,13.641693115234,0,0,0);
CreateObject(7019,3949.9885253906,-1925.5786132813,14.330154418945,0,0,0);
CreateObject(3578,3962.9753417969,-1878.5802001953,11.514381408691,0,0,90);
CreateObject(3578,3962.974609375,-1878.580078125,12.264381408691,0,0,90);
CreateObject(3578,3962.6442871094,-1936.3754882813,12.264381408691,0,0,90);
CreateObject(3578,3962.6435546875,-1936.375,13.014381408691,0,0,90);
AddStaticVehicle(403,3915.8657226563,-1998.6021728516,12.290036201477,0,-1,-1);
AddStaticVehicle(403,3921.2583007813,-1998.5010986328,12.290036201477,0,-1,-1);
AddStaticVehicle(403,3926.4072265625,-1998.3460693359,12.290036201477,0,-1,-1);
AddStaticVehicle(514,3937.0773925781,-1998.2034912109,12.442512512207,0,-1,-1);
AddStaticVehicle(514,3941.5727539063,-1998.4250488281,12.442512512207,0,-1,-1);
AddStaticVehicle(514,3946.080078125,-1998.3969726563,12.442512512207,0,-1,-1);
AddStaticVehicle(514,3932.0356445313,-1998.2434082031,12.442512512207,0,-1,-1);
AddStaticVehicle(515,3954.9963378906,-1998.6241455078,12.896456718445,0,-1,-1);
AddStaticVehicle(515,3960.0034179688,-1998.6208496094,12.896456718445,0,-1,-1);
AddStaticVehicle(515,3965.2478027344,-1998.8790283203,12.896456718445,0,-1,-1);
AddStaticVehicle(515,3950.1440429688,-1998.6145019531,12.896456718445,0,-1,-1);
AddStaticVehicle(435,3965.0688476563,-2009.3623046875,11.97119140625,0,-1,-1);
AddStaticVehicle(435,3960.5727539063,-2009.1975097656,11.97119140625,0,-1,-1);
AddStaticVehicle(435,3955.3273925781,-2009.0050048828,11.97119140625,0,-1,-1);
AddStaticVehicle(435,3949.814453125,-2009.3032226563,11.97119140625,0,-1,-1);
AddStaticVehicle(435,3945.818359375,-2009.15625,11.97119140625,0,-1,-1);
AddStaticVehicle(435,3941.5725097656,-2009.0006103516,11.97119140625,0,-1,-1);
AddStaticVehicle(435,3937.0766601563,-2008.8352050781,11.97119140625,0,-1,-1);
AddStaticVehicle(435,3932.0810546875,-2008.6518554688,11.97119140625,0,-1,-1);
AddStaticVehicle(435,3926.5864257813,-2008.4499511719,11.97119140625,0,-1,-1);
AddStaticVehicle(435,3921.5908203125,-2008.2661132813,11.97119140625,0,-1,-1);
AddStaticVehicle(435,3915.8464355469,-2008.0550537109,11.97119140625,0,-1,-1);
CreateObject(3620,3798.6608886719,-1913.5465087891,23.612619400024,0,0,0);
CreateObject(10830,4021.9831542969,-1987.1022949219,18.951999664307,0,0,44);
CreateObject(10831,4027.2387695313,-1822.6650390625,15.663994789124,0,0,0);
CreateObject(5313,3956.24609375,-1816.0770263672,23.734321594238,0,0,0);
CreateObject(7495,4013.1765136719,-1897.8447265625,14.32693862915,0,0,0);
AddStaticVehicle(403,2861.2800292969,937.35540771484,11.449999809265,90,-1,-1);
AddStaticVehicle(403,2861.5532226563,933.11383056641,11.449999809265,90,-1,-1);
AddStaticVehicle(403,2861.8271484375,928.87316894531,11.449999809265,90,-1,-1);
AddStaticVehicle(403,2862.0849609375,924.8818359375,11.449999809265,90,-1,-1);
AddStaticVehicle(515,2861.779296875,920.45599365234,11.903720855713,90,-1,-1);
AddStaticVehicle(515,2862.1086425781,915.71667480469,11.903720855713,90,-1,-1);
AddStaticVehicle(515,2862.4204101563,911.22680664063,11.903720855713,90,-1,-1);
AddStaticVehicle(515,2862.7666015625,906.23876953125,11.903720855713,90,-1,-1);
AddStaticVehicle(514,2832.4946289063,978.59484863281,11.449674606323,180,-1,-1);
AddStaticVehicle(514,2836.2534179688,978.54650878906,11.449674606323,180,-1,-1);
AddStaticVehicle(514,2840.01171875,978.49755859375,11.449674606323,180,-1,-1);
AddStaticVehicle(514,2843.7705078125,978.44873046875,11.449674606323,180,-1,-1);
AddStaticVehicle(482,2833.3776855469,940.80462646484,11,0,-1,-1);
AddStaticVehicle(482,2830.6154785156,940.83087158203,11,0,-1,-1);
AddStaticVehicle(482,2827.0854492188,941.12731933594,11,0,-1,-1);
AddStaticVehicle(482,2824.3020019531,941.31982421875,11,0,-1,-1);
AddStaticVehicle(482,2820.7944335938,941.36505126953,11,0,-1,-1);
AddStaticVehicle(578,2813.3530273438,899.18426513672,11.507797241211,0,-1,-1);
AddStaticVehicle(578,2809.8188476563,899.11547851563,11.507797241211,0,-1,-1);
AddStaticVehicle(578,2806.0366210938,899.07769775391,11.507797241211,0,-1,-1);
AddStaticVehicle(578,2802.0063476563,899.07019042969,11.507797241211,0,-1,-1);
AddStaticVehicle(578,2797.9760742188,899.06237792969,11.507797241211,0,-1,-1);
AddStaticVehicle(435,2870.826171875,924.73291015625,11.803198814392,90,-1,-1);
AddStaticVehicle(435,2870.974609375,928.7294921875,11.803198814392,90,-1,-1);
AddStaticVehicle(435,2870.8918457031,933.23553466797,11.803198814392,90,-1,-1);
AddStaticVehicle(435,2870.7902832031,937.24176025391,11.803198814392,90,-1,-1);
AddStaticVehicle(435,2871.4152832031,920.46636962891,11.803198814392,90,-1,-1);
AddStaticVehicle(435,2871.73828125,915.70062255859,11.803198814392,90,-1,-1);
AddStaticVehicle(435,2871.8303222656,911.44396972656,11.803198814392,90,-1,-1);
AddStaticVehicle(435,2872.1440429688,906.42834472656,11.803198814392,90,-1,-1);
AddStaticVehicle(435,2832.544921875,989.47448730469,11.803198814392,180,-1,-1);
AddStaticVehicle(435,2836.3022460938,989.49896240234,11.803198814392,180,-1,-1);
AddStaticVehicle(435,2840.3083496094,989.54168701172,11.803198814392,180,-1,-1);
AddStaticVehicle(435,2844.0656738281,989.56701660156,11.803198814392,180,-1,-1);
AddStaticVehicle(456,2832.2348632813,898.12139892578,11.007797241211,0,-1,-1);
AddStaticVehicle(456,2836.0178222656,898.01196289063,11.007797241211,0,-1,-1);
AddStaticVehicle(456,2839.7751464844,898.15124511719,11.007797241211,0,-1,-1);
AddStaticVehicle(456,2843.283203125,898.26403808594,11.007797241211,0,-1,-1);
AddStaticVehicle(456,2846.7919921875,898.37731933594,11.007797241211,0,-1,-1);
AddStaticVehicle(456,2850.5495605469,898.51647949219,11.007797241211,0,-1,-1);
AddStaticVehicle(456,1681.0671386719,1041.2723388672,11.0703125,0,-1,-1);
AddStaticVehicle(456,1677.7806396484,1041.3806152344,11.0703125,0,-1,-1);
AddStaticVehicle(456,1674.4352919922,1041.2408447266,11.0703125,0,-1,-1);
AddStaticVehicle(456,1670.9895019531,1041.3195800781,11.0703125,0,-1,-1);
AddStaticVehicle(456,1667.7034912109,1041.4284667969,11.0703125,0,-1,-1);
AddStaticVehicle(414,1664.7110595703,1041.2944335938,10.97031211853,0,-1,-1);
AddStaticVehicle(414,1661.9215087891,1041.4626464844,10.97031211853,0,-1,-1);
AddStaticVehicle(414,1658.6649169922,1041.3228759766,10.97031211853,0,-1,-1);
AddStaticVehicle(414,1655.3782958984,1041.4313964844,10.97031211853,0,-1,-1);
AddStaticVehicle(414,1652.3403320313,1041.5695800781,10.97031211853,0,-1,-1);
AddStaticVehicle(482,1651.9052734375,1028.7640380859,11.0703125,0,-1,-1);
AddStaticVehicle(482,1655.4052734375,1028.8251953125,11.0703125,0,-1,-1);
AddStaticVehicle(482,1658.6596679688,1028.6323242188,11.0703125,0,-1,-1);
AddStaticVehicle(482,1661.6591796875,1028.6845703125,11.0703125,0,-1,-1);
AddStaticVehicle(482,1664.9135742188,1028.4916992188,11.0703125,0,-1,-1);
AddStaticVehicle(482,1668.1635742188,1028.548828125,11.0703125,0,-1,-1);
AddStaticVehicle(482,1671.1630859375,1028.6015625,11.0703125,0,-1,-1);
AddStaticVehicle(482,1674.1674804688,1028.404296875,11.0703125,0,-1,-1);
AddStaticVehicle(482,1677.9169921875,1028.4702148438,11.0703125,0,-1,-1);
AddStaticVehicle(482,1680.6713867188,1028.2680664063,11.0703125,0,-1,-1);
AddStaticVehicle(515,1681.181640625,986.57849121094,11.974033355713,0,-1,-1);
AddStaticVehicle(515,1677.3572998047,986.54699707031,11.974033355713,0,-1,-1);
AddStaticVehicle(515,1673.236328125,986.70947265625,11.974033355713,0,-1,-1);
AddStaticVehicle(515,1669.1672363281,986.62683105469,11.974033355713,0,-1,-1);
AddStaticVehicle(435,1664.6231689453,987.91680908203,11.873511314392,0,-1,-1);
AddStaticVehicle(435,1661.0946044922,987.69195556641,11.873511314392,0,-1,-1);
AddStaticVehicle(435,1657.7589111328,987.76232910156,11.873511314392,0,-1,-1);
AddStaticVehicle(435,1654.4239501953,987.83264160156,11.873511314392,0,-1,-1);
AddStaticVehicle(578,-2170.5122070313,-220.87509155273,36.0703125,268,-1,-1);
AddStaticVehicle(578,-2170.4956054688,-216.84378051758,36.0703125,267.99499511719,-1,-1);
AddStaticVehicle(578,-2170.2307128906,-212.78251647949,36.0703125,267.99499511719,-1,-1);
AddStaticVehicle(578,-2169.9360351563,-208.96919250488,36.0703125,267.99499511719,-1,-1);
AddStaticVehicle(578,-2170.009765625,-204.96948242188,36.0703125,267.99499511719,-1,-1);
AddStaticVehicle(515,-2103.5075683594,-197.6435638916,36.474033355713,90,-1,-1);
AddStaticVehicle(515,-2114.3334960938,-197.61155700684,36.474033355713,90,-1,-1);
AddStaticVehicle(515,-2103.0268554688,-202.85218811035,36.474033355713,90,-1,-1);
AddStaticVehicle(515,-2114.1313476563,-203.02416992188,36.474033355713,90,-1,-1);
AddStaticVehicle(514,-2103.3266601563,-207.39587402344,36.019989013672,90,-1,-1);
AddStaticVehicle(514,-2114.6494140625,-207.28999328613,36.019989013672,90,-1,-1);
AddStaticVehicle(514,-2103.3100585938,-211.42561340332,36.019989013672,90,-1,-1);
AddStaticVehicle(514,-2114.6628417969,-211.56748962402,36.019989013672,90,-1,-1);
AddStaticVehicle(403,-2114.1877441406,-216.20706176758,36.020313262939,90,-1,-1);
AddStaticVehicle(403,-2103.4113769531,-216.44171142578,36.020313262939,90,-1,-1);
AddStaticVehicle(403,-2103.2990722656,-220.71942138672,36.020313262939,90,-1,-1);
AddStaticVehicle(403,-2114.1206054688,-220.98266601563,36.020313262939,90,-1,-1);
AddStaticVehicle(435,-2132.1696777344,-260.84237670898,36.373512268066,0,-1,-1);
AddStaticVehicle(435,-2127.8566894531,-261.02127075195,36.373512268066,0,-1,-1);
AddStaticVehicle(435,-2124.0397949219,-261.2663269043,36.373512268066,0,-1,-1);
AddStaticVehicle(435,-2120.0078125,-261.23046875,36.373512268066,0,-1,-1);
AddStaticVehicle(435,-2115.9418945313,-261.04449462891,36.373512268066,0,-1,-1);
AddStaticVehicle(435,-2111.8754882813,-260.85797119141,36.373512268066,0,-1,-1);
AddStaticVehicle(435,-2108.0435902344,-260.72869873047,36.373512268066,0,-1,-1);
AddStaticVehicle(435,-2103.9858398438,-260.54254150391,36.373512268066,0,-1,-1);
AddStaticVehicle(435,-2099.8623046875,-260.59936523438,36.373512268066,0,-1,-1);
AddStaticVehicle(482,-2132.4243164063,-116.37313842773,35.5703125,0,-1,-1);
AddStaticVehicle(482,-2129.4138183594,-116.32592773438,35.5703125,0,-1,-1);
AddStaticVehicle(482,-2126.4030761719,-116.27807617188,35.5703125,0,-1,-1);
AddStaticVehicle(482,-2123.6411132813,-116.2548828125,35.5703125,0,-1,-1);
AddStaticVehicle(482,-2120.8793945313,-116.232421875,35.5703125,0,-1,-1);
AddStaticVehicle(482,-2118.0930175781,-116.45874023438,35.5703125,0,-1,-1);
AddStaticVehicle(482,-2115.5803222656,-116.46020507813,35.5703125,0,-1,-1);
AddStaticVehicle(482,-2112.8188476563,-116.4375,35.5703125,0,-1,-1);
AddStaticVehicle(482,-2112.7492675781,-122.20874023438,35.5703125,0,-1,-1);
AddStaticVehicle(482,-2115.5102539063,-122.23046875,35.5703125,0,-1,-1);
AddStaticVehicle(482,-2118.2709960938,-122.2529296875,35.5703125,0,-1,-1);
AddStaticVehicle(482,-2120.7834472656,-122.25073242188,35.5703125,0,-1,-1);
AddStaticVehicle(482,-2123.7932128906,-122.29711914063,35.5703125,0,-1,-1);
AddStaticVehicle(482,-2126.5544433594,-122.31958007813,35.5703125,0,-1,-1);
AddStaticVehicle(482,-2129.8371582031,-122.14233398438,35.5703125,0,-1,-1);
AddStaticVehicle(482,-2132.8469238281,-122.18872070313,35.5703125,0,-1,-1);
AddStaticVehicle(515,-473.97799682617,-475.2571105957,26.677158355713,0,-1,-1);
AddStaticVehicle(515,-478.97692871094,-475.17749023438,26.677158355713,0,-1,-1);
AddStaticVehicle(515,-484.22592163086,-475.09344482422,26.677158355713,0,-1,-1);
AddStaticVehicle(515,-489.22497558594,-475.01342773438,26.677158355713,0,-1,-1);
AddStaticVehicle(514,-494.6575012207,-474.77490234375,26.223112106323,0,-1,-1);
AddStaticVehicle(514,-499.44686889648,-475.20559692383,26.223112106323,0,-1,-1);
AddStaticVehicle(514,-504.18585205078,-474.88790893555,26.223112106323,0,-1,-1);
AddStaticVehicle(514,-508.92541503906,-474.57073974609,26.223112106323,0,-1,-1);
AddStaticVehicle(403,-514.44677734375,-474.42199707031,26.223438262939,0,-1,-1);
AddStaticVehicle(403,-519.74346923828,-474.48559570313,26.223438262939,0,-1,-1);
AddStaticVehicle(403,-435.64624023438,-474.94549560547,26.223438262939,0,-1,-1);
AddStaticVehicle(403,-529.62670898438,-474.85202026367,26.223438262939,0,-1,-1);
AddStaticVehicle(435,-520.13830566406,-499.23321533203,26.162803649902,0,-1,-1);
AddStaticVehicle(435,-525.49029541016,-497.68637084961,26.576637268066,0,-1,-1);
AddStaticVehicle(435,-529.70056152344,-497.71398925781,26.576637268066,0,-1,-1);
AddStaticVehicle(435,-534.82501220703,-498.26226806641,26.576637268066,0,-1,-1);
AddStaticVehicle(435,-538.60748291016,-498.23968505859,26.576637268066,0,-1,-1);
AddStaticVehicle(435,-543.13354492188,-498.11376953125,26.576637268066,0,-1,-1);
AddStaticVehicle(435,-547.41131591797,-498.02227783203,26.576637268066,0,-1,-1);
AddStaticVehicle(435,-551.51098632813,-498.46020507813,26.576637268066,0,-1,-1);
AddStaticVehicle(435,-557.4990234375,-498.08862304688,26.576637268066,0,-1,-1);
AddStaticVehicle(435,-562.23974609375,-497.79391479492,26.576637268066,0,-1,-1);
AddStaticVehicle(435,-565.98193359375,-497.56088256836,26.576637268066,0,-1,-1);
AddStaticVehicle(435,-569.73962402344,-497.57797241211,26.576637268066,0,-1,-1);
AddStaticVehicle(456,-468.87689208984,-520.81530761719,25.76784324646,0,-1,-1);
AddStaticVehicle(456,-472.23806762695,-520.72277832031,25.76784324646,0,-1,-1);
AddStaticVehicle(482,-469.54376220703,-495.47729492188,25.76784324646,92,-1,-1);
AddStaticVehicle(482,-469.51834106445,-497.84805297852,25.76784324646,91.99951171875,-1,-1);
AddStaticVehicle(482,-469.41143798828,-500.45547485352,25.76784324646,91.99951171875,-1,-1);
AddStaticVehicle(482,-469.54132080078,-503.14440917969,25.76784324646,91.99951171875,-1,-1);
AddStaticVehicle(482,-469.67120361328,-505.83288574219,25.76784324646,91.99951171875,-1,-1);
AddStaticVehicle(482,-469.80108642578,-508.52136230469,25.76784324646,91.99951171875,-1,-1);
AddStaticVehicle(456,-78.004264831543,-1108.1759033203,1.328125,162,-1,-1);
AddStaticVehicle(456,-74.431289672852,-1109.3146972656,1.328125,161.99890136719,-1,-1);
AddStaticVehicle(456,-70.619873046875,-1110.529296875,1.328125,161.99890136719,-1,-1);
AddStaticVehicle(456,-67.046435047852,-1111.6682128906,1.328125,161.99890136719,-1,-1);
AddStaticVehicle(515,-60.986499786377,-1130.9918212891,2.2318458557129,70,-1,-1);
AddStaticVehicle(515,-62.331848144531,-1134.7587890625,2.2318458557129,69.999328613281,-1,-1);
AddStaticVehicle(515,-63.760669708252,-1138.7618408203,2.2318458557129,69.993896484375,-1,-1);
AddStaticVehicle(515,-62.683765411377,-1143.9254150391,2.2318458557129,69.993896484375,-1,-1);
AddStaticVehicle(435,-51.167015075684,-1134.83984375,2.1313240528107,70,-1,-1);
AddStaticVehicle(435,-52.65975189209,-1138.6258544922,2.1313240528107,69.999328613281,-1,-1);
AddStaticVehicle(435,-54.15193939209,-1142.4110107422,2.1313240528107,69.993896484375,-1,-1);
AddStaticVehicle(435,-52.792770385742,-1147.2540283203,2.1313240528107,71.993896484375,-1,-1);
AddStaticVehicle(482,-81.560340881348,-1136.6220703125,1.328125,0,-1,-1);
AddStaticVehicle(482,-84.443939208984,-1135.7973632813,1.328125,0,-1,-1);
AddStaticVehicle(514,2113.7702636719,-2160.3725585938,14.246549606323,180,-1,-1);
AddStaticVehicle(514,2117.4354140625,-2160.5263671875,14.246549606323,180,-1,-1);
AddStaticVehicle(514,2121.3061523438,-2160.4321289063,14.246549606323,180,-1,-1);
AddStaticVehicle(514,2125.060546875,-2160.5859375,14.246549606323,180,-1,-1);
AddStaticVehicle(435,2113.5424804688,-2150.21484375,14.600073814392,180,-1,-1);
AddStaticVehicle(435,2117.5419921875,-2150.25390625,14.600073814392,180,-1,-1);
AddStaticVehicle(435,2121.2919921875,-2150.2905273438,14.600073814392,180,-1,-1);
AddStaticVehicle(435,2125.0419921875,-2150.3266601563,14.600073814392,180,-1,-1);
AddStaticVehicle(482,2134.7646484375,-2166.8283691406,13.804370880127,0,-1,-1);
AddStaticVehicle(482,2137.7097167969,-2164.5048828125,13.804370880127,0,-1,-1);
AddStaticVehicle(482,2140.3918457031,-2161.6877441406,13.804370880127,0,-1,-1);
AddStaticVehicle(482,2140.3918457031,-2161.6877441406,13.804370880127,0,-1,-1);
return 1;
}
public OnPlayerConnect(playerid)
{
    SendClientMessage(playerid, 0xFF0000AA, \"Kamionos FilterScript Betöltve Készítette: Gumikacsa! Segítség:/kamionos\");
    M_OnPlayerConnect(playerid);
    IsPlayerInMission[playerid] = 0;// reset
    return 1;
}
public OnPlayerDisconnect(playerid, reason)
{
    M_OnPlayerDisconnect(playerid);
    return 1;
}
public OnPlayerCommandText(playerid, cmdtext[])
{
    if(!strcmp(\"/munka\", cmdtext, true))
    {
new pvehiclemodel = GetVehicleModel(GetPlayerVehicleID(playerid));
    if (pvehiclemodel == 403 || pvehiclemodel == 514 || pvehiclemodel == 515)
{
if (IsPlayerInMission[playerid] == 1) return SendClientMessage(playerid, 0xFF0000AA, \">>Már Dolgozol Ha Nemakarsz akkor /nemdolgozom !\");
new rand = random(sizeof(TruckingMissionRandom));
IsPlayerInMission[playerid] = 1;
CreatePlayerMission(playerid, TruckingMissionRandom[rand][useTrailerCheck], TruckingMissionRandom[rand][MissionPay], TruckingMissionRandom[rand][loadx],TruckingMissionRandom[rand][loady], TruckingMissionRandom[rand][loadz], TruckingMissionRandom[rand][unloadx],TruckingMissionRandom[rand][unloady], TruckingMissionRandom[rand][unloadz]);
format(string, sizeof(string), \"[KAMIONOS FUVAR]: %s\", TruckingMissionRandom[rand][MissionName]);
SendClientMessage(playerid, 0x00FF00FF, string);
}
else
{
SendClientMessage(playerid, 0xFF0000AA, \"Sajnálom Rossz a Jármûved!Kell egy RoadTrain és egy Artic Trailer 1!\");
}
return 1;
    }
    if(!strcmp(\"/nemdolgozom\", cmdtext, true))
    {
    if (IsPlayerInMission[playerid] == 0) return SendClientMessage(playerid, 0xFF0000AA, \"Nem Dolgozol ga Dolgozni akarsz akkor /munka!\");
    IsPlayerInMission[playerid] = 0;
    CancelPlayersCurrentMission(playerid);
    return 1;
    }
    //flip
if(!strcmp(cmdtext, \"/flip\", true))
{
new Float:var0 = 0.0, Float:var1 = 0.0, Float:var2 = 0.0;
if(IsPlayerInAnyVehicle(playerid))
{
SetCameraBehindPlayer(playerid);
}
GetPlayerPos(playerid, var0, var1, var2);
SetVehiclePos(GetPlayerVehicleID(playerid), var0, var1, var2);
SetVehicleZAngle(GetPlayerVehicleID(playerid), 0.0);
return 1;
}
//javit
if(!strcmp(cmdtext, \"/javit\", true))
{
if(!IsPlayerInAnyVehicle(playerid))
{
return SendClientMessage(playerid, 0xAA3333AA, \"HIBA: Nemvagy Kocsiban!\");
}
RepairVehicle(GetPlayerVehicleID(playerid));
SendClientMessage(playerid, 0x33AA33AA, \"Jármûved Megjavítva!\");
return 1;
}
if(!strcmp(cmdtext, \"/lekapcsol\", true))
{
new var0 = 0;
var0 = GetPlayerVehicleID(playerid);
DetachTrailerFromVehicle(var0);
SendClientMessage(playerid, 0x375FFFFF, \"Pótkocsi Lekapcsolva\");
return 1;
}
//Kamionos parancsok Listája
if(!strcmp(cmdtext, \"/kamionos\", true))
{
ShowPlayerDialog(playerid,3000, DIALOG_STYLE_MSGBOX, \"Parancsok\",
\"{FF9900}Hello {33CCFF}Kamionos Parancsok:\\n{33AA00}/flip /javit /munka\\n{FF0000}/nemdolgozom /lekapcsol\",\"Oké\",\"Oké\");
return 1;
}
    return 0;
}
public OnPlayerDeath(playerid, killerid, reason)
{
    if (IsPlayerInMission[playerid] == 1)
    {
CancelPlayersCurrentMission(playerid);// Leállítja a Fuvart
    IsPlayerInMission[playerid] = 0;
    }
    return 1;
}
public OnPlayerEnterCheckpoint(playerid)
{
    M_OnPlayerEnterCheckpoint(playerid);
      GetPlayerName(playerid, name, sizeof(name));
format(string, sizeof(string), \"%s Le/Fel Rakodnak a Kamionjára .\",name); //szöveg
SendClientMessageToAll(0x00FF00FF, string);
    return 1;
}
public OnPlayerEnterRaceCheckpoint(playerid)
{
    M_OnPlayerEnterRaceCheckpoint(playerid);
    return 1;
}
public OnPlayerFinishMission(playerid)
{
    SendClientMessage(playerid, 0x00FF00FF, \"Levittél egy Fuvart!\");
GetPlayerName(playerid, name, sizeof(name));
format(string, sizeof(string), \"%s Befejezett egy Kamionos Fuvart .\",name); //szöveg
SendClientMessageToAll(0x00FF00FF, string);
    return 1;
}
[/pawn]
ezt akartam betenni
« Utoljára szerkesztve: 2011. október 15. - 16:09:28 írta Gumimaci »

Pawno
« Válasz #1 Dátum: 2011. október 15. - 16:07:12 »
0 Show voters
mért irod Kamionos Munka Filterscript By:
Gumimaci
ez gumikacsáé

Nem elérhető Benceee

  • 4785
    • Profil megtekintése
Pawno
« Válasz #2 Dátum: 2011. október 15. - 16:09:00 »
0 Show voters
Itt a jó:
[pawn]/*======================================
Kamionos Munka Filterscript By:
Gumimaci
---------[Parancsok:]-----------
-/munka
-/nemdolgozom
-/kamionos
-/filp
-/javit
-/lekapcsol
-------[Küldetések Száma]------------
-10
--------[Küldön Köszönet]-------------
Whatcha a.k.a. Rokzlive
a Fuvarokért és a Kamionokért
======================================*/
//Alap Include
#include <a_samp>
//A Küldikhez egy Include
#include <TruckingMissions>
//elcsúszhatnak a sorok
#pragma tabsize 0
#if defined FILTERSCRIPT // definiáljuk hogy ez egy filterscript
#define FILTERSCRIPT
#define DIALOG_KEZD 3000
//alap szinkódok
#define COLOR_GREY 0xAFAFAFAA //szürke
#define COLOR_GREEN 0x33AA33AA //zöld
#define COLOR_RED 0xAA3333AA //piros
#define COLOR_YELLOW 0xFFFF00AA //sárga
#define COLOR_WHITE 0xFFFFFFAA  //fehér
#define COLOR_LIGHTRED 0xED0321AA //piros2
#define COLOR_LIGHTBLUE 0x33CCFFAA//világoskék
public OnFilterScriptInit()
{
    print(\"\\n=================================================\");
    print(\" Kamionos Filterscript by Gumikacsa!\");
    print(\"=================================================\\n\");
return 1;
}
public OnFilterScriptExit()
{
return 1;
}
#endif
enum TruckingMissionInfo
{
    MissionName[200],
    bool:UseTrailerCheck,
    MissionPay,
    Float:loadx,
    Float:loady,
    Float:loadz,
    Float:unloadx,
    Float:unloady,
    Float:unloadz
}
new TruckingMissionRandom[][TruckingMissionInfo] =
{
    // {\"Mission Text\", UseTrailerCheck, MissionPay, loadx, loady, loadz, unloadx, unloady, unloadz}
    /* KEY:
    ** \"Mission Text\" = Amit Kiírjon a Fuvarkor
    ** UseTrailerCheck = Hogy Kell-e Pót. Ex: Roadtrain és Artict1 trailer!
    ** MissionPay = Hogy Mennyit adjon egy Fuvarnál!
    ** loadx, loady, and loadz = Rakodás Cehckpont X,Y,Z!
    ** unloadx, unloadx, unloadx = Lerakodás Checkpint X,Y,Z!
    */
{\"Szesz: Rakodás: Lövéte-KamionosTelep: Szeszfeldolgozó Üzem\", true, 9000, 3792.1018, -1885.9493, 11.5172, 2513.1743, -2086.8723, 13.5469},
{\"Téli Tüzifa: Rakodás: Lövéte-KamionosTelep: SF-Rendõrség\", true, 9000, 3792.1018, -1885.9493, 11.5172, 541,-1631.7162,676.6823},
{\"Limlomok: Rakodás: Épitkezési Terület Lerakodás: KamionosTelep2\", true, 523,-2132.0244,175.9428,34.8683, 523,-2144.5327,-135.8543,36.0927,61.4082,3,107},
{\"Titkos Eszközök: Rakodás: Randolf Industrial Estate Lerakodás: Area 69\", true, 5000, 1594.1290283203, 724.00372314453, 10.469537734985, 134.54122924805, 1945.7899169922, 19.001808166504},
{\"Dobozok: Rakodás: LV Depot Lerakodás: SF Depot\", true, 7500, 1723.5736083984, 979.20190429688, 10.469537734985, -2129.4470214844, -84.854187011719, 34.969539642334},
{\"Porpellerek: Rakodás Ls Dokkok Raktár 1 Lerkaodás: Verdant Meadows\", true, 8000,  2777.7497558594, -2417.4836425781, 13.285341262817, 377.30389404297, 2534.0485839844, 16.250215530396},
{\"Levelek: Rakodás: Area 69 Lerakodás 5 Tree Logistics\", true, 6500, 134.54122924805, 1945.7899169922, 19.001808166504, -493.13043212891, -514.57434082031, 25.167068481445},
{\"Sebsségváltók: Rakodás: 5 Tree Logistics Lerakodás: Las Venturas Repülõtér\", true, 8000, -493.13043212891, -514.57434082031, 25.167068481445, 1627.9038085938, 1611.8803710938, 20.285793304443},
{\"Oxigén: Rakodás: RS Haul Lerakodás: SF Repülõtér\", true, 7000, -83.956573486328, -1126.0145263672, 0.73391342163086, -1447.4144287109, -437.23773193359, 5.5075283050537},
{\"Radarok: Rakodás: Verdant Meadows Lerakodás: San Fierro Repülõtér\", true, 8500, 377.30389404297, 2534.0485839844, 16.250215530396, -1447.4144287109, -437.23773193359, 5.5075283050537} //kenguru
};
new name[MAX_PLAYER_NAME], string[44];
new IsPlayerInMission[MAX_PLAYERS] = 0;
public OnFilterScriptInit ()
{
    CreateObject(5112,2936.197265625,-1958.0688476563,6.25,0,0,0);
CreateObject(5112,3080.6958007813,-1958.0428466797,6.25,0,0,0);
CreateObject(5112,3233.1323242188,-1958.0546875,6.25,0,0,0);
CreateObject(5112,3384.1000976563,-1958.0362548828,6.25,0,0,0);
CreateObject(5112,3535.4604492188,-1958.1494140625,6.25,0,0,0);
CreateObject(5112,3680.2158203125,-1958.1612548828,6.25,0,0,0);
CreateObject(5112,3829.3715820313,-1958.1810302734,6.25,0,0,0);
CreateObject(5145,3959.2055664063,-1901.923828125,0.26378631591797,0,0,0);
CreateObject(5184,3811.1899414063,-1806.9571533203,29.649993896484,0,0,180);
CreateObject(5184,3812.6337890625,-1892.7583007813,29.399993896484,0,0,1.9945068359375);
CreateObject(5184,3811.8159179688,-1868.9151611328,28.899993896484,0,0,181.99401855469);
CreateObject(3689,3820.5021972656,-1809.0211181641,18.753711700439,0,0,0);
CreateObject(3707,3768.8588867188,-1874.0847167969,18.523086547852,0,0,0);
CreateObject(3755,3865.4189453125,-1864.6309814453,16.231666564941,0,0,180);
CreateObject(5309,3865.7836914063,-1899.3605957031,13.641693115234,0,0,0);
CreateObject(7019,3949.9885253906,-1925.5786132813,14.330154418945,0,0,0);
CreateObject(3578,3962.9753417969,-1878.5802001953,11.514381408691,0,0,90);
CreateObject(3578,3962.974609375,-1878.580078125,12.264381408691,0,0,90);
CreateObject(3578,3962.6442871094,-1936.3754882813,12.264381408691,0,0,90);
CreateObject(3578,3962.6435546875,-1936.375,13.014381408691,0,0,90);
AddStaticVehicle(403,3915.8657226563,-1998.6021728516,12.290036201477,0,-1,-1);
AddStaticVehicle(403,3921.2583007813,-1998.5010986328,12.290036201477,0,-1,-1);
AddStaticVehicle(403,3926.4072265625,-1998.3460693359,12.290036201477,0,-1,-1);
AddStaticVehicle(514,3937.0773925781,-1998.2034912109,12.442512512207,0,-1,-1);
AddStaticVehicle(514,3941.5727539063,-1998.4250488281,12.442512512207,0,-1,-1);
AddStaticVehicle(514,3946.080078125,-1998.3969726563,12.442512512207,0,-1,-1);
AddStaticVehicle(514,3932.0356445313,-1998.2434082031,12.442512512207,0,-1,-1);
AddStaticVehicle(515,3954.9963378906,-1998.6241455078,12.896456718445,0,-1,-1);
AddStaticVehicle(515,3960.0034179688,-1998.6208496094,12.896456718445,0,-1,-1);
AddStaticVehicle(515,3965.2478027344,-1998.8790283203,12.896456718445,0,-1,-1);
AddStaticVehicle(515,3950.1440429688,-1998.6145019531,12.896456718445,0,-1,-1);
AddStaticVehicle(435,3965.0688476563,-2009.3623046875,11.97119140625,0,-1,-1);
AddStaticVehicle(435,3960.5727539063,-2009.1975097656,11.97119140625,0,-1,-1);
AddStaticVehicle(435,3955.3273925781,-2009.0050048828,11.97119140625,0,-1,-1);
AddStaticVehicle(435,3949.814453125,-2009.3032226563,11.97119140625,0,-1,-1);
AddStaticVehicle(435,3945.818359375,-2009.15625,11.97119140625,0,-1,-1);
AddStaticVehicle(435,3941.5725097656,-2009.0006103516,11.97119140625,0,-1,-1);
AddStaticVehicle(435,3937.0766601563,-2008.8352050781,11.97119140625,0,-1,-1);
AddStaticVehicle(435,3932.0810546875,-2008.6518554688,11.97119140625,0,-1,-1);
AddStaticVehicle(435,3926.5864257813,-2008.4499511719,11.97119140625,0,-1,-1);
AddStaticVehicle(435,3921.5908203125,-2008.2661132813,11.97119140625,0,-1,-1);
AddStaticVehicle(435,3915.8464355469,-2008.0550537109,11.97119140625,0,-1,-1);
CreateObject(3620,3798.6608886719,-1913.5465087891,23.612619400024,0,0,0);
CreateObject(10830,4021.9831542969,-1987.1022949219,18.951999664307,0,0,44);
CreateObject(10831,4027.2387695313,-1822.6650390625,15.663994789124,0,0,0);
CreateObject(5313,3956.24609375,-1816.0770263672,23.734321594238,0,0,0);
CreateObject(7495,4013.1765136719,-1897.8447265625,14.32693862915,0,0,0);
AddStaticVehicle(403,2861.2800292969,937.35540771484,11.449999809265,90,-1,-1);
AddStaticVehicle(403,2861.5532226563,933.11383056641,11.449999809265,90,-1,-1);
AddStaticVehicle(403,2861.8271484375,928.87316894531,11.449999809265,90,-1,-1);
AddStaticVehicle(403,2862.0849609375,924.8818359375,11.449999809265,90,-1,-1);
AddStaticVehicle(515,2861.779296875,920.45599365234,11.903720855713,90,-1,-1);
AddStaticVehicle(515,2862.1086425781,915.71667480469,11.903720855713,90,-1,-1);
AddStaticVehicle(515,2862.4204101563,911.22680664063,11.903720855713,90,-1,-1);
AddStaticVehicle(515,2862.7666015625,906.23876953125,11.903720855713,90,-1,-1);
AddStaticVehicle(514,2832.4946289063,978.59484863281,11.449674606323,180,-1,-1);
AddStaticVehicle(514,2836.2534179688,978.54650878906,11.449674606323,180,-1,-1);
AddStaticVehicle(514,2840.01171875,978.49755859375,11.449674606323,180,-1,-1);
AddStaticVehicle(514,2843.7705078125,978.44873046875,11.449674606323,180,-1,-1);
AddStaticVehicle(482,2833.3776855469,940.80462646484,11,0,-1,-1);
AddStaticVehicle(482,2830.6154785156,940.83087158203,11,0,-1,-1);
AddStaticVehicle(482,2827.0854492188,941.12731933594,11,0,-1,-1);
AddStaticVehicle(482,2824.3020019531,941.31982421875,11,0,-1,-1);
AddStaticVehicle(482,2820.7944335938,941.36505126953,11,0,-1,-1);
AddStaticVehicle(578,2813.3530273438,899.18426513672,11.507797241211,0,-1,-1);
AddStaticVehicle(578,2809.8188476563,899.11547851563,11.507797241211,0,-1,-1);
AddStaticVehicle(578,2806.0366210938,899.07769775391,11.507797241211,0,-1,-1);
AddStaticVehicle(578,2802.0063476563,899.07019042969,11.507797241211,0,-1,-1);
AddStaticVehicle(578,2797.9760742188,899.06237792969,11.507797241211,0,-1,-1);
AddStaticVehicle(435,2870.826171875,924.73291015625,11.803198814392,90,-1,-1);
AddStaticVehicle(435,2870.974609375,928.7294921875,11.803198814392,90,-1,-1);
AddStaticVehicle(435,2870.8918457031,933.23553466797,11.803198814392,90,-1,-1);
AddStaticVehicle(435,2870.7902832031,937.24176025391,11.803198814392,90,-1,-1);
AddStaticVehicle(435,2871.4152832031,920.46636962891,11.803198814392,90,-1,-1);
AddStaticVehicle(435,2871.73828125,915.70062255859,11.803198814392,90,-1,-1);
AddStaticVehicle(435,2871.8303222656,911.44396972656,11.803198814392,90,-1,-1);
AddStaticVehicle(435,2872.1440429688,906.42834472656,11.803198814392,90,-1,-1);
AddStaticVehicle(435,2832.544921875,989.47448730469,11.803198814392,180,-1,-1);
AddStaticVehicle(435,2836.3022460938,989.49896240234,11.803198814392,180,-1,-1);
AddStaticVehicle(435,2840.3083496094,989.54168701172,11.803198814392,180,-1,-1);
AddStaticVehicle(435,2844.0656738281,989.56701660156,11.803198814392,180,-1,-1);
AddStaticVehicle(456,2832.2348632813,898.12139892578,11.007797241211,0,-1,-1);
AddStaticVehicle(456,2836.0178222656,898.01196289063,11.007797241211,0,-1,-1);
AddStaticVehicle(456,2839.7751464844,898.15124511719,11.007797241211,0,-1,-1);
AddStaticVehicle(456,2843.283203125,898.26403808594,11.007797241211,0,-1,-1);
AddStaticVehicle(456,2846.7919921875,898.37731933594,11.007797241211,0,-1,-1);
AddStaticVehicle(456,2850.5495605469,898.51647949219,11.007797241211,0,-1,-1);
AddStaticVehicle(456,1681.0671386719,1041.2723388672,11.0703125,0,-1,-1);
AddStaticVehicle(456,1677.7806396484,1041.3806152344,11.0703125,0,-1,-1);
AddStaticVehicle(456,1674.4352919922,1041.2408447266,11.0703125,0,-1,-1);
AddStaticVehicle(456,1670.9895019531,1041.3195800781,11.0703125,0,-1,-1);
AddStaticVehicle(456,1667.7034912109,1041.4284667969,11.0703125,0,-1,-1);
AddStaticVehicle(414,1664.7110595703,1041.2944335938,10.97031211853,0,-1,-1);
AddStaticVehicle(414,1661.9215087891,1041.4626464844,10.97031211853,0,-1,-1);
AddStaticVehicle(414,1658.6649169922,1041.3228759766,10.97031211853,0,-1,-1);
AddStaticVehicle(414,1655.3782958984,1041.4313964844,10.97031211853,0,-1,-1);
AddStaticVehicle(414,1652.3403320313,1041.5695800781,10.97031211853,0,-1,-1);
AddStaticVehicle(482,1651.9052734375,1028.7640380859,11.0703125,0,-1,-1);
AddStaticVehicle(482,1655.4052734375,1028.8251953125,11.0703125,0,-1,-1);
AddStaticVehicle(482,1658.6596679688,1028.6323242188,11.0703125,0,-1,-1);
AddStaticVehicle(482,1661.6591796875,1028.6845703125,11.0703125,0,-1,-1);
AddStaticVehicle(482,1664.9135742188,1028.4916992188,11.0703125,0,-1,-1);
AddStaticVehicle(482,1668.1635742188,1028.548828125,11.0703125,0,-1,-1);
AddStaticVehicle(482,1671.1630859375,1028.6015625,11.0703125,0,-1,-1);
AddStaticVehicle(482,1674.1674804688,1028.404296875,11.0703125,0,-1,-1);
AddStaticVehicle(482,1677.9169921875,1028.4702148438,11.0703125,0,-1,-1);
AddStaticVehicle(482,1680.6713867188,1028.2680664063,11.0703125,0,-1,-1);
AddStaticVehicle(515,1681.181640625,986.57849121094,11.974033355713,0,-1,-1);
AddStaticVehicle(515,1677.3572998047,986.54699707031,11.974033355713,0,-1,-1);
AddStaticVehicle(515,1673.236328125,986.70947265625,11.974033355713,0,-1,-1);
AddStaticVehicle(515,1669.1672363281,986.62683105469,11.974033355713,0,-1,-1);
AddStaticVehicle(435,1664.6231689453,987.91680908203,11.873511314392,0,-1,-1);
AddStaticVehicle(435,1661.0946044922,987.69195556641,11.873511314392,0,-1,-1);
AddStaticVehicle(435,1657.7589111328,987.76232910156,11.873511314392,0,-1,-1);
AddStaticVehicle(435,1654.4239501953,987.83264160156,11.873511314392,0,-1,-1);
AddStaticVehicle(578,-2170.5122070313,-220.87509155273,36.0703125,268,-1,-1);
AddStaticVehicle(578,-2170.4956054688,-216.84378051758,36.0703125,267.99499511719,-1,-1);
AddStaticVehicle(578,-2170.2307128906,-212.78251647949,36.0703125,267.99499511719,-1,-1);
AddStaticVehicle(578,-2169.9360351563,-208.96919250488,36.0703125,267.99499511719,-1,-1);
AddStaticVehicle(578,-2170.009765625,-204.96948242188,36.0703125,267.99499511719,-1,-1);
AddStaticVehicle(515,-2103.5075683594,-197.6435638916,36.474033355713,90,-1,-1);
AddStaticVehicle(515,-2114.3334960938,-197.61155700684,36.474033355713,90,-1,-1);
AddStaticVehicle(515,-2103.0268554688,-202.85218811035,36.474033355713,90,-1,-1);
AddStaticVehicle(515,-2114.1313476563,-203.02416992188,36.474033355713,90,-1,-1);
AddStaticVehicle(514,-2103.3266601563,-207.39587402344,36.019989013672,90,-1,-1);
AddStaticVehicle(514,-2114.6494140625,-207.28999328613,36.019989013672,90,-1,-1);
AddStaticVehicle(514,-2103.3100585938,-211.42561340332,36.019989013672,90,-1,-1);
AddStaticVehicle(514,-2114.6628417969,-211.56748962402,36.019989013672,90,-1,-1);
AddStaticVehicle(403,-2114.1877441406,-216.20706176758,36.020313262939,90,-1,-1);
AddStaticVehicle(403,-2103.4113769531,-216.44171142578,36.020313262939,90,-1,-1);
AddStaticVehicle(403,-2103.2990722656,-220.71942138672,36.020313262939,90,-1,-1);
AddStaticVehicle(403,-2114.1206054688,-220.98266601563,36.020313262939,90,-1,-1);
AddStaticVehicle(435,-2132.1696777344,-260.84237670898,36.373512268066,0,-1,-1);
AddStaticVehicle(435,-2127.8566894531,-261.02127075195,36.373512268066,0,-1,-1);
AddStaticVehicle(435,-2124.0397949219,-261.2663269043,36.373512268066,0,-1,-1);
AddStaticVehicle(435,-2120.0078125,-261.23046875,36.373512268066,0,-1,-1);
AddStaticVehicle(435,-2115.9418945313,-261.04449462891,36.373512268066,0,-1,-1);
AddStaticVehicle(435,-2111.8754882813,-260.85797119141,36.373512268066,0,-1,-1);
AddStaticVehicle(435,-2108.0435902344,-260.72869873047,36.373512268066,0,-1,-1);
AddStaticVehicle(435,-2103.9858398438,-260.54254150391,36.373512268066,0,-1,-1);
AddStaticVehicle(435,-2099.8623046875,-260.59936523438,36.373512268066,0,-1,-1);
AddStaticVehicle(482,-2132.4243164063,-116.37313842773,35.5703125,0,-1,-1);
AddStaticVehicle(482,-2129.4138183594,-116.32592773438,35.5703125,0,-1,-1);
AddStaticVehicle(482,-2126.4030761719,-116.27807617188,35.5703125,0,-1,-1);
AddStaticVehicle(482,-2123.6411132813,-116.2548828125,35.5703125,0,-1,-1);
AddStaticVehicle(482,-2120.8793945313,-116.232421875,35.5703125,0,-1,-1);
AddStaticVehicle(482,-2118.0930175781,-116.45874023438,35.5703125,0,-1,-1);
AddStaticVehicle(482,-2115.5803222656,-116.46020507813,35.5703125,0,-1,-1);
AddStaticVehicle(482,-2112.8188476563,-116.4375,35.5703125,0,-1,-1);
AddStaticVehicle(482,-2112.7492675781,-122.20874023438,35.5703125,0,-1,-1);
AddStaticVehicle(482,-2115.5102539063,-122.23046875,35.5703125,0,-1,-1);
AddStaticVehicle(482,-2118.2709960938,-122.2529296875,35.5703125,0,-1,-1);
AddStaticVehicle(482,-2120.7834472656,-122.25073242188,35.5703125,0,-1,-1);
AddStaticVehicle(482,-2123.7932128906,-122.29711914063,35.5703125,0,-1,-1);
AddStaticVehicle(482,-2126.5544433594,-122.31958007813,35.5703125,0,-1,-1);
AddStaticVehicle(482,-2129.8371582031,-122.14233398438,35.5703125,0,-1,-1);
AddStaticVehicle(482,-2132.8469238281,-122.18872070313,35.5703125,0,-1,-1);
AddStaticVehicle(515,-473.97799682617,-475.2571105957,26.677158355713,0,-1,-1);
AddStaticVehicle(515,-478.97692871094,-475.17749023438,26.677158355713,0,-1,-1);
AddStaticVehicle(515,-484.22592163086,-475.09344482422,26.677158355713,0,-1,-1);
AddStaticVehicle(515,-489.22497558594,-475.01342773438,26.677158355713,0,-1,-1);
AddStaticVehicle(514,-494.6575012207,-474.77490234375,26.223112106323,0,-1,-1);
AddStaticVehicle(514,-499.44686889648,-475.20559692383,26.223112106323,0,-1,-1);
AddStaticVehicle(514,-504.18585205078,-474.88790893555,26.223112106323,0,-1,-1);
AddStaticVehicle(514,-508.92541503906,-474.57073974609,26.223112106323,0,-1,-1);
AddStaticVehicle(403,-514.44677734375,-474.42199707031,26.223438262939,0,-1,-1);
AddStaticVehicle(403,-519.74346923828,-474.48559570313,26.223438262939,0,-1,-1);
AddStaticVehicle(403,-435.64624023438,-474.94549560547,26.223438262939,0,-1,-1);
AddStaticVehicle(403,-529.62670898438,-474.85202026367,26.223438262939,0,-1,-1);
AddStaticVehicle(435,-520.13830566406,-499.23321533203,26.162803649902,0,-1,-1);
AddStaticVehicle(435,-525.49029541016,-497.68637084961,26.576637268066,0,-1,-1);
AddStaticVehicle(435,-529.70056152344,-497.71398925781,26.576637268066,0,-1,-1);
AddStaticVehicle(435,-534.82501220703,-498.26226806641,26.576637268066,0,-1,-1);
AddStaticVehicle(435,-538.60748291016,-498.23968505859,26.576637268066,0,-1,-1);
AddStaticVehicle(435,-543.13354492188,-498.11376953125,26.576637268066,0,-1,-1);
AddStaticVehicle(435,-547.41131591797,-498.02227783203,26.576637268066,0,-1,-1);
AddStaticVehicle(435,-551.51098632813,-498.46020507813,26.576637268066,0,-1,-1);
AddStaticVehicle(435,-557.4990234375,-498.08862304688,26.576637268066,0,-1,-1);
AddStaticVehicle(435,-562.23974609375,-497.79391479492,26.576637268066,0,-1,-1);
AddStaticVehicle(435,-565.98193359375,-497.56088256836,26.576637268066,0,-1,-1);
AddStaticVehicle(435,-569.73962402344,-497.57797241211,26.576637268066,0,-1,-1);
AddStaticVehicle(456,-468.87689208984,-520.81530761719,25.76784324646,0,-1,-1);
AddStaticVehicle(456,-472.23806762695,-520.72277832031,25.76784324646,0,-1,-1);
AddStaticVehicle(482,-469.54376220703,-495.47729492188,25.76784324646,92,-1,-1);
AddStaticVehicle(482,-469.51834106445,-497.84805297852,25.76784324646,91.99951171875,-1,-1);
AddStaticVehicle(482,-469.41143798828,-500.45547485352,25.76784324646,91.99951171875,-1,-1);
AddStaticVehicle(482,-469.54132080078,-503.14440917969,25.76784324646,91.99951171875,-1,-1);
AddStaticVehicle(482,-469.67120361328,-505.83288574219,25.76784324646,91.99951171875,-1,-1);
AddStaticVehicle(482,-469.80108642578,-508.52136230469,25.76784324646,91.99951171875,-1,-1);
AddStaticVehicle(456,-78.004264831543,-1108.1759033203,1.328125,162,-1,-1);
AddStaticVehicle(456,-74.431289672852,-1109.3146972656,1.328125,161.99890136719,-1,-1);
AddStaticVehicle(456,-70.619873046875,-1110.529296875,1.328125,161.99890136719,-1,-1);
AddStaticVehicle(456,-67.046435047852,-1111.6682128906,1.328125,161.99890136719,-1,-1);
AddStaticVehicle(515,-60.986499786377,-1130.9918212891,2.2318458557129,70,-1,-1);
AddStaticVehicle(515,-62.331848144531,-1134.7587890625,2.2318458557129,69.999328613281,-1,-1);
AddStaticVehicle(515,-63.760669708252,-1138.7618408203,2.2318458557129,69.993896484375,-1,-1);
AddStaticVehicle(515,-62.683765411377,-1143.9254150391,2.2318458557129,69.993896484375,-1,-1);
AddStaticVehicle(435,-51.167015075684,-1134.83984375,2.1313240528107,70,-1,-1);
AddStaticVehicle(435,-52.65975189209,-1138.6258544922,2.1313240528107,69.999328613281,-1,-1);
AddStaticVehicle(435,-54.15193939209,-1142.4110107422,2.1313240528107,69.993896484375,-1,-1);
AddStaticVehicle(435,-52.792770385742,-1147.2540283203,2.1313240528107,71.993896484375,-1,-1);
AddStaticVehicle(482,-81.560340881348,-1136.6220703125,1.328125,0,-1,-1);
AddStaticVehicle(482,-84.443939208984,-1135.7973632813,1.328125,0,-1,-1);
AddStaticVehicle(514,2113.7702636719,-2160.3725585938,14.246549606323,180,-1,-1);
AddStaticVehicle(514,2117.4354140625,-2160.5263671875,14.246549606323,180,-1,-1);
AddStaticVehicle(514,2121.3061523438,-2160.4321289063,14.246549606323,180,-1,-1);
AddStaticVehicle(514,2125.060546875,-2160.5859375,14.246549606323,180,-1,-1);
AddStaticVehicle(435,2113.5424804688,-2150.21484375,14.600073814392,180,-1,-1);
AddStaticVehicle(435,2117.5419921875,-2150.25390625,14.600073814392,180,-1,-1);
AddStaticVehicle(435,2121.2919921875,-2150.2905273438,14.600073814392,180,-1,-1);
AddStaticVehicle(435,2125.0419921875,-2150.3266601563,14.600073814392,180,-1,-1);
AddStaticVehicle(482,2134.7646484375,-2166.8283691406,13.804370880127,0,-1,-1);
AddStaticVehicle(482,2137.7097167969,-2164.5048828125,13.804370880127,0,-1,-1);
AddStaticVehicle(482,2140.3918457031,-2161.6877441406,13.804370880127,0,-1,-1);
AddStaticVehicle(482,2140.3918457031,-2161.6877441406,13.804370880127,0,-1,-1);
return 1;
}
public OnPlayerConnect(playerid)
{
    SendClientMessage(playerid, 0xFF0000AA, \"Kamionos FilterScript Betöltve Készítette: Gumikacsa! Segítség:/kamionos\");
    M_OnPlayerConnect(playerid);
    IsPlayerInMission[playerid] = 0;// reset
    return 1;
}
public OnPlayerDisconnect(playerid, reason)
{
    M_OnPlayerDisconnect(playerid);
    return 1;
}
public OnPlayerCommandText(playerid, cmdtext[])
{
    if(!strcmp(\"/munka\", cmdtext, true))
    {
new pvehiclemodel = GetVehicleModel(GetPlayerVehicleID(playerid));
    if (pvehiclemodel == 403 || pvehiclemodel == 514 || pvehiclemodel == 515)
{
if (IsPlayerInMission[playerid] == 1) return SendClientMessage(playerid, 0xFF0000AA, \">>Már Dolgozol Ha Nemakarsz akkor /nemdolgozom !\");
new rand = random(sizeof(TruckingMissionRandom));
IsPlayerInMission[playerid] = 1;
CreatePlayerMission(playerid, TruckingMissionRandom[rand][useTrailerCheck], TruckingMissionRandom[rand][MissionPay], TruckingMissionRandom[rand][loadx],TruckingMissionRandom[rand][loady], TruckingMissionRandom[rand][loadz], TruckingMissionRandom[rand][unloadx],TruckingMissionRandom[rand][unloady], TruckingMissionRandom[rand][unloadz]);
format(string, sizeof(string), \"[KAMIONOS FUVAR]: %s\", TruckingMissionRandom[rand][MissionName]);
SendClientMessage(playerid, 0x00FF00FF, string);
}
else
{
SendClientMessage(playerid, 0xFF0000AA, \"Sajnálom Rossz a Jármûved!Kell egy RoadTrain és egy Artic Trailer 1!\");
}
return 1;
    }
    if(!strcmp(\"/nemdolgozom\", cmdtext, true))
    {
    if (IsPlayerInMission[playerid] == 0) return SendClientMessage(playerid, 0xFF0000AA, \"Nem Dolgozol ga Dolgozni akarsz akkor /munka!\");
    IsPlayerInMission[playerid] = 0;
    CancelPlayersCurrentMission(playerid);
    return 1;
    }
    //flip
if(!strcmp(cmdtext, \"/flip\", true))
{
new Float:var0 = 0.0, Float:var1 = 0.0, Float:var2 = 0.0;
if(IsPlayerInAnyVehicle(playerid))
{
SetCameraBehindPlayer(playerid);
}
GetPlayerPos(playerid, var0, var1, var2);
SetVehiclePos(GetPlayerVehicleID(playerid), var0, var1, var2);
SetVehicleZAngle(GetPlayerVehicleID(playerid), 0.0);
return 1;
}
//javit
if(!strcmp(cmdtext, \"/javit\", true))
{
if(!IsPlayerInAnyVehicle(playerid))
{
return SendClientMessage(playerid, 0xAA3333AA, \"HIBA: Nemvagy Kocsiban!\");
}
RepairVehicle(GetPlayerVehicleID(playerid));
SendClientMessage(playerid, 0x33AA33AA, \"Jármûved Megjavítva!\");
return 1;
}
if(!strcmp(cmdtext, \"/lekapcsol\", true))
{
new var0 = 0;
var0 = GetPlayerVehicleID(playerid);
DetachTrailerFromVehicle(var0);
SendClientMessage(playerid, 0x375FFFFF, \"Pótkocsi Lekapcsolva\");
return 1;
}
//Kamionos parancsok Listája
if(!strcmp(cmdtext, \"/kamionos\", true))
{
ShowPlayerDialog(playerid,3000, DIALOG_STYLE_MSGBOX, \"Parancsok\",
\"{FF9900}Hello {33CCFF}Kamionos Parancsok:\\n{33AA00}/flip /javit /munka\\n{FF0000}/nemdolgozom /lekapcsol\",\"Oké\",\"Oké\");
return 1;
}
    return 0;
}
public OnPlayerDeath(playerid, killerid, reason)
{
    if (IsPlayerInMission[playerid] == 1)
    {
CancelPlayersCurrentMission(playerid);// Leállítja a Fuvart
    IsPlayerInMission[playerid] = 0;
    }
    return 1;
}
public OnPlayerEnterCheckpoint(playerid)
{
    M_OnPlayerEnterCheckpoint(playerid);
      GetPlayerName(playerid, name, sizeof(name));
format(string, sizeof(string), \"%s Le/Fel Rakodnak a Kamionjára .\",name); //szöveg
SendClientMessageToAll(0x00FF00FF, string);
    return 1;
}
public OnPlayerEnterRaceCheckpoint(playerid)
{
    M_OnPlayerEnterRaceCheckpoint(playerid);
    return 1;
}
public OnPlayerFinishMission(playerid)
{
    SendClientMessage(playerid, 0x00FF00FF, \"Levittél egy Fuvart!\");
GetPlayerName(playerid, name, sizeof(name));
format(string, sizeof(string), \"%s Befejezett egy Kamionos Fuvart .\",name); //szöveg
SendClientMessageToAll(0x00FF00FF, string);
    return 1;
}
[/pawn]

Pawno
« Válasz #3 Dátum: 2011. október 15. - 16:11:59 »
0 Show voters
D:\\Szerver3\\filterscripts\\kamionscript.pwn(74) : warning 213: tag mismatch
D:\\Szerver3\\filterscripts\\kamionscript.pwn(75) : warning 213: tag mismatch
D:\\Szerver3\\filterscripts\\kamionscript.pwn(75) : warning 227: more initiallers than enum fields
D:\\Szerver3\\filterscripts\\kamionscript.pwn(75) : warning 213: tag mismatch
D:\\Szerver3\\filterscripts\\kamionscript.pwn(75) : warning 227: more initiallers than enum fields
D:\\Szerver3\\filterscripts\\kamionscript.pwn(75) : warning 213: tag mismatch
D:\\Szerver3\\filterscripts\\kamionscript.pwn(75) : warning 227: more initiallers than enum fields
D:\\Szerver3\\filterscripts\\kamionscript.pwn(75) : warning 227: more initiallers than enum fields
D:\\Szerver3\\filterscripts\\kamionscript.pwn(75) : error 018: initialization data exceeds declared size
Pawn compiler 3.2.3664           Copyright © 1997-2006, ITB CompuPhase
1 Error.

Dupla hozzászólás automatikusan összefûzve. ( 2011. október 15. - 16:53:12 )

itt mi nem jó : [pawn]D:\\Szerver3\\filterscripts\\kapu.pwn(61) : error 021: symbol already defined: \"OnFilterScriptInit\"
D:\\Szerver3\\filterscripts\\kapu.pwn(77) : error 021: symbol already defined: \"OnFilterScriptExit\"
D:\\Szerver3\\filterscripts\\kapu.pwn(84) : error 021: symbol already defined: \"OnPlayerUpdate\"
D:\\Szerver3\\filterscripts\\kapu.pwn(100) : error 021: symbol already defined: \"cmd_opendoor1\"
D:\\Szerver3\\filterscripts\\kapu.pwn(107) : error 021: symbol already defined: \"cmd_closedoor1\"
Pawn compiler 3.2.3664           Copyright © 1997-2006, ITB CompuPhase
5 Errors.
[/pawn]
ennél adja ki :
[pawn]#include <a_samp>
#include <zcmd>
new Door1; //ez az a név amit majd mindenhol használni fogsz
public OnFilterScriptInit()
{
print(\"\\n\");
print(\"------------------------------\");
print(\" Kapu Gumimacinak\");
print(\"------------------------------\");
print(\"\\n\");
      Door1 = CreateObject(980,-2127.61816400,-80.65181700,37.09370400,0.00000000,0.00000000,0.00000000); //ez az ameik bevan zárva
//103
      return 1;
}
//------------------------------------------------------------------------------
public OnFilterScriptExit()
{
return 1;
}
//------------------------------------------------------------------------------
public OnPlayerUpdate(playerid)
{
if(IsPlayerInRangeOfPoint(playerid, 8.0, 2999.53002900, -1975.83898900, 10.21842200)) //auto kinyílás
{
    MoveObject(Door1, -2116.26928700,-80.27804600,37.25432200, 2.0); //nyitva
}
else if(!IsPlayerInRangeOfPoint(playerid, 8.0, 2999.53002900, -1975.83898900, 10.21842200)) //auto kinyílás
{
    MoveObject(Door1, -2127.61816400,-80.65181700,37.09370400, 2.0); //zárva
}
return 1;
}
//------------------------------------------------------------------------------
command(opendoor1, playerid, params[])
{
MoveObject(Door1, -2116.26928700,-80.27804600,37.25432200, 2.0); //nyitva
return 1;
}
//------------------------------------------------------------------------------
command(closedoor1, playerid, params[])
{
MoveObject(Door1, -2127.61816400,-80.65181700,37.09370400, 2.0); //zárva
return 1;
}
new Door2; //ez az a név amit majd mindenhol használni fogsz
public OnFilterScriptInit()
{
print(\"\\n\");
print(\"------------------------------\");
print(\" Kapu Gumimacinak\");
print(\"------------------------------\");
print(\"\\n\");
      Door2 = CreateObject(980,-1572.08203100,661.24530000,8.96089200,0.00000000,0.00000000,-89.99998128); //ez az ameik bevan zárva
//103
      return 1;
}
//------------------------------------------------------------------------------
public OnFilterScriptExit()
{
return 1;
}
//------------------------------------------------------------------------------
public OnPlayerUpdate(playerid)
{
if(IsPlayerInRangeOfPoint(playerid, 8.0, 2999.53002900, -1975.83898900, 10.21842200)) //auto kinyílás
{
    MoveObject(Door2, -1571.45922900,650.84808300,8.96089200, 2.0); //nyitva
}
else if(!IsPlayerInRangeOfPoint(playerid, 8.0, 2999.53002900, -1975.83898900, 10.21842200)) //auto kinyílás
{
    MoveObject(Door2, -1572.08203100,661.24530000,8.96089200, 2.0); //zárva
}
return 1;
}
//------------------------------------------------------------------------------
command(opendoor1, playerid, params[])
{
MoveObject(Door2, -1571.45922900,650.84808300,8.96089200, 2.0); //nyitva
return 1;
}
//------------------------------------------------------------------------------
command(closedoor1, playerid, params[])
{
MoveObject(Door2, -1572.08203100,661.24530000,8.96089200, 2.0); //zárva
return 1;
}
//------------------------------------------------------------------------------[/pawn]
« Utoljára szerkesztve: 2011. október 15. - 16:53:12 írta Gumimaci »

Pawno
« Válasz #4 Dátum: 2011. október 15. - 19:38:57 »
0 Show voters
Egyszerübb lenne, ha a hibás sorokat másolnád be + a környezetét:
ezeket a sorokat másold:
 
59,60,61,62,63,75,76,77,78,79,,82,83,84,85,86,98,99,100,101,102,105,106,107,108,109

 

SimplePortal 2.3.7 © 2008-2024, SimplePortal