So I have this hud that I want to display so I made this
$remapDivision[$remapCount] = "Voice commands";
$remapName[$remapCount] = "Show Voice Command box";
$remapCmd[$remapCount] = "voiceHUD_open";
$remapCount++;
//CLIENT\
function voiceHUD_open(%bool)
{
if(%bool)
{
if(playgui.isAwake())
{
if(!voiceHUD.isAwake())
{
echo("voicehud");
playgui.add(voiceHUD);
}
else
{
echo("voicehud on");
playgui.remove(voiceHUD);
}
}
}
}
but the HUD never shows up when I press the button, the echos work but not the HUD
Also, how would I make the HUD wrap in the bottom left of the screen no matter what your resolution is?
and heres the .gui file if it helps:
http://pastebin.com/xfUtDpR0