public OnPlayerDeath(playerid, killerid, reason)
{
// Add 1 to this killer's score. We must check it is valid first.
if(playerid!= INVALID_PLAYER_ID)
{
SetPlayerScore(playerid, GetPlayerScore(playerid) - 3);
}
return 1;
}
Quote:
Originally Posted by DesingMyCry
jota, la callback OnPlayerDeath es llamada cuando un jugador muere, por lo que esa condiciуn es totalmente innecesaria.