SA-MP Forums Archive
Help saving kills/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 saving kills/deaths (/showthread.php?tid=205063)



Help saving kills/deaths - Haydz - 31.12.2010

Fixed. When you type /kill or fall from a building it doesn't count as a death .


Re: Help saving kills/deaths - Jochemd - 31.12.2010

Folders creatd?


Re: Help saving kills/deaths - Haydz - 31.12.2010

Quote:
Originally Posted by Jochemd
Посмотреть сообщение
Folders creatd?
Yeh, everything is created and score/money saves also so i'm not really sure whats wrong.


Re: Help saving kills/deaths - Jochemd - 31.12.2010

Sure the player is logged?


Re: Help saving kills/deaths - Haydz - 31.12.2010

Yeh, you have to login when you connect so theres no possible way there not logged.

But i have the death window which doesn't appear when i player dies so something may be blocking it?


Re: Help saving kills/deaths - Rokzlive - 31.12.2010

This is an example of how i log mine. (This is using my variables.)


pawn Код:
public OnPlayerDeath()
{
    playerdata[playerid][deaths]++;
    playerdata[killerid][kills]++
    return 1;
}



Re: Help saving kills/deaths - Rokzlive - 31.12.2010

Player Death Window is gone in 0.3c, i noticed it on my script.