SA-MP Forums Archive
Need help with objects - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: Need help with objects (/showthread.php?tid=402390)



Need help with objects - appleomax - 26.12.2012

I want to delete these objects, I deleted other objects in this area with RemoveBuildingForPlayer, but when I try to delete these objects, they don't removing.



Re: Need help with objects - TwisTa98 - 26.12.2012

you remove it from pawno?


Re: Need help with objects - DaRk_RaiN - 26.12.2012

Are those original objects?
Maybe those objects are mapped, if so load the map on the "map editor" and remove them.


Re: Need help with objects - appleomax - 26.12.2012

Only crane, but it's not removing. Can somebody tell me id of this cabins near crane?


Re: Need help with objects - TwisTa98 - 26.12.2012

if these are original objects, you can't remove this :\


Re : Need help with objects - [HRD]Mar1 - 26.12.2012

Lol these objects are not original


Re: Need help with objects - Faisal_khan - 26.12.2012

pawn Код:
RemoveBuildingForPlayer(playerid, 3865, -2063.2422, 258.7500, 35.7422, 0.25);
    RemoveBuildingForPlayer(playerid, 3869, -2123.2891, 269.5313, 41.8516, 0.25);
    RemoveBuildingForPlayer(playerid, 3869, -2126.2109, 231.9766, 41.6875, 0.25);
    RemoveBuildingForPlayer(playerid, 3869, -2116.6797, 131.0078, 42.1484, 0.25);
    RemoveBuildingForPlayer(playerid, 3865, -2063.0156, 247.9453, 35.7422, 0.25);
    RemoveBuildingForPlayer(playerid, 3865, -2057.7500, 249.9531, 35.5938, 0.25);
    RemoveBuildingForPlayer(playerid, 3865, -2057.7031, 229.8047, 35.3516, 0.25);
    RemoveBuildingForPlayer(playerid, 3865, -2059.5313, 256.5234, 37.0078, 0.25);
    RemoveBuildingForPlayer(playerid, 3888, -2128.1797, 171.4609, 42.4297, 0.25);
    RemoveBuildingForPlayer(playerid, 3888, -2066.3594, 301.9141, 42.1719, 0.25);
    RemoveBuildingForPlayer(playerid, 3887, -2066.3594, 301.9141, 42.1719, 0.25);
    RemoveBuildingForPlayer(playerid, 3887, -2128.1797, 171.4609, 42.4297, 0.25);
    RemoveBuildingForPlayer(playerid, 3866, -2116.6797, 131.0078, 42.1484, 0.25);
    RemoveBuildingForPlayer(playerid, 3864, -2082.5391, 153.5469, 40.1016, 0.25);
    RemoveBuildingForPlayer(playerid, 3872, -2079.8203, 159.6719, 40.8906, 0.25);
    RemoveBuildingForPlayer(playerid, 3864, -2111.8828, 172.4688, 40.1953, 0.25);
    RemoveBuildingForPlayer(playerid, 3872, -2116.7500, 177.0781, 40.9844, 0.25);
    RemoveBuildingForPlayer(playerid, 3872, -2064.2109, 210.1406, 41.2578, 0.25);
    RemoveBuildingForPlayer(playerid, 3872, -2107.0313, 226.0391, 40.8438, 0.25);
    RemoveBuildingForPlayer(playerid, 10984, -2126.1563, 238.6172, 35.2656, 0.25);
    RemoveBuildingForPlayer(playerid, 3864, -2102.2109, 230.7031, 40.0547, 0.25);
    RemoveBuildingForPlayer(playerid, 3866, -2126.2109, 231.9766, 41.6875, 0.25);
    RemoveBuildingForPlayer(playerid, 10986, -2130.0547, 275.5625, 35.3750, 0.25);
    RemoveBuildingForPlayer(playerid, 10987, -2137.8203, 264.2813, 35.7813, 0.25);
    RemoveBuildingForPlayer(playerid, 3866, -2123.2891, 269.5313, 41.8516, 0.25);
    RemoveBuildingForPlayer(playerid, 3864, -2113.3125, 268.5078, 40.5703, 0.25);
    RemoveBuildingForPlayer(playerid, 3872, -2118.1328, 263.8438, 41.3594, 0.25);
    RemoveBuildingForPlayer(playerid, 10985, -2099.2734, 292.9141, 35.0703, 0.25);
    RemoveBuildingForPlayer(playerid, 3864, -2059.3438, 205.5313, 40.4688, 0.25);
    RemoveBuildingForPlayer(playerid, 3872, -2048.4531, 265.0938, 41.6563, 0.25);
    RemoveBuildingForPlayer(playerid, 1383, -2076.6394,233.4760,34.7686, 350.0);
    RemoveBuildingForPlayer(playerid, 1384, -2076.6394,233.4760,34.7686, 350.0);
    RemoveBuildingForPlayer(playerid, 1684, -2076.6394,233.4760,34.7686, 350.0);
    RemoveBuildingForPlayer(playerid,1383,-2080.8096,250.6403,105.0677,100);
    RemoveBuildingForPlayer(playerid,1384,-2080.8096,250.6403,105.0677,100);
    RemoveBuildingForPlayer(playerid,1385,-2080.8096,250.6403,105.0677,100);
    RemoveBuildingForPlayer(playerid,1403,-2080.8096,250.6403,105.0677,100);
    RemoveBuildingForPlayer(playerid,1404,-2080.8096,250.6403,105.0677,100);
    RemoveBuildingForPlayer(playerid, 3864, -2041.7500, 265.1016, 40.8672, 0.25);



