[Tutorial] How to create a Killing Spree system. Best for TDM/DM servers.
#6

Good, but check whether the killerid is valid player or not. It can cause crashes:
pawn Code:
Spree[killerid]++;
Let's say, you die by falling. The killerid will be INVALID_PLAYER_ID (65535) and that's out of bounds.

The same goes for the rest if statements.
Reply


Messages In This Thread

Forum Jump:


Users browsing this thread: 1 Guest(s)