Streamer; Dynamic3DTextLabel
#1

So, As I've recently made a reply on Streamer plugin thread regarding the bug in Dynamic3DTextLabels
I've now tried to update the labels, delete and re-create them. Nothing worked. I also almost found what's wrong..
The labels are not DELETING/DESTROYED. I tried to make a command for deleting a 3DTextLabel of a particular house ID:
pawn Код:
CMD:delhouselab(playerid, params[])
{
    new id;
    if(sscanf(params, "i", id)) return SendClientMessage(playerid, COL_RED, "Usage: "GREY"/delhouselab (House ID)");
    DestroyDynamic3DTextLabel(HouseInfo[id][Label]);
    SendClientMessage(playerid, COL_RED, "DELETED.");
    return 1;
}
And I've found that the label wasn't destroying. I even spammed "/delhouselab 1" while standing infront of the house (where the label is placed), but it never gets destroyed.
This is how I create it/the server does when the positions are retrieved from the database;
pawn Код:
for(new k = 0; k < sizeof(Worlds); k++)
{
    HouseInfo[i][Label] = CreateDynamic3DTextLabel(lString,COLOR_BLUE, HouseInfo[i][OutX], HouseInfo[i][OutY], HouseInfo[i][OutZ]+0.5, 30.0, INVALID_PLAYER_ID, INVALID_VEHICLE_ID, 0, Worlds[x], -1, -1, 50.0);
}
The labels are properly created but, they aren't getting destroyed/updated.
If I use UpdateDynamic3DTextLabelText, It creates another one label and both of the labels gets mixed up.
Even if I DestroyDynamic3DTextLabel and create it again, the same happens as given above.

This is how it looks like when I update it/re-create it..
Reply


Messages In This Thread
Streamer; Dynamic3DTextLabel - by biker122 - 01.10.2014, 13:11
Re: Streamer; Dynamic3DTextLabel - by Sascha - 01.10.2014, 14:42
Re: Streamer; Dynamic3DTextLabel - by biker122 - 02.10.2014, 06:22
Re: Streamer; Dynamic3DTextLabel - by Cell_ - 02.10.2014, 06:32
Re: Streamer; Dynamic3DTextLabel - by biker122 - 02.10.2014, 07:47
Re: Streamer; Dynamic3DTextLabel - by Cell_ - 02.10.2014, 07:54
Re: Streamer; Dynamic3DTextLabel - by biker122 - 02.10.2014, 07:59
Re: Streamer; Dynamic3DTextLabel - by Cell_ - 02.10.2014, 08:02
Re: Streamer; Dynamic3DTextLabel - by biker122 - 02.10.2014, 08:05
Re: Streamer; Dynamic3DTextLabel - by Cell_ - 02.10.2014, 08:11

Forum Jump:


Users browsing this thread: 1 Guest(s)