PHP код:
public OnPlayerWeaponShot(playerid, weaponid, hittype, hitid, Float:fX, Float:fY, Float:fZ) {
...
// shots in players
if(hittype == BULLET_HIT_TYPE_PLAYER && hitid != INVALID_PLAYER_ID && paused[hitid] == false) {
if(health[playerid] <= 0) { return 0; }
// anti spawn kill damage
if(SpawnKill[hitid] == true) { return 0; }