Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include <a_samp>
- #include "../include/gl_common.inc"
- #include <streamer>
- RemoveBuildingsForStation(playerid)
- {
- RemoveBuildingForPlayer(playerid, 11311, -1968.5625, 139.1094, 31.8672, 0.25);
- RemoveBuildingForPlayer(playerid, 673, -1998.5625, 133.1094, 26.8047, 0.25);
- RemoveBuildingForPlayer(playerid, 673, -1998.5625, 141.8281, 26.8047, 0.25);
- RemoveBuildingForPlayer(playerid, 673, -1998.5625, 149.1250, 26.8047, 0.25);
- RemoveBuildingForPlayer(playerid, 673, -1998.5625, 164.9063, 26.8047, 0.25);
- RemoveBuildingForPlayer(playerid, 673, -1998.5625, 157.6094, 26.8047, 0.25);
- RemoveBuildingForPlayer(playerid, 11305, -1968.5625, 139.1094, 31.8672, 0.25);
- RemoveBuildingForPlayer(playerid, 1264, -1980.9141, 149.5625, 27.0391, 0.25);
- RemoveBuildingForPlayer(playerid, 1264, -1980.9141, 148.0781, 27.0391, 0.25);
- RemoveBuildingForPlayer(playerid, 1264, -1981.4375, 148.9219, 27.0391, 0.25);
- }
- public OnPlayerConnect(playerid)
- {
- RemoveBuildingsForStation(playerid);
- return 1;
- }
- public OnPlayerCommandText(playerid,cmdtext[])
- {
- if(!strcmp(cmdtext,"/sf",true))
- {
- SetPlayerPos(playerid, -1991.76782, 151.15411, 27.1404);
- }
- }
- public OnFilterScriptInit()
- {
- SetObjectMaterial(CreateObject(11305, -1968.56250, 139.10941, 31.86720, 0.00000, 0.00000, 0.00000), 0, 12855, "cunte_cop", "sw_brick04", 0xFFe9d27c);
- new statwall[21];
- statwall[1] = CreateDynamicObject(18981, -1999.08569, 157.21268, 15.83330, 0.00000, 0.00000, 0.00000);
- statwall[2] = CreateDynamicObject(18981, -1999.08972, 134.93042, 15.84334, 0.00000, 0.00000, 0.00000);
- statwall[3] = CreateDynamicObject(18980, -1999.08423, 123.93280, 23.97480, 20.00000, 0.00000, 0.00000);
- statwall[4] = CreateDynamicObject(18981, -1987.13696, 154.79179, 35.45520, 0.00000, 90.00000, 0.00000);
- statwall[5] = CreateDynamicObject(18981, -1987.13220, 131.57655, 35.44520, 0.00000, 90.00000, 0.00000);
- statwall[6] = CreateDynamicObject(18980, -1999.08423, 129.03500, 23.97480, 20.00000, 0.00000, 0.00000);
- statwall[7] = CreateDynamicObject(18980, -1999.08423, 134.11940, 23.97480, 20.00000, 0.00000, 0.00000);
- statwall[8] = CreateDynamicObject(18980, -1999.08423, 139.37500, 23.97480, 20.00000, 0.00000, 0.00000);
- statwall[9] = CreateDynamicObject(18980, -1999.08423, 144.55769, 23.97480, 20.00000, 0.00000, 0.00000);
- statwall[10] = CreateDynamicObject(18980, -1999.08423, 149.84201, 23.97480, 20.00000, 0.00000, 0.00000);
- statwall[11] = CreateDynamicObject(18980, -1999.08423, 155.10159, 23.97480, 20.00000, 0.00000, 0.00000);
- statwall[12] = CreateDynamicObject(18980, -1999.08423, 170.77420, 23.97480, 20.00000, 0.00000, 0.00000);
- statwall[13] = CreateDynamicObject(18980, -1999.08423, 160.36929, 23.97480, 20.00000, 0.00000, 0.00000);
- statwall[14] = CreateDynamicObject(18980, -1999.08423, 165.63190, 23.97480, 20.00000, 0.00000, 0.00000);
- statwall[15] = CreateDynamicObject(18981, -1998.05847, 157.63080, 14.70170, 0.00000, 0.00000, 0.00000);
- statwall[16] = CreateDynamicObject(18980, -1998.06116, 173.93350, 15.28120, 20.00000, 0.00000, 0.00000);
- statwall[17] = CreateDynamicObject(18980, -1998.09314, 173.94150, 15.28120, 20.00000, 0.00000, 0.00000);
- statwall[18] = CreateDynamicObject(18981, -1998.05859, 135.78830, 14.71170, 0.00000, 0.00000, 0.00000);
- statwall[19] = CreateDynamicObject(18980, -1998.08337, 127.09810, 15.28580, 20.00000, 0.00000, 0.00000);
- statwall[20] = CreateDynamicObject(18980, -1998.05945, 127.09810, 15.27580, 20.00000, 0.00000, 0.00000);
- for(new statwallss = 0; statwallss < sizeof(statwall); statwallss++)
- {
- new statwalls = statwall[statwallss];
- SetDynamicObjectMaterial(statwalls, 0, 12855, "cunte_cop", "sw_brick04", 0xFFe9d27c);
- }
- new taxitext[16];
- taxitext[1] = CreateDynamicObject(19325, 1624.74817, -2250.46704, 12.33690, 0.00000, 90.00000, 90.00000);
- taxitext[2] = CreateDynamicObject(19325, 1633.13623, -2250.46704, 12.33690, 0.00000, 90.00000, 90.00000);
- taxitext[3] = CreateDynamicObject(19325, 1641.11328, -2250.46704, 12.33690, 0.00000, 90.00000, 90.00000);
- taxitext[4] = CreateDynamicObject(19325, 1649.49963, -2250.46704, 12.33690, 0.00000, 90.00000, 90.00000);
- for(new taxitextss = 0; taxitextss < sizeof(taxitext); taxitextss++)
- {
- new taxitexts = taxitext[taxitextss];
- SetDynamicObjectMaterialText(taxitexts, 0, "TAXI", OBJECT_MATERIAL_SIZE_256x128,
- "Times New Roman", 40, 1, 0xFFffe144, 0, OBJECT_MATERIAL_TEXT_ALIGN_CENTER);
- }
- SetDynamicObjectMaterial(CreateDynamicObject(18980, -1998.96033, 131.57823, 36.33505, 90.00000, 0.00000, 0.00000), 0, 5134, "wasteland_las2", "ws_sandstone2", 0xFF505050);
- SetDynamicObjectMaterial(CreateDynamicObject(18980, -1998.96777, 154.70190, 36.34500, 90.00000, 0.00000, 0.00000), 0, 5134, "wasteland_las2", "ws_sandstone2", 0xFF505050);
- SetDynamicObjectMaterial(CreateDynamicObject(18981, -1998.35608, 135.79213, 14.71970, 0.00000, 0.00000, 0.00000), 0, 9495, "vict_sfw", "Grass_128HV", 0xFFFFFFFF);
- SetDynamicObjectMaterial(CreateDynamicObject(18981, -1998.35608, 157.62061, 14.72970, 0.00000, 0.00000, 0.00000), 0, 9495, "vict_sfw", "Grass_128HV", 0xFFFFFFFF);
- SetDynamicObjectMaterial(CreateDynamicObject(19466, -1984.29919, 174.90027, 26.67840, 0.00000, 0.00000, 90.00000), 0, 12855, "cunte_cop", "sw_brick04", 0);
- SetDynamicObjectMaterial(CreateDynamicObject(19466, -1984.29919, 174.90030, 28.61520, 0.00000, 0.00000, 90.00000), 0, 12855, "cunte_cop", "sw_brick04", 0);
- SetDynamicObjectMaterial(CreateDynamicObject(16101, -1983.16553, 174.90176, 18.73454, 0.00000, 0.00000, 0.00000), 0, 12855, "cunte_cop", "sw_brick04", 0);
- CreateDynamicObject(19325, -1983.14209, 178.19835, 27.60096, 0.00000, 0.00000, 0.00000);
- CreateDynamicObject(19466, -1984.23938, 181.52487, 26.67840, 0.00000, 0.00000, 90.00000);
- SetDynamicObjectMaterial(CreateDynamicObject(16101, -1983.14624, 181.49059, 18.73454, 0.00000, 0.00000, 0.00000), 0, 12855, "cunte_cop", "sw_brick04", 0);
- CreateDynamicObject(19466, -1984.23938, 181.52490, 28.61520, 0.00000, 0.00000, 90.00000);
- SetDynamicObjectMaterial(CreateDynamicObject(16101, -1985.34766, 181.49060, 18.73450, 0.00000, 0.00000, 0.00000), 0, 12855, "cunte_cop", "sw_brick04", 0);
- SetDynamicObjectMaterial(CreateDynamicObject(16101, -1985.41174, 174.90179, 18.73450, 0.00000, 0.00000, 0.00000), 0, 12855, "cunte_cop", "sw_brick04", 0);
- SetDynamicObjectMaterial(CreateDynamicObject(19363, -1984.62915, 176.58418, 29.58025, 0.00000, 90.00000, 90.00000), 0, 12855, "cunte_cop", "sw_brick04", 0);
- SetDynamicObjectMaterial(CreateDynamicObject(19363, -1984.62122, 179.82640, 29.58530, 0.00000, 90.00000, 90.00000), 0, 12855, "cunte_cop", "sw_brick04", 0);
- CreateDynamicObject(19325, -1999.08423, 167.24899, 26.28180, 110.00000, 0.00000, 0.00000);
- CreateDynamicObject(19325, -1999.08423, 162.07770, 26.30580, 110.00000, 0.00000, 0.00000);
- CreateDynamicObject(19325, -1999.08423, 156.80280, 26.30580, 110.00000, 0.00000, 0.00000);
- CreateDynamicObject(19325, -1999.08423, 151.53220, 26.32980, 110.00000, 0.00000, 0.00000);
- CreateDynamicObject(19325, -1999.08423, 146.39830, 26.32980, 110.00000, 0.00000, 0.00000);
- CreateDynamicObject(19325, -1999.08423, 141.07170, 26.32980, 110.00000, 0.00000, 0.00000);
- CreateDynamicObject(19325, -1999.08423, 135.93460, 26.32980, 110.00000, 0.00000, 0.00000);
- CreateDynamicObject(19325, -1999.08423, 130.74870, 26.35380, 110.00000, 0.00000, 0.00000);
- CreateDynamicObject(19325, -1999.08423, 125.60070, 26.36180, 110.00000, 0.00000, 0.00000);
- CreateDynamicObject(19325, -1999.08423, 159.89520, 32.58070, 110.00000, 0.00000, 0.00000);
- CreateDynamicObject(19325, -1999.08423, 165.13530, 32.58070, 110.00000, 0.00000, 0.00000);
- CreateDynamicObject(19325, -1999.08423, 154.62061, 32.58070, 110.00000, 0.00000, 0.00000);
- CreateDynamicObject(19325, -1999.08423, 149.29131, 32.58070, 110.00000, 0.00000, 0.00000);
- CreateDynamicObject(19325, -1999.08423, 144.14841, 32.58070, 110.00000, 0.00000, 0.00000);
- CreateDynamicObject(19325, -1999.08423, 133.68919, 32.58070, 110.00000, 0.00000, 0.00000);
- CreateDynamicObject(19325, -1999.08423, 138.82899, 32.58070, 110.00000, 0.00000, 0.00000);
- CreateDynamicObject(19325, -1999.08423, 128.46120, 32.58070, 110.00000, 0.00000, 0.00000);
- CreateDynamicObject(19325, -1999.08423, 123.26690, 32.58070, 110.00000, 0.00000, 0.00000);
- }
Advertisement
Add Comment
Please, Sign In to add comment