killsчdeaths Ratio problem
#8

Quote:
Originally Posted by HurtLocker
Посмотреть сообщение
In order to use the /stats command, I need to load the Ratio value from .ini file.
Let's say you're in a minigame and you get 50 kills and 10 deaths in 4 minutes. Doing what you said above will show the old ratio, so you need to save every new kill/death.

However, there's just an easier way to do that and that's to store the result of (kills/deaths) to a new variable and display it everytime someone uses the /stats command. It doesn't need to save and load the ratio at all, it's just pointless!
Reply


Messages In This Thread
killsчdeaths Ratio problem - by HurtLocker - 01.04.2013, 16:48
Re: killsчdeaths Ratio problem - by Vince - 01.04.2013, 17:28
Re: killsчdeaths Ratio problem - by HurtLocker - 01.04.2013, 17:44
Re: killsчdeaths Ratio problem - by HurtLocker - 01.04.2013, 19:58
Re: killsчdeaths Ratio problem - by MP2 - 01.04.2013, 20:07
Re: killsчdeaths Ratio problem - by Konstantinos - 01.04.2013, 20:13
Re: killsчdeaths Ratio problem - by HurtLocker - 01.04.2013, 20:17
Re: killsчdeaths Ratio problem - by Konstantinos - 01.04.2013, 20:38

Forum Jump:


Users browsing this thread: 1 Guest(s)