27.02.2015, 13:26
Nice job.
You can use OnPlayerUpdate to detect the players weapon too (GetPlayerWeapon), and if it's not the fist (ID: 0), then you can hide the textdraw for the player - But if the weapon is fist and his "Hud" variable is 1, then you show it.
Also, I think you forgot to reset the "Hud" variable in two of the "Remove___Hud" functions
You can use OnPlayerUpdate to detect the players weapon too (GetPlayerWeapon), and if it's not the fist (ID: 0), then you can hide the textdraw for the player - But if the weapon is fist and his "Hud" variable is 1, then you show it.
Also, I think you forgot to reset the "Hud" variable in two of the "Remove___Hud" functions