23.01.2015, 01:01
Alright, so I need some advice, how to make a loop to go through all visible streamed Text3D labels by using:
Streamer_IsItemVisible()
for objects its pretty straight forward:
How to make the same for Text3D, in basic I need to destroy all visible Text3D labels for 1 player permanently.
Streamer_DestroyAllVsibleItems(playerid,5); destroys them, but on next update aka player move, labels are back.
Streamer_IsItemVisible()
for objects its pretty straight forward:
pawn Код:
for(new i; i < 1000; i++)
{
new id = Streamer_GetItemStreamerID(playerid,0,i);
if(Streamer_IsItemVisible(playerid,0,id))
{
//..
}
}
Streamer_DestroyAllVsibleItems(playerid,5); destroys them, but on next update aka player move, labels are back.