Posts: 21
Threads: 8
Joined: Sep 2014
Hello guys i want to remove all streamer objects in virtual world 10 how can i do that.
I have asked before but the functions of people dont work and give errors.
i will +rep if your function will help.
Posts: 2,593
Threads: 34
Joined: Dec 2007
Posts: 21
Threads: 8
Joined: Sep 2014
I tried those function but all give warnings and dont work Jeff
Posts: 2,593
Threads: 34
Joined: Dec 2007
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);
}
Posts: 21
Threads: 8
Joined: Sep 2014
not giving error but not working