So Ronald is dev now?

Status
Not open for further replies.

Ronald

Apple Man
Joined
Jun 4, 2016
Messages
1,165
Nebulae
2,381
Ronald tell me how I calculate other peoples HUD sizes I don't understand how to make that function like that thing with ScrW and ScrH you have to devide it with something.

@Ronald

If you don't answer this then it was april joke that you got dev.
Oh shit he's found me out! April fools!
 
Reactions: List

abcdefg

Atom
Joined
Apr 26, 2016
Messages
2,274
Nebulae
2,043
I've done so much for this community and I've never been rewarded :mad:
i'm sure if you apply for admin you'll get accepted




Divi9yo.png
 

Postino

Atom
Joined
Apr 26, 2016
Messages
2,775
Nebulae
4,524
Ronald tell me how I calculate other peoples HUD sizes I don't understand how to make that function like that thing with ScrW and ScrH you have to devide it with something.

@Ronald

If you don't answer this then it was april joke that you got dev.
ScrW()/number
ScrH()/number

try it with gmod open so you can see how you can better locate or size the hud/image/whatever you want

if you saved the material in a variable put the variable outside of the hook so you won't call it every single frame
 

karl-police

Nucleus
Joined
Jul 3, 2016
Messages
1,607
Nebulae
3,299
ScrW()/number
ScrH()/number

try it with gmod open so you can see how you can better locate or size the hud/image/whatever you want

if you saved the material in a variable put the variable outside of the hook so you won't call it every single frame
so everything I do is like
function dothis1()
ScrW()/positionwidth
end

function dothis2()
ScrH()/positionheigth
end


I think there is missing something.
 
Reactions: List

ddæ

`impulse-approved
Joined
Apr 26, 2016
Messages
8,352
Nebulae
16,053
RETROS STAFF APPLICATION

Why?:
because without me you would have never gotten this far
When?: now
Who?: me
Why?: because I deserve it
Remember when you made a thread in the FTRP section on LP because you were mad that your museum didn't get staticed
wtf lol
 

jamEs

fqjdlkmsbvqfgkhpoiuaeazer
Joined
Apr 26, 2016
Messages
1,155
Nebulae
3,345
find out how to calculate others hud and something about ronald ducks dev tag.
everyone knows the only good way to code HUDs is to do
  • all calculations inside of the hook
  • no ScrW() or ScrH()
  • every line max. 3 characters
  • local material/texture definitions outside of the painting hook? who needs those, just make them global inside of your hook
 
Reactions: List
Status
Not open for further replies.