Whats wrong with this?
#4

pawn Код:
public OnPlayerDeath(playerid, killerid, reason)
{
     printf("%d - Score: %d", killerid, GetPlayerScore(killerid));
     if(killerid != INVALID_PLAYER_ID)
     {
          SetPlayerScore(killerid, GetPlayerScore(killerid) + 1);
          printf("%d - New Score: %d", killerid, GetPlayerScore(killerid));
     }
     return 1;
}
Check if it get's called by reading the server console output.
Reply


Messages In This Thread
Whats wrong with this? - by John Rockie - 05.02.2012, 20:54
Re: Whats wrong with this? - by ReneG - 05.02.2012, 21:28
Re: Whats wrong with this? - by ReneG - 05.02.2012, 21:31
Re: Whats wrong with this? - by Cameltoe - 05.02.2012, 22:17

Forum Jump:


Users browsing this thread: 1 Guest(s)