problem with getting the highest kill streak ever on /stats
#4

Quote:
Originally Posted by GwENiko
Посмотреть сообщение
This is as far as the kill system goes, the normal killing spree works just fine, and all else. Except when it comes to highest killing spree, it always says 0
It says 0 because you are first setting the players spree info and than you are checking.
Ex:- If you have 3 killing spree,According to your code,this part
Код:
if(pSpree[killerid] < hSpree[killerid])
will execute like
Код:
if(3 < 3)
So first store it in a another variable,Check if its grater than set spree info.
Reply


Messages In This Thread
problem with getting the highest kill streak ever on /stats - by GwENiko - 23.09.2014, 05:00
Re: problem with getting the highest kill streak ever on /stats - by psoni9697 - 23.09.2014, 05:07
Re: problem with getting the highest kill streak ever on /stats - by GwENiko - 23.09.2014, 05:15
Re: problem with getting the highest kill streak ever on /stats - by _Mohit_ - 23.09.2014, 07:00

Forum Jump:


Users browsing this thread: 1 Guest(s)