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

HOT
broken avatar :(
Created 9 years ago
by DidUknowiPwn
0 Members and 1 Guest are viewing this topic.
25,138 views
broken avatar :(
×
broken avatar :(
Location: us
Date Registered: 23 February 2014
Last active: 5 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
Megadeth9811's Contact & Social LinksMegadeth9811Megadeth9811Megadeth9811
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:
Code Snippet
Plaintext
	level.zm_name = [];
level.zm_name["american"] = "Dempsey";
level.zm_name["russian"] = "Nikolai";
level.zm_name["japanese"] = "Takeo";
level.zm_name["german"] = "Richtofen";

Code Snippet
Plaintext
	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
This user is deleted :(
Nice HUD! Would rate 10/10 would use again  :D
broken avatar :(
×
broken avatar :(
Location: us
Date Registered: 3 June 2021
Last active: 2 months ago
Posts
3
Respect
Forum Rank
Fresh Corpse
Primary Group
Member
My Contact & Social Links
More
×
Picayune's Groups
Picayune's Contact & Social LinksPicayune27spingbotPicayune#0078
Nice HUD!

 
Loading ...