05.11.2013, 09:17
Код:
public OnBombExplode(playerid, num, Float:x, Float:y, Float:z) { return 1; }
Код:
public OnBombExplode(playerid, num, Float:x, Float:y, Float:z) { for(new i = 0; i < MAX_PLAYERS; i++) { if(IsPlayerInRangeOfPoint(i,4,x,y,z)) { SetPlayerHealth(i,0); if(i != playerid) { SendDeathMessage(i,playerid,51); //reward for kill here } } } return 1; }