#include <a_samp>new Garage1;#if defined FILTERSCRIPTpublic OnFilterScriptInit(){Garage1 = Createobject(989, -2241.8046875, 636.61218261719, 50.029769897461, 0, 0, 0);Createobject(992, -2226.6381835938, 725.79565429688, 49.96964263916, 0, 0, 0);Createobject(985, -2242.3186035156, 642.79016113281, 48.449504852295, 0, 0, 89.324493408203);Createobject(987, -2218.3850097656, 578.19268798828, 34.171875, 0, 0, 0);Createobject(987, -2218.7631835938, 578.39562988281, 38.937507629395, 0, 0, 0);Createobject(987, -2218.5207519531, 578.39562988281, 44.948738098145, 0, 0, 0);Createobject(987, -2242.7583007813, 641.26989746094, 54.141956329346, 0, 0, 87.339508056641);Createobject(987, -2242.6088867188, 636.25811767578, 59.1796875, 0, 0, 89.324493408203);Createobject(987, -2242.2490234375, 635.71752929688, 59.1796875, 0, 0, 276.63061523438);Createobject(987, -2242.7963867188, 602.62670898438, 39.872680664063, 0, 0, 85.3544921875);Createobject(987, -2241.7214355469, 602.46752929688, 43.230049133301, 0, 0, 89.324493408203);Createobject(987, -2242.3701171875, 602.46752929688, 50.350879669189, 0, 0, 85.3544921875);Createobject(987, -2161.5336914063, 647.93035888672, 59.6953125, 0, 0, 89.324493408203);Createobject(987, -2157.4653320313, 615.19293212891, 61.95866394043, 0, 0, 89.324493408203);Createobject(987, -2157.4501953125, 625.31781005859, 61.95866394043, 0, 0, 87.339508056641);Createobject(989, -2206.7553710938, 650.21313476563, 50.258304595947, 0, 0, 282.58557128906);Createobject(987, -2210.4375, 628.30456542969, 48.470264434814, 0, 0, 0);Createobject(2572, -2204.2424316406, 642.32653808594, 48.442939758301, 0, 0, 0);Createobject(1768, -2187.7587890625, 695.52471923828, 52.890625, 0, 0, 93.294494628906);Createobject(1707, -2187.9587402344, 698.34020996094, 52.890625, 0, 0, 93.294494628906);Createobject(1836, -2187.1628417969, 707.11968994141, 52.890625, 0, 0, 87.339508056641);Createobject(2778, -2187.84765625, 708.18475341797, 52.890625, 0, 0, 180.63439941406);Createobject(2778, -2188.1452636719, 705.75823974609, 52.890625, 0, 0, 0);Createobject(2374, -2187.6032714844, 712.41827392578, 54.617446899414, 0, 0, 83.369506835938);Createobject(2392, -2187.0888671875, 712.78466796875, 53.29035949707, 0, 0, 0);Createobject(2398, -2187.6032714844, 713.27557373047, 54.535087585449, 0, 0, 75.429565429688);Createobject(1542, -2187.1486816406, 719.31787109375, 54.560134887695, 0, 0, 0);Createobject(1745, -2187.1440429688, 715.27105712891, 52.899097442627, 0, 0, 0);Createobject(2101, -2186.4321289063, 712.24102783203, 52.896137237549, 0, 0, 172.69445800781);Createobject(1829, -2187.1518554688, 714.43182373047, 53.362804412842, 0, 0, 85.3544921875);Createobject(1841, -2185.9152832031, 712.18176269531, 52.89608001709, 0, 0, 0);Createobject(1841, -2185.9157714844, 712.27758789063, 52.896171569824, 0, 0, 267.97375488281);Createobject(1840, -2186.0471191406, 719.3173828125, 54.419105529785, 0, 0, 81.384521484375);Createobject(1840, -2187.2238769531, 719.31805419922, 54.437545776367, 0, 0, 97.264495849609);Createobject(2104, -2185.2465820313, 719.31884765625, 53.316200256348, 0, 0, 272.66064453125);Createobject(2230, -2184.3010253906, 719.15930175781, 52.895046234131, 0, 0, 0);Createobject(2231, -2184.35546875, 719.31695556641, 54.172821044922, 0, 0, 0);Createobject(2232, -2183.8815917969, 719.31884765625, 53.533142089844, 0, 0, 0);Createobject(2232, -2183.3522949219, 719.31860351563, 53.524215698242, 0, 0, 0);Createobject(2232, -2182.84765625, 719.318359375, 53.521984100342, 0, 0, 0);Createobject(2232, -2183.8862304688, 718.97589111328, 54.527721405029, 0, 0, 0);Createobject(2232, -2183.4211425781, 718.97564697266, 54.527763366699, 0, 0, 0);Createobject(2232, -2182.9521484375, 718.97540283203, 54.516704559326, 0, 0, 0);Createobject(2773, -2187.2231445313, 709.76934814453, 53.407852172852, 0, 0, 0);Createobject(992, -2180.5114746094, 711.86767578125, 54.44620513916, 0, 0, 73.444580078125);Createobject(992, -2181.0920410156, 713.88861083984, 54.446487426758, 0, 0, 79.399536132813);Createobject(992, -2179.8737792969, 717.17736816406, 54.447498321533, 0, 0, 71.459594726563); print(\"\\n--------------------------------------\");print(\" Bázis betöltve\");print(\"--------------------------------------\\n\");return 1;}public OnFilterScriptExit(){return 1;}#elsemain(){print(\"\\n----------------------------------\");print(\"bázis kikapcsolva \");print(\"----------------------------------\\n\");}#endif public OnPlayerCommandText(playerid, cmdtext[]){if (strcmp(\"/nyit\", cmdtext, true, 10) == 0){MoveObject(Garage1,-2242.48046875, 646.77777099609, 48.450756072998,2); return 1;}if (strcmp(\"/zar\", cmdtext, true, 10) == 0){MoveObject(Garage1,989,-2242.3701171875, 667.33959960938, 48.452140808105,2); return 1;}return 0;}
#include <a_samp>new Garage1;public OnFilterScriptInit(){Garage1 = Createobject(989, -2241.8046875, 636.61218261719, 50.029769897461, 0, 0, 0);Createobject(992, -2226.6381835938, 725.79565429688, 49.96964263916, 0, 0, 0);Createobject(985, -2242.3186035156, 642.79016113281, 48.449504852295, 0, 0, 89.324493408203);Createobject(987, -2218.3850097656, 578.19268798828, 34.171875, 0, 0, 0);Createobject(987, -2218.7631835938, 578.39562988281, 38.937507629395, 0, 0, 0);Createobject(987, -2218.5207519531, 578.39562988281, 44.948738098145, 0, 0, 0);Createobject(987, -2242.7583007813, 641.26989746094, 54.141956329346, 0, 0, 87.339508056641);Createobject(987, -2242.6088867188, 636.25811767578, 59.1796875, 0, 0, 89.324493408203);Createobject(987, -2242.2490234375, 635.71752929688, 59.1796875, 0, 0, 276.63061523438);Createobject(987, -2242.7963867188, 602.62670898438, 39.872680664063, 0, 0, 85.3544921875);Createobject(987, -2241.7214355469, 602.46752929688, 43.230049133301, 0, 0, 89.324493408203);Createobject(987, -2242.3701171875, 602.46752929688, 50.350879669189, 0, 0, 85.3544921875);Createobject(987, -2161.5336914063, 647.93035888672, 59.6953125, 0, 0, 89.324493408203);Createobject(987, -2157.4653320313, 615.19293212891, 61.95866394043, 0, 0, 89.324493408203);Createobject(987, -2157.4501953125, 625.31781005859, 61.95866394043, 0, 0, 87.339508056641);Createobject(989, -2206.7553710938, 650.21313476563, 50.258304595947, 0, 0, 282.58557128906);Createobject(987, -2210.4375, 628.30456542969, 48.470264434814, 0, 0, 0);Createobject(2572, -2204.2424316406, 642.32653808594, 48.442939758301, 0, 0, 0);Createobject(1768, -2187.7587890625, 695.52471923828, 52.890625, 0, 0, 93.294494628906);Createobject(1707, -2187.9587402344, 698.34020996094, 52.890625, 0, 0, 93.294494628906);Createobject(1836, -2187.1628417969, 707.11968994141, 52.890625, 0, 0, 87.339508056641);Createobject(2778, -2187.84765625, 708.18475341797, 52.890625, 0, 0, 180.63439941406);Createobject(2778, -2188.1452636719, 705.75823974609, 52.890625, 0, 0, 0);Createobject(2374, -2187.6032714844, 712.41827392578, 54.617446899414, 0, 0, 83.369506835938);Createobject(2392, -2187.0888671875, 712.78466796875, 53.29035949707, 0, 0, 0);Createobject(2398, -2187.6032714844, 713.27557373047, 54.535087585449, 0, 0, 75.429565429688);Createobject(1542, -2187.1486816406, 719.31787109375, 54.560134887695, 0, 0, 0);Createobject(1745, -2187.1440429688, 715.27105712891, 52.899097442627, 0, 0, 0);Createobject(2101, -2186.4321289063, 712.24102783203, 52.896137237549, 0, 0, 172.69445800781);Createobject(1829, -2187.1518554688, 714.43182373047, 53.362804412842, 0, 0, 85.3544921875);Createobject(1841, -2185.9152832031, 712.18176269531, 52.89608001709, 0, 0, 0);Createobject(1841, -2185.9157714844, 712.27758789063, 52.896171569824, 0, 0, 267.97375488281);Createobject(1840, -2186.0471191406, 719.3173828125, 54.419105529785, 0, 0, 81.384521484375);Createobject(1840, -2187.2238769531, 719.31805419922, 54.437545776367, 0, 0, 97.264495849609);Createobject(2104, -2185.2465820313, 719.31884765625, 53.316200256348, 0, 0, 272.66064453125);Createobject(2230, -2184.3010253906, 719.15930175781, 52.895046234131, 0, 0, 0);Createobject(2231, -2184.35546875, 719.31695556641, 54.172821044922, 0, 0, 0);Createobject(2232, -2183.8815917969, 719.31884765625, 53.533142089844, 0, 0, 0);Createobject(2232, -2183.3522949219, 719.31860351563, 53.524215698242, 0, 0, 0);Createobject(2232, -2182.84765625, 719.318359375, 53.521984100342, 0, 0, 0);Createobject(2232, -2183.8862304688, 718.97589111328, 54.527721405029, 0, 0, 0);Createobject(2232, -2183.4211425781, 718.97564697266, 54.527763366699, 0, 0, 0);Createobject(2232, -2182.9521484375, 718.97540283203, 54.516704559326, 0, 0, 0);Createobject(2773, -2187.2231445313, 709.76934814453, 53.407852172852, 0, 0, 0);Createobject(992, -2180.5114746094, 711.86767578125, 54.44620513916, 0, 0, 73.444580078125);Createobject(992, -2181.0920410156, 713.88861083984, 54.446487426758, 0, 0, 79.399536132813);Createobject(992, -2179.8737792969, 717.17736816406, 54.447498321533, 0, 0, 71.459594726563); print(\"\\n--------------------------------------\");print(\" Bázis betöltve\");print(\"--------------------------------------\\n\");return 1;}public OnFilterScriptExit(){return 1;} main(){print(\"\\n----------------------------------\");print(\"bázis kikapcsolva \");print(\"----------------------------------\\n\");} public OnPlayerCommandText(playerid, cmdtext[]){if (strcmp(\"/nyit\", cmdtext, true, 10) == 0){MoveObject(Garage1,-2242.48046875, 646.77777099609, 48.450756072998,2); return 1;}if (strcmp(\"/zar\", cmdtext, true, 10) == 0){MoveObject(Garage1,989,-2242.3701171875, 667.33959960938, 48.452140808105,2); return 1;}return 0;}
de ha már tipikus hiba, akkor lehetne annyi eszed, hogy a main(){} -t is kitörlöd xD