Killing Spree Problem
#2

Because you use "playerid" in GivePlayerMoney/GivePlayerScore instead of "killerid".

2 more things:

- Check if "killerid" isn't equal to INVALID_PLAYER_ID (65535) before using it in array otherwise you will get run time error 4.
- Use switch for "Streak[killerid]" instead of multiple if's.
Reply


Messages In This Thread
Killing Spree Problem - by CarRamper - 13.08.2016, 16:51
Re: Killing Spree Problem - by Konstantinos - 13.08.2016, 16:54
Re: Killing Spree Problem - by CarRamper - 13.08.2016, 16:57

Forum Jump:


Users browsing this thread: 1 Guest(s)