Quote:
Originally Posted by ******
It is MUCH simpler to write and read "if" checks with the "true" version first:
pawn Код:
if((killerid == playerid) || (killerid == INVALID_PLAYER_ID)) { pInfo[playerid][Suicides]++; } else { pInfo[killerid][Kills]++; pInfo[playerid][Deaths]++; }
|
Yeah I prefer this way. It's much easier, non-confusing and understandable.