Dynamic 3d text labels - issues destroying properly
#5

Quote:
Originally Posted by paul988
Посмотреть сообщение
I think this should work, not sure though:

pawn Код:
if(IsPlayerAfk(i) && GetPVarInt(i, "notspawned") == 0)
{
    if(afkvar[i] == 0 && !IsValidDynamic3DTextLabel(afk[i]) )
    {
        afk[i] = CreateDynamic3DTextLabel("Away / AFK", 0xEE0000AA, 0.0, 0.0, 1.3, 40.0, i, INVALID_VEHICLE_ID, 1, -1,-1, -1, 300.0);  
        afkvar[i] = 1;  
    }
}
Thanks, however the problem isn't to create them, the problem is to have them removed/destroyed

I'll give the above suggestion a try, and if it fails, i'll bump for more help


Edit:
It actually works to update the label instead of destroying it each time.

Thanks for the help.
Reply


Messages In This Thread
Dynamic 3d text labels - issues destroying properly - by denNorske - 11.03.2015, 13:59
Re: Dynamic 3d text labels - issues destroying properly - by Dragonsaurus - 11.03.2015, 14:07
Re: Dynamic 3d text labels - issues destroying properly - by denNorske - 11.03.2015, 14:09
Re: Dynamic 3d text labels - issues destroying properly - by paul988 - 11.03.2015, 14:19
Re: Dynamic 3d text labels - issues destroying properly - by denNorske - 11.03.2015, 14:42

Forum Jump:


Users browsing this thread: 1 Guest(s)