Re: Need help with objects - appleomax - 26.12.2012

Quote:
Originally Posted by Faisal_khan
Посмотреть сообщение
pawn Код:
RemoveBuildingForPlayer(playerid, 3865, -2063.2422, 258.7500, 35.7422, 0.25);
    RemoveBuildingForPlayer(playerid, 3869, -2123.2891, 269.5313, 41.8516, 0.25);
    RemoveBuildingForPlayer(playerid, 3869, -2126.2109, 231.9766, 41.6875, 0.25);
    RemoveBuildingForPlayer(playerid, 3869, -2116.6797, 131.0078, 42.1484, 0.25);
    RemoveBuildingForPlayer(playerid, 3865, -2063.0156, 247.9453, 35.7422, 0.25);
    RemoveBuildingForPlayer(playerid, 3865, -2057.7500, 249.9531, 35.5938, 0.25);
    RemoveBuildingForPlayer(playerid, 3865, -2057.7031, 229.8047, 35.3516, 0.25);
    RemoveBuildingForPlayer(playerid, 3865, -2059.5313, 256.5234, 37.0078, 0.25);
    RemoveBuildingForPlayer(playerid, 3888, -2128.1797, 171.4609, 42.4297, 0.25);
    RemoveBuildingForPlayer(playerid, 3888, -2066.3594, 301.9141, 42.1719, 0.25);
    RemoveBuildingForPlayer(playerid, 3887, -2066.3594, 301.9141, 42.1719, 0.25);
    RemoveBuildingForPlayer(playerid, 3887, -2128.1797, 171.4609, 42.4297, 0.25);
    RemoveBuildingForPlayer(playerid, 3866, -2116.6797, 131.0078, 42.1484, 0.25);
    RemoveBuildingForPlayer(playerid, 3864, -2082.5391, 153.5469, 40.1016, 0.25);
    RemoveBuildingForPlayer(playerid, 3872, -2079.8203, 159.6719, 40.8906, 0.25);
    RemoveBuildingForPlayer(playerid, 3864, -2111.8828, 172.4688, 40.1953, 0.25);
    RemoveBuildingForPlayer(playerid, 3872, -2116.7500, 177.0781, 40.9844, 0.25);
    RemoveBuildingForPlayer(playerid, 3872, -2064.2109, 210.1406, 41.2578, 0.25);
    RemoveBuildingForPlayer(playerid, 3872, -2107.0313, 226.0391, 40.8438, 0.25);
    RemoveBuildingForPlayer(playerid, 10984, -2126.1563, 238.6172, 35.2656, 0.25);
    RemoveBuildingForPlayer(playerid, 3864, -2102.2109, 230.7031, 40.0547, 0.25);
    RemoveBuildingForPlayer(playerid, 3866, -2126.2109, 231.9766, 41.6875, 0.25);
    RemoveBuildingForPlayer(playerid, 10986, -2130.0547, 275.5625, 35.3750, 0.25);
    RemoveBuildingForPlayer(playerid, 10987, -2137.8203, 264.2813, 35.7813, 0.25);
    RemoveBuildingForPlayer(playerid, 3866, -2123.2891, 269.5313, 41.8516, 0.25);
    RemoveBuildingForPlayer(playerid, 3864, -2113.3125, 268.5078, 40.5703, 0.25);
    RemoveBuildingForPlayer(playerid, 3872, -2118.1328, 263.8438, 41.3594, 0.25);
    RemoveBuildingForPlayer(playerid, 10985, -2099.2734, 292.9141, 35.0703, 0.25);
    RemoveBuildingForPlayer(playerid, 3864, -2059.3438, 205.5313, 40.4688, 0.25);
    RemoveBuildingForPlayer(playerid, 3872, -2048.4531, 265.0938, 41.6563, 0.25);
    RemoveBuildingForPlayer(playerid, 1383, -2076.6394,233.4760,34.7686, 350.0);
    RemoveBuildingForPlayer(playerid, 1384, -2076.6394,233.4760,34.7686, 350.0);
    RemoveBuildingForPlayer(playerid, 1684, -2076.6394,233.4760,34.7686, 350.0);
    RemoveBuildingForPlayer(playerid,1383,-2080.8096,250.6403,105.0677,100);
    RemoveBuildingForPlayer(playerid,1384,-2080.8096,250.6403,105.0677,100);
    RemoveBuildingForPlayer(playerid,1385,-2080.8096,250.6403,105.0677,100);
    RemoveBuildingForPlayer(playerid,1403,-2080.8096,250.6403,105.0677,100);
    RemoveBuildingForPlayer(playerid,1404,-2080.8096,250.6403,105.0677,100);
    RemoveBuildingForPlayer(playerid, 3864, -2041.7500, 265.1016, 40.8672, 0.25);
Thanks, it works.
Can you tell me your nickname in COD5 community?


Re: Need help with objects - geohareas - 26.12.2012

Be sure that you place them OnPlayerLogin!!


Re: Need help with objects - Faisal_khan - 27.12.2012

OnPlayerLogin? It should be OnPlayerConnect.