10.10.2015, 00:46
Use code from last post from link
pawn Код:
for(new objectid = 1, j = Streamer_CountItems(STREAMER_TYPE_OBJECT, 1); objectid != j; objectid++)
{
if(!IsValidDynamicObject(objectid) || Streamer_GetIntData(STREAMER_TYPE_OBJECT, objectid, E_STREAMER_WORLD_ID) != 10)
{
continue;
}
printf("DestroyDynamicObject(%d)", objectid);
DestroyDynamicObject(objectid);
}