Checking for number of kills
So hey guys. I was wondering how could I check if a player has made 3 Kills with a knife?
|
Re: Checking for number of kills
use an array with all players and count the knife kills
|
Re: Checking for number of kills
Could you give me a sample?
|
Re: Checking for number of kills
Quote:
Code:
|
Re: Checking for number of kills
Quote:
weapon is a string containing the weapon name. It is not an array that you would index by a player's index to get the weapon index. You would need to check if the string is "knife". |
Re: Checking for number of kills
You could use get_weaponname ( id, weapon[], len ) too.
|
Re: Checking for number of kills
Quote:
|
Re: Checking for number of kills
Quote:
|
Re: Checking for number of kills
|
Re: Checking for number of kills
Quote:
|
| All times are GMT -4. The time now is 23:24. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.