3DTextLabel - Bug or error on my behalf?
#1

Ok - the basics of the problem: The 3DTextLabel creates fine and works fine - But it doesn't delete.

At the top of script:
Код:
new Text3D:SpawnProtectionLabel[MAX_PLAYERS];
new SpawnProtectionLabelActive[MAX_PLAYERS];
Inside a command:
Код:
SpawnProtectionLabel[playerid] = Create3DTextLabel("{FF0000}Spawnkill Protection Enabled", 0x008080FF, 30.0, 40.0, 50.0, 40.0, 0, 0);
Attach3DTextLabelToPlayer(SpawnProtectionLabel[playerid], playerid, 0, 0, 0.5);
SpawnProtectionLabelActive[playerid] = 1;
-- It then calls a timer of 7 seconds, the timer has this inside: (It works, as my HP does change)

Код:
SetPlayerHealth(playerid, 100);
TextDrawHideForPlayer(playerid, SpawnProtection);
Delete3DTextLabel(SpawnProtectionLabel[playerid]);
SpawnProtectionLabelActive[playerid] = 0;
- Thanks, I hope you realise what I have done wrong / or maybe a SA-MP bug?

It is not deleting, and the timer is definetly called, as my HP changes.
Reply


Messages In This Thread
3DTextLabel - Bug or error on my behalf? - by Pizzy - 27.05.2012, 13:46
Re: 3DTextLabel - Bug or error on my behalf? - by HighPitchedVoice - 27.05.2012, 14:31
Re: 3DTextLabel - Bug or error on my behalf? - by Pizzy - 27.05.2012, 15:04
Re: 3DTextLabel - Bug or error on my behalf? - by ViniBorn - 27.05.2012, 15:10
Re: 3DTextLabel - Bug or error on my behalf? - by Pizzy - 27.05.2012, 15:37
Re: 3DTextLabel - Bug or error on my behalf? - by iGetty - 27.05.2012, 15:42
Re: 3DTextLabel - Bug or error on my behalf? - by TzAkS. - 27.05.2012, 15:49
Re: 3DTextLabel - Bug or error on my behalf? - by String - 27.05.2012, 17:25
Re: 3DTextLabel - Bug or error on my behalf? - by [MG]Dimi - 27.05.2012, 21:35

Forum Jump:


Users browsing this thread: 1 Guest(s)