#10

Quote:
Originally Posted by RealCop228
Посмотреть сообщение
pawn Код:
public OnPlayerDeath(playerid, killerid, reason)
{
   PlayerInfo[killerid][pKills]++;
   PlayerInfo[playerid][pDeaths]++;
}
4 char.
Perhaps I should quote this:

Quote:

Important Note: Contrary to popular belief you do not need the check to see if killerid is INVALID_PLAYER_ID before sending the message as if it is you just send INVALID_PLAYER_ID anyway, making the entire check pointless and redundant. However you will require this check before doing other things such as awarding money.

Reply


Messages In This Thread
K/D - by tarez - 07.09.2011, 23:49
Re: K/D - by Scenario - 08.09.2011, 00:04
Re: K/D - by tarez - 08.09.2011, 00:12
Re: K/D - by =WoR=G4M3Ov3r - 08.09.2011, 00:16
Re: K/D - by Kush - 08.09.2011, 00:33
Re: K/D - by =WoR=G4M3Ov3r - 08.09.2011, 00:36
Re: K/D - by Kush - 08.09.2011, 00:54
Re: K/D - by Scenario - 08.09.2011, 00:55
Re: K/D - by Kush - 08.09.2011, 00:59
Re: K/D - by =WoR=Varth - 08.09.2011, 06:51

Forum Jump:


Users browsing this thread: 1 Guest(s)