PDA

View Full Version : Object id


BryanD
06/06/2014, 11:18 AM
---

Hello, i edited the City Hall and i deleted an objects, now i put that into my Gamemode and they're still there, someone ?? pls

code:
// Remove in city hall
RemoveBuildingForPlayer(playerid, 1502, 332.7109, 183.4922, 1013.1719, 0.25);
RemoveBuildingForPlayer(playerid, 1502, 341.1328, 168.7969, 1018.9766, 0.25);
RemoveBuildingForPlayer(playerid, 2164, 350.5078, 196.9609, 1007.3750, 0.25);
RemoveBuildingForPlayer(playerid, 2164, 350.5078, 198.7344, 1007.3750, 0.25);
RemoveBuildingForPlayer(playerid, 2164, 350.5078, 200.5078, 1007.3750, 0.25);
RemoveBuildingForPlayer(playerid, 1776, 350.9063, 206.0859, 1008.4766, 0.25);
RemoveBuildingForPlayer(playerid, 2002, 350.9453, 204.0781, 1007.3750, 0.25);
RemoveBuildingForPlayer(playerid, 2162, 350.4922, 214.5234, 1007.3750, 0.25);
RemoveBuildingForPlayer(playerid, 2164, 350.5078, 210.9766, 1007.3750, 0.25);
RemoveBuildingForPlayer(playerid, 2164, 350.5078, 212.7500, 1007.3750, 0.25);
RemoveBuildingForPlayer(playerid, 2164, 350.5078, 216.2969, 1007.3750, 0.25);
RemoveBuildingForPlayer(playerid, 2011, 350.8125, 209.1094, 1007.3750, 0.25);
RemoveBuildingForPlayer(playerid, 2186, 355.5156, 158.7188, 1007.3359, 0.25);
RemoveBuildingForPlayer(playerid, 2164, 353.5391, 167.8438, 1007.3750, 0.25);
RemoveBuildingForPlayer(playerid, 2164, 353.5391, 166.0703, 1007.3750, 0.25);
RemoveBuildingForPlayer(playerid, 2164, 353.5391, 163.7344, 1007.3750, 0.25);
RemoveBuildingForPlayer(playerid, 2202, 354.0547, 160.6953, 1007.3359, 0.25);
RemoveBuildingForPlayer(playerid, 1806, 355.8516, 163.2422, 1007.3672, 0.25);
RemoveBuildingForPlayer(playerid, 2190, 357.2969, 162.9531, 1008.2813, 0.25);
RemoveBuildingForPlayer(playerid, 2190, 357.2969, 166.0391, 1008.2813, 0.25);
RemoveBuildingForPlayer(playerid, 2163, 353.5391, 175.1641, 1007.3750, 0.25);
RemoveBuildingForPlayer(playerid, 2167, 353.5391, 173.8828, 1007.3750, 0.25);
RemoveBuildingForPlayer(playerid, 2164, 353.5391, 169.6172, 1007.3750, 0.25);
RemoveBuildingForPlayer(playerid, 2161, 353.5938, 181.8359, 1007.3750, 0.25);
RemoveBuildingForPlayer(playerid, 2164, 353.5938, 177.7500, 1007.3750, 0.25);
RemoveBuildingForPlayer(playerid, 2163, 353.5391, 179.5156, 1007.3750, 0.25);
RemoveBuildingForPlayer(playerid, 1806, 354.9531, 168.5469, 1007.3672, 0.25);
RemoveBuildingForPlayer(playerid, 2190, 357.2969, 168.7734, 1008.2813, 0.25);
RemoveBuildingForPlayer(playerid, 1806, 355.8516, 178.8672, 1007.3672, 0.25);
RemoveBuildingForPlayer(playerid, 2190, 357.2969, 178.4531, 1008.2813, 0.25);
RemoveBuildingForPlayer(playerid, 1806, 355.8516, 182.4063, 1007.3672, 0.25);
RemoveBuildingForPlayer(playerid, 2190, 357.2969, 182.4141, 1008.2813, 0.25);
RemoveBuildingForPlayer(playerid, 2162, 353.5234, 183.6406, 1007.3750, 0.25);
RemoveBuildingForPlayer(playerid, 2002, 354.0313, 187.4063, 1007.3750, 0.25);
RemoveBuildingForPlayer(playerid, 1806, 355.8516, 186.3125, 1007.3672, 0.25);
RemoveBuildingForPlayer(playerid, 2190, 357.2969, 186.0313, 1008.2813, 0.25);
RemoveBuildingForPlayer(playerid, 2169, 354.3359, 189.1250, 1007.3828, 0.25);
RemoveBuildingForPlayer(playerid, 1998, 354.3828, 200.9766, 1007.3672, 0.25);
RemoveBuildingForPlayer(playerid, 1806, 355.5703, 200.7656, 1007.3672, 0.25);
RemoveBuildingForPlayer(playerid, 1806, 357.6719, 200.7656, 1007.3672, 0.25);
RemoveBuildingForPlayer(playerid, 2202, 352.9141, 217.1563, 1007.3750, 0.25);
RemoveBuildingForPlayer(playerid, 1806, 354.7188, 204.5234, 1007.3672, 0.25);
RemoveBuildingForPlayer(playerid, 2009, 354.4297, 209.3828, 1007.3672, 0.25);
RemoveBuildingForPlayer(playerid, 1806, 354.7109, 212.0625, 1007.3672, 0.25);
RemoveBuildingForPlayer(playerid, 2008, 355.3984, 202.9922, 1007.3672, 0.25);
RemoveBuildingForPlayer(playerid, 1806, 355.5156, 208.6172, 1007.3672, 0.25);
RemoveBuildingForPlayer(playerid, 2186, 355.2031, 217.1563, 1007.3750, 0.25);
RemoveBuildingForPlayer(playerid, 1999, 355.4453, 211.4063, 1007.3672, 0.25);
RemoveBuildingForPlayer(playerid, 2008, 356.4688, 201.9766, 1007.3672, 0.25);
RemoveBuildingForPlayer(playerid, 1806, 356.5938, 203.4219, 1007.3672, 0.25);
RemoveBuildingForPlayer(playerid, 1998, 357.4844, 203.9922, 1007.3672, 0.25);
RemoveBuildingForPlayer(playerid, 2001, 357.5625, 204.7969, 1007.3594, 0.25);
RemoveBuildingForPlayer(playerid, 1806, 356.3828, 213.5938, 1007.3672, 0.25);
RemoveBuildingForPlayer(playerid, 1999, 356.4688, 210.3828, 1007.3672, 0.25);
RemoveBuildingForPlayer(playerid, 1806, 357.6953, 209.5938, 1007.3672, 0.25);
RemoveBuildingForPlayer(playerid, 2009, 357.4844, 212.4063, 1007.3672, 0.25);
RemoveBuildingForPlayer(playerid, 2001, 358.1641, 211.0234, 1007.3750, 0.25);
RemoveBuildingForPlayer(playerid, 1776, 361.5625, 158.6172, 1008.4766, 0.25);
RemoveBuildingForPlayer(playerid, 2001, 359.8672, 158.6875, 1007.3750, 0.25);
RemoveBuildingForPlayer(playerid, 2001, 363.4609, 158.6875, 1007.3750, 0.25);
RemoveBuildingForPlayer(playerid, 1714, 359.0547, 173.5859, 1007.3828, 0.25);
RemoveBuildingForPlayer(playerid, 2190, 360.1016, 171.8203, 1008.1016, 0.25);
RemoveBuildingForPlayer(playerid, 2190, 360.3125, 174.9609, 1008.1016, 0.25);
RemoveBuildingForPlayer(playerid, 2001, 372.7109, 169.4531, 1018.9766, 0.25);
RemoveBuildingForPlayer(playerid, 2001, 373.3438, 169.6016, 1018.9766, 0.25);
RemoveBuildingForPlayer(playerid, 2001, 374.0078, 170.6406, 1007.3750, 0.25);
RemoveBuildingForPlayer(playerid, 1703, 371.8516, 171.2500, 1018.9766, 0.25);
RemoveBuildingForPlayer(playerid, 2001, 373.9766, 176.9453, 1007.3750, 0.25);
RemoveBuildingForPlayer(playerid, 2002, 369.7813, 178.4141, 1018.9766, 0.25);
RemoveBuildingForPlayer(playerid, 1776, 371.5938, 178.4531, 1020.0703, 0.25);
RemoveBuildingForPlayer(playerid, 2010, 377.0078, 180.1406, 1007.3750, 0.25);
RemoveBuildingForPlayer(playerid, 1703, 373.6641, 182.5703, 1007.3750, 0.25);
RemoveBuildingForPlayer(playerid, 1703, 371.6563, 183.8438, 1007.3750, 0.25);
RemoveBuildingForPlayer(playerid, 1703, 372.5234, 186.0781, 1007.3750, 0.25);
RemoveBuildingForPlayer(playerid, 1703, 374.7734, 184.9844, 1007.3750, 0.25);
RemoveBuildingForPlayer(playerid, 1502, 365.7969, 189.6172, 1007.3750, 0.25);
RemoveBuildingForPlayer(playerid, 2011, 371.0781, 188.9297, 1007.3750, 0.25);
RemoveBuildingForPlayer(playerid, 2002, 373.4688, 188.9375, 1007.3750, 0.25);
RemoveBuildingForPlayer(playerid, 1776, 374.8906, 188.9766, 1008.4766, 0.25);
RemoveBuildingForPlayer(playerid, 1502, 365.7969, 196.2734, 1007.3750, 0.25);
RemoveBuildingForPlayer(playerid, 2001, 359.5703, 202.8125, 1007.3750, 0.25);
RemoveBuildingForPlayer(playerid, 1806, 360.0156, 204.1328, 1007.3672, 0.25);
RemoveBuildingForPlayer(playerid, 2162, 359.9922, 217.5703, 1007.3750, 0.25);
RemoveBuildingForPlayer(playerid, 2009, 360.2734, 201.2969, 1007.3672, 0.25);
RemoveBuildingForPlayer(playerid, 1998, 360.7734, 209.7344, 1007.3672, 0.25);
RemoveBuildingForPlayer(playerid, 2001, 360.8203, 209.0078, 1007.3594, 0.25);
RemoveBuildingForPlayer(playerid, 1806, 361.2344, 201.5313, 1007.3672, 0.25);
RemoveBuildingForPlayer(playerid, 1999, 362.3125, 202.2969, 1007.3672, 0.25);
RemoveBuildingForPlayer(playerid, 1999, 361.2813, 203.3203, 1007.3672, 0.25);
RemoveBuildingForPlayer(playerid, 1806, 362.2656, 204.1328, 1007.3672, 0.25);
RemoveBuildingForPlayer(playerid, 1806, 361.1172, 212.3906, 1007.3672, 0.25);
RemoveBuildingForPlayer(playerid, 2008, 361.7813, 211.7500, 1007.3672, 0.25);
RemoveBuildingForPlayer(playerid, 1806, 361.7500, 209.8281, 1007.3672, 0.25);
RemoveBuildingForPlayer(playerid, 2162, 361.7734, 217.5703, 1007.3750, 0.25);
RemoveBuildingForPlayer(playerid, 2008, 362.8594, 210.7344, 1007.3672, 0.25);
RemoveBuildingForPlayer(playerid, 1806, 362.9219, 200.6953, 1007.3672, 0.25);
RemoveBuildingForPlayer(playerid, 2009, 363.3203, 204.3203, 1007.3672, 0.25);
RemoveBuildingForPlayer(playerid, 1806, 363.0625, 212.3906, 1007.3672, 0.25);
RemoveBuildingForPlayer(playerid, 1806, 363.9063, 209.8281, 1007.3672, 0.25);
RemoveBuildingForPlayer(playerid, 2164, 363.5547, 217.5547, 1007.3750, 0.25);
RemoveBuildingForPlayer(playerid, 1998, 363.8672, 212.7500, 1007.3672, 0.25);
RemoveBuildingForPlayer(playerid, 2164, 365.3281, 217.5547, 1007.3750, 0.25);
RemoveBuildingForPlayer(playerid, 2164, 368.8516, 213.0625, 1007.3750, 0.25);
RemoveBuildingForPlayer(playerid, 2164, 368.8516, 214.8359, 1007.3750, 0.25);
RemoveBuildingForPlayer(playerid, 2164, 367.1016, 217.5547, 1007.3750, 0.25);
RemoveBuildingForPlayer(playerid, 2164, 368.8516, 216.6094, 1007.3750, 0.25);

return 1;

ViperAssasin11
15/12/2014, 03:28 PM
put the removebuildingforplayer under OnPlayerConnect