01.06.2016, 10:49
Код:
public OnPlayerDeath(playerid, killerid, reason) { if(killerid != INVALID_PLAYER_ID) { for(new i = 0; i < MAX_PLAYERS; i++) { for(new j = 0; j < 6; j++) { if(IsPlayerConnected(i) && reason == 51 && IsPlayerInRangeOfPoint(playerid, 10.0, pInfo[i][C4X][j], pInfo[i][C4Y][j], pInfo[i][C4Z][j])) { killerid = i; } } } } return 1; }
![Sad](images/smilies/sad.gif)