Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- function onPlayerWeaponChange( player, oldWep, newWep )
- {
- WEP.push({Player = player, Text = null});
- DrawWEP();
- }
- function DrawWEP()
- {
- foreach (val in WEP)
- {
- if (val.Text != null) val.Text.Delete();
- val.Text = CreateTextdraw("Current Weapon: " + GetWeaponName( val.Player.Weapon ), 20, -250, 0xFFFF69B4);
- if (val.Text != null) val.Text.ShowForPlayer(val.Player);
- }
- }
Add Comment
Please, Sign In to add comment