PDA

View Full Version : Kill/deaths counter


antonio600x
30/08/2011, 08:43 PM
How to make simple kill/death counter?i used dini and dudb,old conuter is dont works :S

Kingunit
30/08/2011, 08:46 PM
Start working with INI. Then you add those kills and deaths like:

public OnPlayerDeath(playerid, killerid, reason)
{
PlayerInfo[killerid][Kills]++;
PlayerInfo[playerid][Deaths]++;
return 1;
}

Kush
30/08/2011, 08:53 PM
Start working with INI. Then you add those kills and deaths like:

public OnPlayerDeath(playerid, killerid, reason)
{
PlayerInfo[killerid][Kills]++;
PlayerInfo[playerid][Deaths]++;
return 1;
}


Please, stop providing misinformation.

Rid that old Dini and upgrade.

http://forum.sa-mp.com/showthread.php?t=273088

Kingunit
30/08/2011, 08:55 PM
Please, stop providing misinformation.

Rid that old Dini and upgrade.

http://forum.sa-mp.com/showthread.php?t=273088

What you mean? I suggest him using INI instead of DINI. What's wrong?

Improvement™
30/08/2011, 09:17 PM
What you mean? I suggest him using INI instead of DINI. What's wrong?

Well, it seems quite obvious that this player is new with variables and possibly with INI.
And if your just prodividing small part of scripts, then that is what we consider as "misinformation".

amankaka
06/07/2019, 07:22 PM
thank you but i have seen another with same name Kill/Death Counter Script (1.9.0.3 +) (https://mcpepro.com/kill-death-counter-script-1-9-0-3/) is it same?