28.10.2012, 22:13
Hey guys I'm going to ask some n00bish questions here. But what I want to find out will require more than searching. Anyway Here is what I would like to ask.
I want to get a percentage from a string. For example
String which I called TeamHealth which may vary depending on the amount of players. So TeamHealth holds the total health of all the players.
Now I want to work out (let's say) 67% of that value
And last I want to know how to make an orange textdraw because I'm using ~r~~y~ and that does not work.
I want to get a percentage from a string. For example
String which I called TeamHealth which may vary depending on the amount of players. So TeamHealth holds the total health of all the players.
Now I want to work out (let's say) 67% of that value
Код:
if (TeamHealth == <67%>) { trigger event }
And last I want to know how to make an orange textdraw because I'm using ~r~~y~ and that does not work.