Jump to content
  • 0




Deci fac un GM COD si am nevoie sa se salveze death-urile

Si am pus asa la OnPlayerDeath

[pawn]public OnPlayerDeath(playerid, killerid, reason)


PlayerInfo[killerid][Kills] ++;

PlayerInfo[playerid][Deaths] ++ ;

return 1;


Killurile se pun dar deathurile nu

deci pot sa mor de cateva ori cand dau /stats tot 0 am

Massari e curva mea

Link to comment
Share on other sites

2 answers to this question

Recommended Posts


public OnPlayerDeath( playerid, killerid, reason )


    PlayerInfo[ playerid ][ Deaths ]++;

if( IsPlayerConnected( killerid ) && killerid != INVALID_PLAYER_ID )


      PlayerInfo[ killerid ][ Kills ]++;


return ( 1 );



Link to comment
Share on other sites

This topic is now closed to further replies.
  • Recently Browsing   0 members

    • No registered users viewing this page.
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue. For more details you can also review our Terms of Use and Privacy Policy.