Login Issues
Forgot password?Activate Issues
Account activation email not received? Wrong account activation email used?Other Problems?
Contact Support - Help Center Get help on the UGX Discord. Join it now! function give_phd_perk()
{
if(!self HasPerk(PERK_PHDFLOPPER))
return undefined;
num = self GetEntityNumber();
self.hud_phd = NewHudElem();
self.hud_phd.alignX = "left";
self.hud_phd.alignY = "bottom";
self.hud_phd.horzAlign = "left";
self.hud_phd.vertAlign = "bottom";
self.hud_phd.foreground = true;
self.hud_phd.sort = 1;
self.hud_phd.hidewheninmenu = true;
x = 86; //how far from the left of the game it should be
y = -44;//the y value - is up + is down
y += (-30 * num); //you probably won't need this
self.hud_phd.x = x; // 2
self.hud_phd.y = y; // -90
self.hud_phd.alpha = 1;
self.hud_phd SetShader(PHD_SHADER, PHD_SHADER_WIDTH, PHD_SHADER_HEIGHT);
//iprintln ("Hud Enabled");
}
function take_phd_perk( b_pause, str_perk, str_result )
{
self clientfield::set_to_player( "phd_perk", 0);
self.hud_phd Destroy();
//iprintln ("Hud Destroyed");
self.hud_phd = undefined;
self waittill("death");
}