11.12.2016, 09:36
i am mapping a new map and i have to put some guys as bodyguards (there are like bots but they dont take damage and the dont move) so i puted them as object on my map while mapping with map editor when i test it with CreateObject it shows me just a piece of meat should i make it CreateActor. And i have problem while loading the map too the map script is loaded succefully but when i try to join to my local host i dont find my map:
and thanks for reading.
PHP код:
#include <a_samp>
#include <streamer>
#include <a_objects>
#if defined FILTERSCRIPT
public OnFilterScriptInit()
{
print("\n--------------------------------------");
print(" Blank Filterscript by your name here");
print("--------------------------------------\n");
CreateObject(19453, 294.14050, -1780.06042, 5.13650, 0.00000, 0.00000, -88.43997);
CreateObject(19453, 284.57019, -1780.32300, 5.11829, 0.00000, 0.00000, -87.96001);
CreateObject(19453, 275.07193, -1780.59290, 5.12716, 0.00000, 0.00000, -89.10004);
CreateObject(19453, 270.53458, -1785.47461, 5.11959, 0.00000, 0.00000, 1.98000);
CreateObject(19453, 270.78900, -1794.85742, 5.08769, 0.00000, 0.00000, 1.26000);
CreateObject(19453, 275.77609, -1799.55469, 5.06847, 0.00000, 0.00000, -88.56002);
CreateObject(19392, 282.11862, -1799.40820, 5.05309, 0.00000, 0.00000, -87.29999);
CreateObject(19453, 288.34933, -1799.17468, 5.10903, 0.00000, 0.00000, -88.62000);
CreateObject(1502, 281.37140, -1799.47705, 3.32605, 0.00000, 0.00000, 0.00000);
CreateObject(19453, 298.86719, -1784.76282, 5.15234, 0.00000, 0.00000, 0.18000);
CreateObject(19453, 294.10446, -1799.05444, 5.13444, 0.00000, 0.00000, -88.50006);
CreateObject(19453, 298.88300, -1794.12634, 5.15370, 0.00000, 0.00000, 0.00000);
CreateObject(19379, 275.41653, -1785.92542, 3.36435, 0.12000, 90.06007, -88.79995);
CreateObject(19379, 276.06500, -1794.78284, 3.37056, -0.36000, 89.87997, 1.68001);
CreateObject(19379, 285.03958, -1794.05286, 3.34172, -0.36000, -90.30006, -88.68000);
CreateObject(19379, 285.39731, -1785.21423, 3.36918, -0.17999, -89.87997, 1.86000);
CreateObject(19379, 293.56131, -1784.83069, 3.37756, -0.36000, 89.88007, 0.48000);
CreateObject(19453, 288.81155, -1784.99976, 5.12409, 0.00000, 0.00000, -1.08000);
CreateObject(19392, 288.57800, -1797.46436, 5.11748, 0.00000, 0.00000, 0.00000);
CreateObject(19453, 288.67154, -1791.60901, 5.09485, 0.00000, 0.00000, -0.72000);
CreateObject(1502, 288.62085, -1798.22217, 3.34449, 0.00000, 0.00000, 90.24004);
CreateObject(19361, 297.26550, -1789.30579, 5.16869, 0.00000, 0.00000, -88.44000);
CreateObject(19392, 294.16968, -1789.38745, 5.21057, 0.00000, 0.00000, 91.68002);
CreateObject(19361, 291.00314, -1789.43018, 5.20131, 0.00000, 0.00000, -88.74002);
CreateObject(19361, 290.19269, -1789.43567, 5.21033, 0.00000, 0.00000, -89.03999);
CreateObject(19379, 293.61261, -1794.09619, 3.44550, -0.42000, 90.17959, 0.00000);
CreateObject(2631, 290.67386, -1790.33374, 3.51412, 0.00000, 0.00000, 1.98000);
CreateObject(2627, 290.51636, -1790.40393, 3.56437, 0.00000, 0.00000, -87.24001);
CreateObject(2632, 290.66669, -1793.74658, 3.52678, 0.00000, 0.00000, 0.00000);
CreateObject(2628, 290.67740, -1793.78149, 3.57609, 0.00000, 0.00000, 91.08001);
CreateObject(11730, 298.52969, -1789.76294, 3.40174, 0.00000, 0.00000, -91.43997);
CreateObject(11730, 298.51358, -1790.44019, 3.38512, 0.00000, 0.00000, -90.96000);
CreateObject(11730, 298.52332, -1791.12366, 3.38245, 0.00000, 0.00000, -92.10001);
CreateObject(2632, 296.83737, -1797.98218, 3.54180, 0.00000, 0.00000, 1.56000);
CreateObject(2631, 296.85760, -1795.29272, 3.52544, 0.00000, 0.00000, 0.00000);
CreateObject(2629, 296.70154, -1795.30725, 3.56970, 0.00000, 0.00000, -90.65999);
CreateObject(2630, 296.99075, -1798.01184, 3.58667, 0.00000, 0.00000, -89.10002);
CreateObject(1550, 298.52966, -1791.81958, 3.89447, 0.00000, 0.00000, 0.00000);
CreateObject(1550, 298.57605, -1792.33154, 3.83636, 0.00000, 0.00000, 0.00000);
CreateObject(1550, 298.54251, -1792.70398, 3.87137, 0.00000, 0.00000, 0.00000);
CreateObject(2632, 296.92633, -1780.96570, 3.44882, 0.00000, 0.00000, 1.68000);
CreateObject(2632, 292.99768, -1781.08716, 3.44536, 0.00000, 0.00000, 1.74000);
CreateObject(2632, 290.77737, -1781.17529, 3.42988, 0.00000, 0.00000, -178.32011);
CreateObject(2632, 290.90997, -1783.03516, 3.41844, 0.00000, 0.00000, 0.54000);
CreateObject(2632, 290.90878, -1784.91223, 3.45757, 0.00000, 0.00000, 0.24000);
CreateObject(2632, 290.89102, -1786.81616, 3.47300, 0.00000, 0.00000, -0.96000);
CreateObject(2632, 290.81161, -1788.39954, 3.48302, 0.00000, 0.00000, 0.00000);
CreateObject(2632, 294.82220, -1782.90515, 3.45165, 0.00000, 0.00000, 1.80000);
CreateObject(2632, 294.83478, -1784.81055, 3.46223, 0.00000, 0.00000, 2.04000);
CreateObject(2632, 294.82938, -1786.67957, 3.47509, 0.00000, 0.00000, 1.02000);
CreateObject(2632, 294.74127, -1788.44775, 3.48540, 0.00000, 0.00000, 0.18000);
CreateObject(2632, 296.92825, -1782.55652, 3.45228, 0.00000, 0.00000, 0.00000);
CreateObject(2632, 297.78177, -1785.52075, 3.46349, 0.00000, 0.00000, -89.93998);
CreateObject(2632, 296.82788, -1788.35229, 3.48251, 0.00000, 0.00000, -0.06000);
CreateObject(14791, 295.59109, -1783.12061, 5.40945, 0.00000, 0.00000, 0.72000);
CreateObject(80, 294.10403, -1781.22461, 5.26659, 85.86002, 58.32003, -4.62000);
CreateObject(81, 297.43289, -1784.40393, 5.25087, 85.62012, -131.46016, 0.00000);
CreateObject(2630, 289.89716, -1781.61450, 3.47693, 0.00000, 0.00000, -2.52000);
CreateObject(2630, 291.69507, -1781.60779, 3.49233, 0.00000, 0.00000, 0.00000);
CreateObject(2629, 289.65863, -1784.75769, 3.50545, 0.00000, 0.00000, 0.00000);
CreateObject(2629, 292.09473, -1784.65173, 3.50531, 0.00000, 0.00000, -0.36000);
CreateObject(2627, 290.53421, -1788.04773, 3.53216, 0.00000, 0.00000, -90.95996);
CreateObject(2628, 297.34818, -1787.56738, 3.52885, 0.00000, 0.00000, -90.84001);
CreateObject(1502, 293.39874, -1789.42078, 3.44026, 0.18000, -0.42000, 0.84000);
return 1;
}