I friend of mine gave me this respawn script. It does not work, whats wrong with it?!?
#mafia1add
mafia1 removeaction mafia1_cash
mafia1 removeaction tel
mafia1_hot = false
PublicVariable "mafia1_hot"
~45
deleteVehicle mafia1
~45
?!(mafia1 == player) : goto "begin"
mafia1_cash = mafia1 addaction["Show my cash!","mafia1cash.sqs"]
mafia1 addaction["Teleport me to Mafia Base for 500$","teleport.sqs"]
mafia1cash = 0
_msg = format ["%1, you have been cloned at hospital. All your cash is gone. And yes... that one medic guy looks like a gay.", name mafia1]
?(mafia1 == player) : hint _msg
goto "begin"