Kill/deaths counter
#1

How to make simple kill/death counter?i used dini and dudb,old conuter is dont works :S
Reply
#2

Start working with INI. Then you add those kills and deaths like:
pawn Код:
public OnPlayerDeath(playerid, killerid, reason)
{
    PlayerInfo[killerid][Kills]++;
    PlayerInfo[playerid][Deaths]++;
    return 1;
}
Reply
#3

Quote:
Originally Posted by Kingunit
Посмотреть сообщение
Start working with INI. Then you add those kills and deaths like:
pawn Код:
public OnPlayerDeath(playerid, killerid, reason)
{
    PlayerInfo[killerid][Kills]++;
    PlayerInfo[playerid][Deaths]++;
    return 1;
}
Please, stop providing misinformation.

Rid that old Dini and upgrade.

https://sampforum.blast.hk/showthread.php?tid=273088
Reply
#4

Quote:
Originally Posted by Kush
Посмотреть сообщение
Please, stop providing misinformation.

Rid that old Dini and upgrade.

https://sampforum.blast.hk/showthread.php?tid=273088
What you mean? I suggest him using INI instead of DINI. What's wrong?
Reply
#5

Quote:
Originally Posted by Kingunit
Посмотреть сообщение
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".
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)