1. Is there a way to organize values?
Example:
ID#1 score = pl1
ID#2 score = pl2
ID#3 score = pl3
pl1 = 49
pl2 = 65
pl3 = 52
I would like to have variables "pl1", "pl2" and "pl3" to order from the highest to the lowest, and then I'd like to parse setpos to players, like this:
1st place ==> parse("setpos place1 50 50")
2nd place ==> parse("setpos place2 50 70")
3rd place ==> parse("setpos place3 50 90")
2. And is there a way round a calculated value?
Example, calculating KpD:
kpdkills = player(variable1,"score")
kpddeaths = player(variable1,"deaths")
kpdmeter = (kpdkills)/((kpddeaths)+1)
parse('hudtxt2 '..p..' 7 "©255255128KpD: '..kpdmeter..'" 75 170 1')
Hudtext above gives sometimes (mostly) gives a number with lots of decimals. Can it be rounded to show only 2 or 3 decimals?
Like 3,1415926535 ==> 3,14
Oh and I don't mind if it's not rounded properly (5 up, 4 down), I just want it shown shorter.
Thank you for your attention