PDA

View Full Version : Mapping Import Help


CountryTrooper441
29/07/2015, 04:59 AM
Hey guys

How would I put this in? Just like that? and where do I put it in a Filterscript?


//Remove Buildings///////////////////////////////////////////////////////////////////////////////////////////////
RemoveBuildingForPlayer(playerid, 18526, -2149.039, -2274.187, 33.359, 0.250);
RemoveBuildingForPlayer(playerid, 18496, -2149.039, -2274.187, 33.359, 0.250);
RemoveBuildingForPlayer(playerid, 1334, -2136.500, -2263.898, 30.726, 0.250);
RemoveBuildingForPlayer(playerid, 1334, -2138.664, -2262.195, 30.726, 0.250);

//Objects////////////////////////////////////////////////////////////////////////////////////////////////////////
new tmpobjid;
tmpobjid = CreateDynamicObject(19445,-2141.234,-2252.152,31.352,0.000,0.000,51.420,-1,-1,-1,300.000,300.000);
SetDynamicObjectMaterial(tmpobjid, 0, 10101, "2notherbuildsfe", "sl_vicbrikwall01", 0);
tmpobjid = CreateDynamicObject(19445,-2133.692,-2258.132,31.352,0.000,0.000,51.420,-1,-1,-1,300.000,300.000);
SetDynamicObjectMaterial(tmpobjid, 0, 10101, "2notherbuildsfe", "sl_vicbrikwall01", 0);
tmpobjid = CreateDynamicObject(19445,-2131.652,-2265.900,31.352,0.000,0.000,141.419,-1,-1,-1,300.000,300.000);
SetDynamicObjectMaterial(tmpobjid, 0, 10101, "2notherbuildsfe", "sl_vicbrikwall01", 0);
tmpobjid = CreateDynamicObject(19445,-2147.187,-2259.639,31.352,0.000,0.000,51.419,-1,-1,-1,300.000,300.000);
SetDynamicObjectMaterial(tmpobjid, 0, 10101, "2notherbuildsfe", "sl_vicbrikwall01", 0);
tmpobjid = CreateDynamicObject(19445,-2145.803,-2266.849,31.352,0.000,0.000,-38.099,-1,-1,-1,300.000,300.000);
SetDynamicObjectMaterial(tmpobjid, 0, 10101, "2notherbuildsfe", "sl_vicbrikwall01", 0);
tmpobjid = CreateDynamicObject(19426,-2129.366,-2261.604,31.348,0.000,0.000,50.939,-1,-1,-1,300.000,300.000);
SetDynamicObjectMaterial(tmpobjid, 0, 10101, "2notherbuildsfe", "sl_vicbrikwall01", 0);
tmpobjid = CreateDynamicObject(19426,-2145.496,-2249.884,31.352,0.000,0.000,-39.180,-1,-1,-1,300.000,300.000);
SetDynamicObjectMaterial(tmpobjid, 0, 10101, "2notherbuildsfe", "sl_vicbrikwall01", 0);
tmpobjid = CreateDynamicObject(19383,-2144.975,-2273.622,31.350,0.000,0.000,50.819,-1,-1,-1,300.000,300.000);
SetDynamicObjectMaterial(tmpobjid, 0, 10101, "2notherbuildsfe", "sl_vicbrikwall01", 0);
tmpobjid = CreateDynamicObject(19353,-2147.455,-2271.598,31.350,0.000,0.000,50.819,-1,-1,-1,300.000,300.000);
SetDynamicObjectMaterial(tmpobjid, 0, 10101, "2notherbuildsfe", "sl_vicbrikwall01", 0);
tmpobjid = CreateDynamicObject(19353,-2142.496,-2275.642,31.350,0.000,0.000,50.819,-1,-1,-1,300.000,300.000);
SetDynamicObjectMaterial(tmpobjid, 0, 10101, "2notherbuildsfe", "sl_vicbrikwall01", 0);
tmpobjid = CreateDynamicObject(19426,-2141.194,-2276.687,31.348,0.000,0.000,51.299,-1,-1,-1,300.000,300.000);
SetDynamicObjectMaterial(tmpobjid, 0, 10101, "2notherbuildsfe", "sl_vicbrikwall01", 0);
tmpobjid = CreateDynamicObject(19445,-2137.618,-2273.460,31.352,0.000,0.000,-38.099,-1,-1,-1,300.000,300.000);
SetDynamicObjectMaterial(tmpobjid, 0, 10101, "2notherbuildsfe", "sl_vicbrikwall01", 0);
tmpobjid = CreateDynamicObject(19426,-2150.330,-2255.987,31.352,0.000,0.000,-39.060,-1,-1,-1,300.000,300.000);
SetDynamicObjectMaterial(tmpobjid, 0, 10101, "2notherbuildsfe", "sl_vicbrikwall01", 0);
tmpobjid = CreateDynamicObject(17951,-2147.932,-2252.890,31.321,0.000,0.000,-39.120,-1,-1,-1,300.000,300.000);
SetDynamicObjectMaterial(tmpobjid, 0, 10763, "airport1_sfse", "ws_rollerdoor_fire", 0);
tmpobjid = CreateDynamicObject(19426,-2143.371,-2262.671,31.352,0.000,0.000,51.120,-1,-1,-1,300.000,300.000);
SetDynamicObjectMaterial(tmpobjid, 0, 10101, "2notherbuildsfe", "sl_vicbrikwall01", 0);
/////////////////////////////////////////////////////////////////////////////////////////////////////////////////
/////////////////////////////////////////////////////////////////////////////////////////////////////////////////
/////////////////////////////////////////////////////////////////////////////////////////////////////////////////
tmpobjid = CreateDynamicObject(18981,-2156.821,-2283.861,29.153,0.000,90.000,-38.520,-1,-1,-1,300.000,300.000);
tmpobjid = CreateDynamicObject(18981,-2141.305,-2264.317,29.153,0.000,90.000,-38.520,-1,-1,-1,300.000,300.000);
tmpobjid = CreateDynamicObject(3660,-2167.753,-2278.718,32.170,0.000,0.000,51.479,-1,-1,-1,300.000,300.000);
tmpobjid = CreateDynamicObject(3660,-2135.325,-2254.663,32.170,0.000,0.000,141.420,-1,-1,-1,300.000,300.000);
tmpobjid = CreateDynamicObject(3660,-2132.000,-2271.735,32.170,0.000,0.000,231.540,-1,-1,-1,300.000,300.000);
tmpobjid = CreateDynamicObject(3660,-2144.198,-2287.066,32.170,0.000,0.000,231.540,-1,-1,-1,300.000,300.000);
tmpobjid = CreateDynamicObject(3578,-2160.552,-2289.621,28.871,0.000,0.000,48.222,-1,-1,-1,300.000,300.000);
tmpobjid = CreateDynamicObject(3578,-2157.522,-2292.204,28.871,0.000,0.000,49.242,-1,-1,-1,300.000,300.000);

THANKS!!

SoFahim
29/07/2015, 05:29 AM
RemoveBuildingForPlayer in OnPlayerConnect(Playerid )

and others in the OnGameModeInit

CountryTrooper441
29/07/2015, 06:02 AM
But now the mapping textures and the objects own go in.. :(

SoFahim
29/07/2015, 06:19 AM
Maybe the problem on setting the SetDynamicObjectMaterial . But, placing is right as i said.