Korish0074, попробуйте вот так:
local nonOpenables = {
[290]=true,
[291]=true,
[292]=true
}
addEventHandler( "onPlayerDamage", root, function ( attacker, weapon, bodypart )
if bodypart == 9 and nonOpenables[ getElementModel( source ) ] then
killPed( source, attacker, weapon, bodypart )
end
end )