12.09.2011, 22:54
I'm setting up this thread so people can post for the codes to remove objects. Please post a picture with the object pointed out, or a detailed description of what object you want the codes for.
//Testing
YCMD:wipeall(playerid, params[], help)
{
#pragma unused help
#pragma unused params
new string[24];
for (new i = 0; i != 19000; ++i)
{
RemoveBuildingForPlayer(playerid, i, 0.0, 0.0, 0.0, 6000.0);
format(string, sizeof(string), "Object %i removed", i);
SendClientMessage(playerid, 0xFF6600, string);
}
return 1;
}
//Testing
YCMD:wipeall(playerid, params[], help)
{
#pragma unused help
#pragma unused params
new string[24];
for (new i = 0; i < sizeof(allObjects); ++i)
{
RemoveBuildingForPlayer(playerid, allObjects[i][id], 0.0, 0.0, 0.0, 6000.0);
format(string, sizeof(string), "Object %i removed", allObjects[i][id]);
SendClientMessage(playerid, 0xFF6600, string);
}
return 1;
}