belehi louled chkoun ynajem y3awni fi script mahrous mta3 hospital
function onPlayerWasted(totalAmmo, killer, killerWeapon, bodypart, stealth)
if not(isGuestAccount(getPlayerAccount(source))) then
local theWeapon = getPedWeapon (source)
local weaponAmmo = getPedTotalAmmo (source)
fadeCamera (source, false)
setTimer (spawnPlayer, 5000, 1, source, 1177.6804199219, -1323.6899951172, 14.082660675049, 0, getPedSkin (source), 0, 0, getPlayerTeam(source))
setTimer (setCameraTarget, 5000, 1, source, source)
setTimer (fadeCamera, 2000, 1, source, true)
setTimer(giveWeapon, 5000, 1, source, theWeapon, weaponAmmo)
end
end
addEventHandler ("onPlayerWasted", getRootElement(), onPlayerWasted)
n7eb tarji3 lweps llkol mch we7ed bark