30.01.2016, 09:32
Hey so i have this problem that when a player get killed from someone it doesnt add +1 death to his count.
but when he dies from an explostion or something it does.
this is my code at onplayerdeath.
but when he dies from an explostion or something it does.
Код:
if ( killerid != INVALID_PLAYER_ID ) return PlayerInfo[killerid][pKills]++; PlayerInfo[playerid][pDeaths]++;