UGX-Mods Login

or login with an authentication provider below
Sign In with Google
Sign In with Twitter
Sign In with Discord
Sign In with Steam
Sign In with Facebook
Sign In with Twitch

BO2 Tranzit & MOTD HUD (Ammo/Grenade) V1

broken avatar :(
Created 6 years ago
by DidUknowiPwn
0 Members and 1 Guest are viewing this topic.
20,318 views
broken avatar :(
×
broken avatar :(
Location: us
Date Registered: 23 February 2014
Last active: 3 years ago
Posts
143
Respect
Forum Rank
Pack-a-Puncher
Primary Group
Member
My Contact & Social Links
More
Personal Quote
-Mega \m/
Signature
Trve Kvlt Black Metal
×
Megadeth9811's Groups
I guess I could have actually just made it work based on self.voice instead of a number.

Replace the array listing from numbers to voice type:
american
japanese
german
russian

Then just pass self.voice to figure out who you are and should be good.

Edit:
	level.zm_name = [];
level.zm_name["american"] = "Dempsey";
level.zm_name["russian"] = "Nikolai";
level.zm_name["japanese"] = "Takeo";
level.zm_name["german"] = "Richtofen";

	self SetClientDvar("hud_player_zm_name", level.zm_name[self.voice]);
Give that a try.

It worked perfectly, thanks.
broken avatar :(
  • DeletedUser
  • Deleted Member
×
broken avatar :(
DeletedUser
User
Date Registered: N/A
Last active: N/A
Posts
N/A
Respect
Primary Group
Deleted Member
×
DeletedUser's Groups
DeletedUser's Contact & Social Links
Nice HUD! Would rate 10/10 would use again  :D
broken avatar :(
×
broken avatar :(
Location: us
Date Registered: 3 June 2021
Last active: 1 day ago
Posts
3
Respect
Forum Rank
Fresh Corpse
Primary Group
Member
My Contact & Social Links
More
×
Picayune's Groups
Picayune's Contact & Social LinksPicayune27spingbotPicayune#5914
Nice HUD!

 
Loading ...