Hi, i tried to make a resource to spawn with parachute every time player has death, but dont work, what is wrong ? if i put onplayerspawn, spawns with parachute every time logged in, i only need spawns with parachute only when the player is death, some like OnplayerRespawn ?
function onPlayerWasted()
giveWeapon(source,getWeaponIDFromName("parachute"),1,true)
end
addEventHandler("onPlayerWasted",getRootElement(),onPlayerWasted)