public OnPlayerDeath( playerid, killerid, reason )
{
if ( killerid != INVALID_PLAYER_ID )
{
SetPlayerScore( killerid, GetPlayerScore ( killerid ) + 1 );
}
return true;
}
Use a saving system. You can read a few of these tutorials
https://sampforum.blast.hk/showthread.php?tid=273088 https://sampforum.blast.hk/showthread.php?tid=154852 https://sampforum.blast.hk/showthread.php?tid=160971 https://sampforum.blast.hk/showthread.php?tid=290320 |