• Custom HUD resolution problem
    6 replies, posted
Some people on my server say the hud is not in-lined such as the time remaining is not in the middle of the screen [B]how would I fix this for the hud to adjust to there resolution[/B]
Use the ScrW() and ScrH() arguments to get the screen height and width of the players screen resolution. To get the center of the screen you just divide the screen width by 2. ScrW() / 2 etc.
thanks man!
-ninja'd- Fuck my internet
2 other problems I have when caring crowbar the ammo is set t -1 before the round starts on ttt it says your an inno
use the GetRoundState() or GAMEMODE.round_state to check if preparing In your HUD, check if the ammo is -1, and if so, don't draw it
ah that works! as for the ammo "weap:Clip1() or 0" worked :)
Sorry, you need to Log In to post a reply to this thread.