habe eine frage für ein filterscript

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

Tipp: Ihr wollt längere Codeausschnitte oder Logfiles bereitstellen? Benutzt unseren eigenen PasteBin-Dienst Link
  • also ich wollte mal fragen wie ich objekte in ein filter script einfüge. ( so das man sie auch ingame sieht<img src="../wcf/images/smilies/squint.png" wcf_src="../wcf/images/smilies/squint.png" alt="^^">)<br>wenn ich dir ins gamemode einfüge funktioniert es zwa aber wenn es zu viele sind werden immer manche nicht angezeigt...<br><br>ich habe es schon so als FS versucht , kommen auch garkeine errors aber man sieht die objekte ingame nicht :<br><br>// This is a comment<br>// uncomment the line below if you want to write a filterscript<br>//#define FILTERSCRIPT<br><br>#include &lt;a_samp&gt;<br><br>#if defined FILTERSCRIPT<br><br>public OnFilterScriptInit()<br>{<br>&nbsp;&nbsp;&nbsp; print("\n--------------------------------------");<br>&nbsp;&nbsp;&nbsp; print(" Blank Filterscript by your name here");<br>&nbsp;&nbsp;&nbsp; print("--------------------------------------\n");<br>&nbsp;&nbsp;&nbsp; return 1;<br>}<br><br>public OnFilterScriptExit()<br>{<br>&nbsp;&nbsp;&nbsp; return 1;<br>}<br><br>#else<br><br>main()<br>{<br>&nbsp;&nbsp;&nbsp; print("\n----------------------------------");<br>&nbsp;&nbsp;&nbsp; print(" Blank Gamemode by your name here");<br>&nbsp;&nbsp;&nbsp; print("----------------------------------\n");<br>}<br><br>#endif<br><br>public OnGameModeInit()<br>{<br>&nbsp;&nbsp;&nbsp; // Don't use these lines if it's a filterscript<br>&nbsp;&nbsp;&nbsp; SetGameModeText("Blank Script");<br>&nbsp;&nbsp;&nbsp; AddPlayerClass(0, 1958.3783, 1343.1572, 15.3746, 269.1425, 0, 0, 0, 0, 0, 0);<br>&nbsp;&nbsp;&nbsp; return 1;<br>}<br><br>public OnGameModeExit()<br>{<br><br>&nbsp;// bankmap<br>&nbsp; CreateObject(0000, 1424.690308, -1004.066162, 1643.018677, 0.0000, 0.0000, 90.0000);<br>&nbsp; CreateObject(0000, 1433.026245, -1004.643921, 1635.819824, 0.0000, 0.0000, 0.0000);<br>&nbsp; CreateObject(0000, 1429.296997, -1004.618652, 1641.281128, 0.0000, 0.0000, 0.0000);<br>&nbsp; CreateObject(0000, 1440.957031, -979.682068, 1640.297729, 0.0000, 0.0000, 0.0000);<br>&nbsp; CreateObject(0000, 1429.337158, -979.545288, 1639.723389, 0.0000, 0.0000, 0.0000);<br>&nbsp; CreateObject(0000, 1449.314087, -984.505005, 1648.023193, 0.0000, 0.0000, 0.0000);<br>&nbsp; CreateObject(0000, 1413.914063, -984.515381, 1643.073486, 0.0000, 0.0000, 0.0000);<br>&nbsp; CreateObject(0000, 1448.510132, -1003.642944, 1647.093994, 19.7670, 0.0000, 223.3584);<br>&nbsp; CreateObject(0000, 1414.706543, -980.604431, 1647.061646, 19.7670, 0.0000, 43.3584);<br>&nbsp; CreateObject(2774, 1430.416870, -999.017273, 1638.722412, 0.0000, 269.7592, 0.0000);<br>&nbsp; CreateObject(2774, 1408.149292, -998.996826, 1638.722412, 0.0000, 269.7592, 180.0000);<br>&nbsp; CreateObject(2774, 1443.577271, -986.634644, 1638.723389, 0.0000, 269.7592, 270.0000);<br>&nbsp; CreateObject(2774, 1443.604492, -998.998169, 1647.797485, 0.0000, 0.0000, 0.0000);<br>&nbsp; CreateObject(11359, 1414.356201, -988.985352, 1639.795898, 0.0000, 0.0000, 90.0000);<br>&nbsp; CreateObject(2774, 1413.927368, -986.011719, 1643.046997, 0.0000, 0.0000, 270.0000);<br>&nbsp; CreateObject(2774, 1413.763672, -992.085388, 1643.673340, 0.0000, 0.0000, 0.0000);<br>&nbsp; CreateObject(626, 1427.554565, -997.322998, 1640.766479, 0.0000, 0.0000, 135.0000);<br>&nbsp; CreateObject(626, 1427.488281, -990.752502, 1640.841553, 0.0000, 0.0000, 135.0000);<br>&nbsp; CreateObject(2773, 1427.756714, -995.781189, 1639.310181, 0.0000, 0.0000, 0.0000);<br>&nbsp; CreateObject(2773, 1427.694946, -992.841431, 1639.310181, 0.0000, 0.0000, 0.0000);<br>&nbsp; CreateObject(2773, 1427.596924, -989.128601, 1639.301514, 0.0000, 0.0000, 0.0000);<br>&nbsp; CreateObject(2773, 1429.863159, -982.927368, 1639.310181, 0.0000, 0.0000, 90.0000);<br>&nbsp; CreateObject(626, 1427.665283, -983.128601, 1640.841553, 0.0000, 0.0000, 236.2500);<br>&nbsp; CreateObject(2773, 1432.755859, -982.990784, 1639.310181, 0.0000, 0.0000, 90.0000);<br>&nbsp; CreateObject(626, 1434.648315, -983.188904, 1640.841553, 0.0000, 0.0000, 236.2500);<br>&nbsp; CreateObject(2773, 1437.091431, -983.054993, 1639.310181, 0.0000, 0.0000, 90.0000);<br>&nbsp; CreateObject(2773, 1440.040283, -983.012756, 1639.310181, 0.0000, 0.0000, 90.0000);<br>&nbsp; CreateObject(3462, 1448.466919, -993.014465, 1640.297974, 0.0000, 0.0000, 0.0000);<br>&nbsp; CreateObject(0000, 1448.512085, -982.992615, 1640.181519, 0.0000, 0.0000, 0.0000);<br>&nbsp; CreateObject(0000, 1441.636230, -997.047729, 1640.741455, 0.0000, 0.0000, 146.2500);<br>&nbsp; CreateObject(0000, 1443.648682, -995.934631, 1638.667725, 0.0000, 0.0000, 90.0000);<br>&nbsp; CreateObject(0000, 1432.156372, -1018.015259, 1639.988159, 0.0000, 0.0000, 270.0000);<br>&nbsp; CreateObject(0000, 1432.294922, -998.852478, 1639.740112, 0.0000, 0.0000, 180.0000);<br>&nbsp; CreateObject(0000, 1438.352539, -998.846741, 1639.815674, 0.0000, 0.0000, 180.0000);<br>&nbsp; CreateObject(0000, 1435.183838, -996.759277, 1639.301514, 0.0000, 0.0000, 0.0000);<br>&nbsp; CreateObject(0000, 1435.152466, -993.932556, 1639.301514, 0.0000, 0.0000, 0.0000);<br>&nbsp; CreateObject(0000, 1439.338623, -996.658691, 1639.301514, 0.0000, 0.0000, 0.0000);<br>&nbsp; CreateObject(0000, 1439.288940, -994.000671, 1639.301514, 0.0000, 0.0000, 0.0000);<br>&nbsp; CreateObject(0000, 1426.280151, -994.863586, 1638.707275, 0.0000, 0.0000, 270.0000);<br>&nbsp; CreateObject(0000, 1426.244629, -991.150452, 1638.732300, 0.0000, 0.0000, 270.0000);<br>&nbsp; CreateObject(0000, 1422.277466, -996.935059, 1638.682251, 0.0000, 0.0000, 90.0000);<br>&nbsp; CreateObject(0000, 1422.279297, -993.210022, 1638.657227, 0.0000, 0.0000, 90.0000);<br>&nbsp; CreateObject(0000, 1424.232422, -992.173584, 1638.838745, 0.0000, 0.0000, 270.0000);<br>&nbsp; CreateObject(0000, 1424.228516, -995.704163, 1638.838745, 0.0000, 0.0000, 270.0000);<br>&nbsp; CreateObject(0000, 1432.633301, -987.739014, 1639.202393, 0.0000, 0.0000, 0.0000);<br>&nbsp; CreateObject(0000, 1432.631104, -986.977234, 1639.202393, 0.0000, 0.0000, 180.0000);<br>&nbsp; CreateObject(0000, 1438.111572, -986.977539, 1639.202393, 0.0000, 0.0000, 180.0000);<br>&nbsp; CreateObject(0000, 1438.086304, -987.730713, 1639.227417, 0.0000, 0.0000, 0.0000);<br>&nbsp; CreateObject(0000, 1439.028320, -999.826660, 1639.211304, 0.0000, 0.0000, 0.0000);<br>&nbsp; CreateObject(0000, 1433.505615, -999.827637, 1639.301392, 0.0000, 0.0000, 0.0000);<br>&nbsp; CreateObject(0000, 1414.355225, -990.513489, 1638.755615, 0.0000, 0.0000, 0.0000);<br>&nbsp; CreateObject(0000, 1414.380249, -987.392517, 1638.755005, 0.0000, 0.0000, 180.0000);<br>&nbsp; CreateObject(0000, 1424.165283, -1004.815674, 1640.781128, 0.0000, 0.0000, 270.0000);<br>&nbsp; CreateObject(0000, 1426.806763, -1004.832520, 1640.826904, 0.0000, 0.0000, 90.0000);<br>&nbsp; CreateObject(0000, 1414.730591, -993.523010, 1646.908569, 17.1887, 0.0000, 67.5000);<br>&nbsp; CreateObject(0000, 1431.414551, -996.845825, 1639.301514, 0.0000, 0.0000, 0.0000);<br>&nbsp; CreateObject(0000, 1431.473389, -994.017090, 1639.301514, 0.0000, 0.0000, 0.0000);<br>&nbsp; CreateObject(0000, 1434.735352, -987.757507, 1639.131226, 0.0000, 0.0000, 213.7500);<br>&nbsp; CreateObject(0000, 1417.713623, -980.475159, 1639.363525, 0.0000, 0.0000, 0.0000);<br>&nbsp; CreateObject(0000, 1443.281372, -989.311279, 1639.387817, 0.0000, 0.0000, 270.0000);<br>&nbsp; CreateObject(0000, 1421.217163, -980.448914, 1639.385498, 0.0000, 0.0000, 0.0000);<br>&nbsp; CreateObject(0000, 1424.630493, -980.526672, 1639.371460, 0.0000, 0.0000, 0.0000);<br>&nbsp; CreateObject(0000,1443.277832, -991.424866, 1639.424194, 0.0000, 0.0000, 270.0000);<br>&nbsp; CreateObject(0000, 1443.251221, -987.278198, 1639.376221, 0.0000, 0.0000, 270.0000);<br>&nbsp; CreateObject(0000, 1443.259766, -985.484985, 1639.376221, 0.0000, 0.0000, 270.0000);<br>&nbsp; CreateObject(0000, 1441.228638, -993.042969, 1639.301514, 0.0000, 0.0000, 270.0000);<br>&nbsp; CreateObject(0000, 1424.297241, -992.054932, 1639.247681, 0.0000, 0.0000, 78.7500);<br>&nbsp; return 1;<br>}<br><br>PS_ die 0000 sind extra ....<br><br>hoffe ihr könnt mir schnel helfen<br>DANKE im vorraus<br>

    [GER] SA Reallife !
    78.143.58.25:7777