[FilterScript] Digital Health & Armour
#12

This will not work as expected as updating the textdraw for one player will update for all players you need to use player textdraws for each player and create them when a player connects.

Also, there is absolutely no point of using OnPlayerUpdate() for this OnPlayerTakeDamage() and OnPlayerSpawn() would be fine as you only need to update the textdraw when the player actually takes damage.

Last problem you don't need to show the textdraw every time you update the string

TextDrawShowForPlayer(playerid, DigiAP); absolutely not needed at all.
Reply


Messages In This Thread
Digital Health & Armour - by FailerZ - 20.12.2013, 17:32
Re: Digital Health & Armour - by MORJAN1122 - 20.12.2013, 17:35
Re: Digital Health & Armour - by DeathFire - 20.12.2013, 17:36
Re: Digital Health & Armour - by FoxGaming - 20.12.2013, 17:41
Re: Digital Health & Armour - by FailerZ - 20.12.2013, 17:42
Re: Digital Health & Armour - by PT - 20.12.2013, 17:45
Re: Digital Health & Armour - by amirab - 20.12.2013, 18:03
Re: Digital Health & Armour - by DeathFire - 20.12.2013, 18:22
Re: Digital Health & Armour - by FailerZ - 20.12.2013, 18:55
Re: Digital Health & Armour - by DemME - 20.12.2013, 19:34
Re: Digital Health & Armour - by Alphlax - 20.12.2013, 20:44
Re: Digital Health & Armour - by Pottus - 20.12.2013, 20:48
Re: Digital Health & Armour - by niels44 - 20.12.2013, 20:52
Re: Digital Health & Armour - by iFiras - 20.12.2013, 20:58
Re: Digital Health & Armour - by Patrick - 20.12.2013, 21:14
Re: Digital Health & Armour - by Hansrutger - 20.12.2013, 22:44
Re: Digital Health & Armour - by Emmet_ - 20.12.2013, 22:51
Re: Digital Health & Armour - by Pottus - 20.12.2013, 22:59
Re: Digital Health & Armour - by Patrick - 20.12.2013, 23:45
Re: Digital Health & Armour - by Mark_Samp - 21.12.2013, 00:07
Re: Digital Health & Armour - by Don_Cage - 21.12.2013, 00:24
Re: Digital Health & Armour - by FailerZ - 21.12.2013, 05:57
Re: Digital Health & Armour - by Emmet_ - 21.12.2013, 05:59
Re: Digital Health & Armour - by FailerZ - 21.12.2013, 06:07
Re: Digital Health & Armour - by Auloger - 21.12.2013, 15:49
Re: Digital Health & Armour - by AhsanAman - 10.01.2014, 19:28
Re: Digital Health & Armour - by FailerZ - 14.01.2014, 08:06
Re: Digital Health & Armour - by SyntaxQ - 14.01.2014, 10:39
Re: Digital Health & Armour - by semen7907 - 31.01.2014, 11:20
Re: Digital Health & Armour - by mahardika - 31.01.2014, 11:38
Re: Digital Health & Armour - by Guest4390857394857 - 05.04.2014, 21:03
Re: Digital Health & Armour - by TDM - 06.04.2014, 20:09
Re: Digital Health & Armour [ReCoded!] [Fixed Version!] - by ItzColaBoi - 21.11.2017, 19:05

Forum Jump:


Users browsing this thread: 1 Guest(s)