21.04.2017, 22:30
Hey there!
I picked up mapping again and decided to map some sort of a fire station. To do that I had to remove a couple of objects, the sandpit and crane at market hospital to be precise. I used the map editor that is on this forum to produce the code and for some reason it does not show up ingame.
The code that I use:
Does any of you perhaps have a idea why the objects are not disapearing? I run gamemode bare which is also set in the server.cfg
I picked up mapping again and decided to map some sort of a fire station. To do that I had to remove a couple of objects, the sandpit and crane at market hospital to be precise. I used the map editor that is on this forum to produce the code and for some reason it does not show up ingame.
The code that I use:
Код:
public OnPlayerConnect(playerid) { RemoveBuildingForPlayer(playerid, 5967, 1259.4375, -1246.8125, 17.1094, 0.25); RemoveBuildingForPlayer(playerid, 1388, 1238.3750, -1258.2813, 57.2031, 0.25); RemoveBuildingForPlayer(playerid, 1391, 1238.3750, -1258.2734, 44.6641, 0.25); RemoveBuildingForPlayer(playerid, 5857, 1259.4375, -1246.8125, 17.1094, 0.25); RemoveBuildingForPlayer(playerid, 1219, 1284.1797, -1239.6406, 12.9141, 0.25); RemoveBuildingForPlayer(playerid, 4057, 1479.5547, -1693.1406, 19.5781, 0.25); RemoveBuildingForPlayer(playerid, 4226, 1359.2813, -1796.4688, 24.3438, 0.25); RemoveBuildingForPlayer(playerid, 4023, 1359.2813, -1796.4688, 24.3438, 0.25); RemoveBuildingForPlayer(playerid, 4186, 1479.5547, -1693.1406, 19.5781, 0.25); return 1; }