How to destroy Text3D without a handle.
#1

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:

pawn Код:
for(new i; i < 1000; i++)
{
new id = Streamer_GetItemStreamerID(playerid,0,i);
if(Streamer_IsItemVisible(playerid,0,id))
{
//..
}

}
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.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)