PDA

View Full Version : +1



bulent
4th March 2019, 14:37
Hello guys, i want to do something. İ have killing spree mod but i wantto do that, when i killed second guy +1, i killed third guy +2 , i killed fourt guy +3 points. Can we add to score these points?

IzNoGoD
4th March 2019, 17:18
Sure.

In onspawn: self.spree = 0;

In onplayerkilled: eAttacker.spree += 1; eAttacker.score += eAttacker.spree;