Welcome, users of this portal. I put new HUD on my Darkrp server ( link - [url]http://www.garrysmod.org/downloads/?a=view&id=133742[/url] ) and i have 3 problems.
1) satiety decreases too fast. And i dont know how stop it. screenshot ( [url]http://cloud-2.steampowered.com/ugc/919014962104350727/8673BB7CE4FA0975E5283D5DDA03B60726722466/[/url] )
2) The band hunger is not reduced by 1 point, and in such a system, such as 0.2 if the original hunger 100%, then 99, 8 how to remove it and to put to decreases by 1 point. Screenshot ( [url]http://cloud-2.steampowered.com/ugc/919014962104350727/8673BB7CE4FA0975E5283D5DDA03B60726722466/[/url] )
3) When the number of hunger falls 60 percent, starts to get out here so that's error. Screenshot ( [url]http://cloud-2.steampowered.com/ugc/919014962104354099/3B24CEDC6A9FACAD56A05C0678C153142FF577E7/[/url] )
Please, help me with that problems.
Oh, god.
A translation please ? I don't have a single clue what he is talking about, even thought I want to help.
To fix your decimal problems (2and3) use math.Round() on the numbers. This will make it rounded to the nearest integer and will mean there will be no decimals, and it will not extend all the way out of the box.
Also, I really don't think you mean "satiety"...
[QUOTE=Netheous;41195278]Oh, god.
A translation please ? I don't have a single clue what he is talking about, even thought I want to help.[/QUOTE]
I don't know english well and use a google translate
[editline]26th June 2013[/editline]
[QUOTE=goosey;41195288]To fix your decimal problems (2and3) use math.Round() on the numbers. This will make it rounded to the nearest integer and will mean there will be no decimals, and it will not extend all the way out of the box.
Also, I really don't think you mean "satiety"...[/QUOTE]
Satiety - hunger :D
[QUOTE=goosey;41195288]To fix your decimal problems (2and3) use math.Round() on the numbers. This will make it rounded to the nearest integer and will mean there will be no decimals, and it will not extend all the way out of the box.
Also, I really don't think you mean "satiety"...[/QUOTE]
Yeah, this guy doesn't know lua obviously.
Telling him what to use is pointless, he made that thread so others fix it for him.
[QUOTE=goosey;41195288]To fix your decimal problems (2and3) use math.Round() on the numbers. This will make it rounded to the nearest integer and will mean there will be no decimals, and it will not extend all the way out of the box.
Also, I really don't think you mean "satiety"...[/QUOTE]
i'm dont understand what i need to do to solve this problem
[QUOTE=Hankbehorde;41195334]i'm dont understand what i need to do to solve this problem[/QUOTE]
You can't do anything as you lack the ability to script lua.
If you want us to go anywhere from here, post the code. (Also I am seeing that HUD was made by BoowmanTech, hes quite often on this forum so just pm him)
Sorry, you need to Log In to post a reply to this thread.