[Map] Sumo Shop (RP)
#1

Sumo Shop at the Skate park near Glen Park and a sky scraper. This map is free (of course), and can be used and edited by anyone. Hope you enjoy!









Код:
RemoveBuildingForPlayer(playerid, 5466, 1881.7969, -1315.5391, 37.9453, 0.25);
RemoveBuildingForPlayer(playerid, 1308, 1837.1328, -1369.9844, 12.7500, 0.25);
RemoveBuildingForPlayer(playerid, 1308, 1926.0313, -1350.5469, 16.2031, 0.25);
RemoveBuildingForPlayer(playerid, 1308, 1876.9219, -1350.6875, 12.8672, 0.25);
RemoveBuildingForPlayer(playerid, 1308, 1861.7422, -1330.8906, 12.8672, 0.25);
RemoveBuildingForPlayer(playerid, 1308, 1861.7891, -1305.2109, 12.8672, 0.25);
RemoveBuildingForPlayer(playerid, 5463, 1881.7969, -1315.5391, 37.9453, 0.25);
RemoveBuildingForPlayer(playerid, 5644, 1881.8203, -1315.9219, 30.8359, 0.25);
RemoveBuildingForPlayer(playerid, 5464, 1902.4297, -1309.5391, 29.9141, 0.25);
RemoveBuildingForPlayer(playerid, 1308, 1836.7500, -1271.0078, 12.6875, 0.25);
RemoveBuildingForPlayer(playerid, 1308, 1946.2266, -1270.7656, 19.8047, 0.25);
RemoveBuildingForPlayer(playerid, 1308, 1861.7891, -1251.0078, 12.7031, 0.25);
CreateObject(8068, 1885.87488, -1319.52307, 19.22216,   0.00000, 0.00000, 270.00000);
CreateObject(8068, 1873.21838, -1296.08606, 19.22350,   0.00000, 0.00000, 180.00000);
CreateObject(4573, 1937.20007, -1309.07776, 32.37500,   -360.00000, 0.00000, 270.00000);
Spose is back
Reply
#2

Good.
Reply
#3

You could achieve the same result with half as many lines complete waste of RemoveBuildingForPlayer() lines I am going to make a utility to reprocess these lines for Texture Studio once I get some time.
Reply
#4

Quote:
Originally Posted by Pottus
Посмотреть сообщение
You could achieve the same result with half as many lines complete waste of RemoveBuildingForPlayer() lines I am going to make a utility to reprocess these lines for Texture Studio once I get some time.
Hi there! I'm not quite sure of what you mean, but as I'm using the Map editor for SA-MP I'm removing the objects necessary to build what I desire on the spot - so all the items removed are in the way of my map
Reply
#5

Well what you do is choose a center point then use a high enough range to remove all objects less lines is always better consider that function is called every time a player connects it will save 7 lines of code on each connection as well as bandwidth.
Reply
#6

Quote:
Originally Posted by Pottus
Посмотреть сообщение
Well what you do is choose a center point then use a high enough range to remove all objects less lines is always better consider that function is called every time a player connects it will save 7 lines of code on each connection as well as bandwidth.
Sorry, I have no idea of what you are talking about regarding the "center point" and range, and it's not making any sense to me at all, but then again, I'm a designer and not a programmer/coder/scripter or whatnot. If you'd like - explain more thoroughly
Reply
#7

Okay we have all these objects here.

Код:
RemoveBuildingForPlayer(playerid, 1308, 1837.1328, -1369.9844, 12.7500, 0.25);
RemoveBuildingForPlayer(playerid, 1308, 1926.0313, -1350.5469, 16.2031, 0.25);
RemoveBuildingForPlayer(playerid, 1308, 1876.9219, -1350.6875, 12.8672, 0.25);
RemoveBuildingForPlayer(playerid, 1308, 1861.7422, -1330.8906, 12.8672, 0.25);
RemoveBuildingForPlayer(playerid, 1308, 1861.7891, -1305.2109, 12.8672, 0.25);
RemoveBuildingForPlayer(playerid, 1308, 1836.7500, -1271.0078, 12.6875, 0.25);
RemoveBuildingForPlayer(playerid, 1308, 1946.2266, -1270.7656, 19.8047, 0.25);
RemoveBuildingForPlayer(playerid, 1308, 1861.7891, -1251.0078, 12.7031, 0.25);
What you would do is find the center then increase the remove range for example.

Код:
RemoveBuildingForPlayer(playerid, 1308, 1836.7500, -1271.0078, 12.6875, 100.0);
Reply
#8

Quote:
Originally Posted by Pottus
Посмотреть сообщение
Okay we have all these objects here.


Код:
RemoveBuildingForPlayer(playerid, 1308, 1836.7500, -1271.0078, 12.6875, 100.0);
If you mean changing the range i.e (0.25) to let's say (2.5) - it doesn't work that way in the map editor, it automatically changes everything back to 0.25, which makes it impossible for me to know which range I should use, since I'm not able to test it unless I add it to an actual script and go with the Trail and Error procedure
Reply
#9

I'm more worried about other things. Why did you create some themes for small objects? If you're doing something, create a map one subject and place it in his hand, and not the result of individual threads - it is not rational and respectful to other community members.

You want more attention, but do not forget that you are not alone here. Thank you for understanding.
Reply
#10

Quote:
Originally Posted by Logofero
Посмотреть сообщение
I'm more worried about other things. Why did you create some themes for small objects? If you're doing something, create a map one subject and place it in his hand, and not the result of individual threads - it is not rational and respectful to other community members.

You want more attention, but do not forget that you are not alone here. Thank you for understanding.
Thanks for your response! The reason why I'm creating individual threads is because the maps aren't linked together, they're individual maps - which is the obvious solution - individual threads. Thanks for responding though, and I will think about your opinion

Edit: I'm creating free maps for anyone to use, I'm not in need of attention, it's just the simple answer that if I were to post everything in the same thread it'd get messy and a sickly long thread.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)