Streamer Objecs removing in vw 10
#1

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.
Reply
#2

https://sampforum.blast.hk/showthread.php?tid=574849
Reply
#3

I tried those function but all give warnings and dont work Jeff
Reply
#4

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);
}
Reply
#5

not giving error but not working
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)