public OnPlayerDeath(playerid, killerid, reason) { if(killerid != INVALID_PLAYER_ID) { if(!(IsACop(killerid) || pInfo[playerid][aVar][79] == 1 || pInfo[playerid][aVar][108] == 1 || pInfo[playerid][pJailed] > 0 || pInfo[playerid][pAJailed] > 0 || pInfo[playerid][aVar][99] == 1 || (pInfo[playerid][aVar][23] > 0 && pInfo[killerid][pMember] == 8) || (WarOnOff > 0 && IsAMember(playerid) && IsAMember(killerid)))) { SendClientMessage(playerid, 0x60BF61FF, "Work!"); } } return 1; }
public OnPlayerDeath(playerid, killerid, reason) { if(killerid != INVALID_PLAYER_ID) { if(!IsACop(killerid) || pInfo[playerid][aVar][79] == 1 || pInfo[playerid][aVar][108] == 1 || pInfo[playerid][pJailed] > 0 || pInfo[playerid][pAJailed] > 0 || pInfo[playerid][aVar][99] == 1 || pInfo[playerid][aVar][23] > 0 && pInfo[killerid][pMember] == 8 || WarOnOff > 0 && IsAMember(playerid) && IsAMember(killerid) { SendClientMessage(playerid, 0x60BF61FF, "Work!"); } } return 1; }
Код:
public OnPlayerDeath(playerid, killerid, reason) { if(killerid != INVALID_PLAYER_ID) { if(!IsACop(killerid) || pInfo[playerid][aVar][79] == 1 || pInfo[playerid][aVar][108] == 1 || pInfo[playerid][pJailed] > 0 || pInfo[playerid][pAJailed] > 0 || pInfo[playerid][aVar][99] == 1 || pInfo[playerid][aVar][23] > 0 && pInfo[killerid][pMember] == 8 || WarOnOff > 0 && IsAMember(playerid) && IsAMember(killerid) { SendClientMessage(playerid, 0x60BF61FF, "Work!"); } } return 1; } |
public OnPlayerDeath(playerid, killerid, reason) { if(killerid != INVALID_PLAYER_ID) { if(!IsACop(killerid) || pInfo[playerid][aVar][79] == 1 || pInfo[playerid][aVar][108] == 1 || pInfo[playerid][pJailed] > 0 || pInfo[playerid][pAJailed] > 0 || pInfo[playerid][aVar][99] == 1 || pInfo[playerid][aVar][23] > 0 && pInfo[killerid][pMember] == 8 || WarOnOff > 0 && IsAMember(playerid) && IsAMember(killerid)) { SendClientMessage(playerid, 0x60BF61FF, "Work!"); } } return 1; }