Hallo
Ich brauche hilfe,denn ich will ein Filtercript machen,mit Gemappten objecten,abeer ich bekomme es nicht hin,
Wie muss ich ein Filterscript Machen,damit es nur Objecte darstellt in game,also ich habe es bisher mal so versucht
// This is a comment
// uncomment the line below if you want to write a filterscript
//#define FILTERSCRIPT
#include <a_samp>
#if defined FILTERSCRIPT
public OnFilterScriptInit()
{
print("\n--------------------------------------");
print(" Filterscript by Raphael.K.");
print("--------------------------------------\n");
return 1;
}
public OnFilterScriptExit()
{
return 1;
}
#else
main()
{
print("\n----------------------------------");
print(" Blank Gamemode by your name here");
print("----------------------------------\n");
}
#endif
public OnGameModeExit()
{
CreateObject(8875, 1330.4672851563, -1458.7471923828, 18.642379760742, 0, 0, 170);
CreateObject(8873, 1334.8580322266, -1427.7580566406, 18.632068634033, 0, 0, 22);
CreateObject(8877, 1333.2951660156, -1442.2553710938, 18.631006240845, 0, 0, 132);
CreateObject(1383, 1357.1452636719, -1432.6201171875, 44.920913696289, 0, 0, 356);
CreateObject(1383, 1350.1697998047, -1473.8153076172, 44.913116455078, 0, 0, 345.99548339844);
CreateObject(1384, 1357.3405761719, -1432.76171875, 77.473114013672, 0, 0, 246);
CreateObject(1384, 1349.8723144531, -1473.388671875, 77.465316772461, 0, 0, 193.99487304688);
CreateObject(3567, 1355.0346679688, -1460.0935058594, 13.261558532715, 0, 0, 346);
CreateObject(2934, 1354.4827880859, -1464.3435058594, 15.596020698547, 0, 0, 347.99597167969);
CreateObject(2934, 1356.2572021484, -1455.8422851563, 15.596020698547, 0, 0, 345.99597167969);
CreateObject(930, 1359.6011962891, -1437.9499511719, 12.858688354492, 0, 0, 0);
CreateObject(3630, 1363.9420166016, -1445.70703125, 14.031703948975, 0, 0, 86);
CreateObject(979, 1342.53125, -1482.5256347656, 13.223032951355, 0, 0, 284);
CreateObject(1237, 1343.5301513672, -1488.1866455078, 12.390607833862, 0, 0, 0);
CreateObject(1237, 1342.8564453125, -1489.49609375, 12.390609741211, 0, 0, 0);
CreateObject(1237, 1337.6273193359, -1488.4830322266, 12.459671020508, 0, 0, 0);
CreateObject(1237, 1336.8520507813, -1489.8843994141, 12.473667144775, 0, 0, 0);
CreateObject(979, 1336.0732421875, -1482.3872070313, 13.365393638611, 0, 0, 283.99658203125);
CreateObject(1237, 1334.9306640625, -1472.9113769531, 12.3828125, 0, 0, 0);
CreateObject(1237, 1334.4857177734, -1475.4069824219, 12.3828125, 0, 0, 0);
CreateObject(1237, 1334.755859375, -1477.328125, 12.3828125, 0, 0, 0);
CreateObject(979, 1336.1123046875, -1466.818359375, 13.223032951355, 0, 0, 257.99194335938);
CreateObject(1237, 1337.4816894531, -1460.4215087891, 12.3828125, 0, 0, 0);
CreateObject(1237, 1337.8416748047, -1458.4044189453, 12.3828125, 0, 0, 0);
CreateObject(979, 1339.1763916016, -1452.7603759766, 13.223032951355, 0, 0, 257.99194335938);
CreateObject(1237, 1340.2459716797, -1447.7073974609, 12.382813453674, 0, 0, 0);
CreateObject(1237, 1340.3771972656, -1446.2905273438, 12.3828125, 0, 0, 0);
CreateObject(979, 1341.1694335938, -1440.7117919922, 13.223032951355, 0, 0, 265.99194335938);
CreateObject(1237, 1341.236328125, -1435.5788574219, 12.3828125, 0, 0, 0);
CreateObject(1237, 1341.3499755859, -1434.2147216797, 12.3828125, 0, 0, 0);
CreateObject(979, 1344.2373046875, -1428.2744140625, 13.223032951355, 0, 0, 239.9853515625);
CreateObject(1237, 1341.5323486328, -1474.7149658203, 12.539081573486, 0, 0, 0);
CreateObject(1237, 1341.6164550781, -1472.7495117188, 12.539079666138, 0, 0, 0);
CreateObject(979, 1342.4086914063, -1466.7008056641, 13.379302024841, 0, 0, 261.99194335938);
CreateObject(1237, 1343.4366455078, -1461.6293945313, 12.539081573486, 0, 0, 0);
CreateObject(1237, 1343.8067626953, -1460.0650634766, 12.539083480835, 0, 0, 0);
CreateObject(979, 1344.5341796875, -1454.1456298828, 13.379302024841, 0, 0, 261.99096679688);
CreateObject(1237, 1345.7169189453, -1448.7396240234, 12.539079666138, 0, 0, 0);
CreateObject(1237, 1345.9559326172, -1446.8521728516, 12.54132270813, 0, 0, 0);
CreateObject(979, 1346.3012695313, -1441.5158691406, 13.372940063477, 0, 0, 261.99096679688);
CreateObject(1237, 1347.4031982422, -1435.7119140625, 12.546875, 0, 0, 0);
CreateObject(1237, 1348.2098388672, -1434.1315917969, 12.546875, 0, 0, 0);
CreateObject(979, 1351.0736083984, -1429.0927734375, 13.387095451355, 0, 0, 239.98986816406);
CreateObject(1237, 1341.6208496094, -1432.5325927734, 12.3828125, 0, 0, 0);
CreateObject(1237, 1354.125, -1424.2305908203, 12.390608787537, 0, 0, 0);
CreateObject(1237, 1355.279296875, -1422.8897705078, 12.390607833862, 0, 0, 0);
CreateObject(979, 1359.099609375, -1419.048828125, 13.223032951355, 0, 0, 229.9853515625);
CreateObject(979, 1354.0091552734, -1415.791015625, 13.226706504822, 0, 0, 229.98229980469);
CreateObject(1237, 1357.1381835938, -1411.5002441406, 12.354004859924, 0, 0, 0);
CreateObject(1237, 1347.0695800781, -1423.1228027344, 12.3828125, 0, 0, 0);
CreateObject(1237, 1348.5650634766, -1421.5379638672, 12.546875, 0, 0, 0);
CreateObject(1237, 1349.8873291016, -1420.2416992188, 12.546875, 0, 0, 0);
CreateObject(1237, 1362.5673828125, -1414.4030761719, 12.392666816711, 0, 0, 0);
CreateObject(1237, 1362.7279052734, -1412.9046630859, 12.396799087524, 0, 0, 0);
CreateObject(3630, 1364.0098876953, -1445.3271484375, 17.024454116821, 0, 0, 85.995483398438);
CreateObject(3630, 1360.6263427734, -1445.2590332031, 13.875434875488, 0, 0, 85.995483398438);
CreateObject(3630, 1360.7626953125, -1445.2850341797, 16.868185043335, 0, 0, 85.995483398438);
CreateObject(934, 1365.4853515625, -1437.6695556641, 13.875154495239, 0, 0, 0);
CreateObject(934, 1357.5483398438, -1474.0522460938, 13.875154495239, 0, 0, 0);
CreateObject(958, 1357.1324462891, -1437.4669189453, 13.267446517944, 0, 0, 176);
CreateObject(1237, 1346.5041503906, -1482.7124023438, 12.390607833862, 0, 0, 0);
CreateObject(1237, 1345.8468017578, -1483.9622802734, 12.390607833862, 0, 0, 0);
CreateObject(1237, 1345.0989990234, -1485.2502441406, 12.390607833862, 0, 0, 0);
CreateObject(1237, 1344.349609375, -1486.6721191406, 12.390609741211, 0, 0, 0);
CreateObject(1237, 1345.5233154297, -1490.3836669922, 12.3828125, 0, 0, 0);
CreateObject(1237, 1344.1396484375, -1489.7585449219, 12.390606880188, 0, 0, 0);
CreateObject(1237, 1346.9270019531, -1491.0828857422, 12.3828125, 0, 0, 0);
CreateObject(979, 1355.4429931641, -1483.1351318359, 13.387095451355, 0, 0, 193.99658203125);
CreateObject(972, 1352.7517089844, -1484.095703125, 13.854238510132, 0, 0, 334);
CreateObject(970, 1212.1346435547, -916.12341308594, 42.478805541992, 0, 0, 0);
CreateObject(970, 1216.0379638672, -917.5458984375, 42.472995758057, 0, 0, 322);
CreateObject(970, 1218.1842041016, -921.29986572266, 42.6452293396, 0, 0, 279.99829101563);
CreateObject(979, 1327.6473388672, -1476.134765625, 13.379302024841, 0, 0, 241.9853515625);
CreateObject(979, 1330.7377929688, -1467.3913574219, 13.387095451355, 0, 0, 257.99194335938);
CreateObject(979, 1332.68359375, -1458.1826171875, 13.387095451355, 0, 0, 257.99194335938);
CreateObject(979, 1334.3640136719, -1449.2999267578, 13.387095451355, 0, 0, 259.99194335938);
CreateObject(979, 1335.4471435547, -1440.2796630859, 13.374659538269, 0, 0, 265.99145507813);
CreateObject(979, 1336.1505126953, -1430.9338378906, 13.376721382141, 0, 0, 265.98999023438);
CreateObject(979, 1336.9356689453, -1420.7551269531, 13.379021644592, 0, 0, 265.98999023438);
CreateObject(979, 1346.083984375, -1420.4078369141, 13.223032951355, 0, 0, 265.98999023438);
CreateObject(3287, 1349.7397460938, -1463.4052734375, 17.121858596802, 0, 0, 352);
CreateObject(2669, 1349.7608642578, -1458.6143798828, 13.723085403442, 0, 0, 259.99694824219);
CreateObject(3568, 1352.0705566406, -1447.7021484375, 14.996431350708, 0, 0, 352);
return 1;
}
(Sory,aber die "CODE"Funktion geht bei mir nicht
Mehr habe ich nicht,dachte es geht so,aber es geht nicht,wie muss ich dasa machen
Bitte hilft mir jemand
Gruß Raphael.K.</a_samp>