Streamer Objecs removing in vw 10 - Printable Version
+- SA-MP Forums Archive (
https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (
https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (
https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: Streamer Objecs removing in vw 10 (
/showthread.php?tid=591245)
Streamer Objecs removing in vw 10 -
AleemIqbal1 - 10.10.2015
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.
Re: Streamer Objecs removing in vw 10 -
Jefff - 10.10.2015
https://sampforum.blast.hk/showthread.php?tid=574849
Re: Streamer Objecs removing in vw 10 -
AleemIqbal1 - 10.10.2015
I tried those function but all give warnings and dont work Jeff
Re: Streamer Objecs removing in vw 10 -
Jefff - 10.10.2015
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);
}
Re: Streamer Objecs removing in vw 10 -
AleemIqbal1 - 10.10.2015
not giving error but not working