SA-MP Forums Archive
[HELP] Kills and deaths - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+---- Forum: Help Archive (https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: [HELP] Kills and deaths (/showthread.php?tid=274650)



[HELP] Kills and deaths - ServerRestart - 06.08.2011

EDIT: Fixed


Re: [HELP] Kills and deaths - ServerRestart - 06.08.2011

EDIT: Fixed


Re: [HELP] Kills and deaths - WoodPecker - 06.08.2011

Can you tell me what you are using? Dini, MySQL so i can help you.


Re: [HELP] Kills and deaths - ServerRestart - 06.08.2011

EDIT: Fixed


Re: [HELP] Kills and deaths - ServerRestart - 06.08.2011

EDIT: Fixed


Re: [HELP] Kills and deaths - WoodPecker - 06.08.2011

Can you upload your register / login filterscript or whatever it is on the pastebin.com so i can add it.


Re: [HELP] Kills and deaths - ServerRestart - 06.08.2011

Edit: fixed


Re: [HELP] Kills and deaths - Chrillzen - 06.08.2011

It already saves kills and deaths.

Add this to Public OnPlayerDeath()

Код:
    PlayerInfo[killerid][pKills]++;
    PlayerInfo[playerid][pDeaths]++;



Re: [HELP] Kills and deaths - WoodPecker - 06.08.2011

Add this to OnPlayerDeath:

PHP код:
PlayerInfo[killerid][pKills] += 1;
PlayerInfo[playerid][pDeaths] += 1
+rep for Chrillzen for the quick answer.