Hey Guys,
watch the video above... my script is nearly ready, you only get the suicide option if you have a handgun and atleast one bullet left.
My only problem right now is, that sometimes after i shot myself, and join back in the game... my char isnt dead and i duped my shit. My suicided body lies at the ground and i still have all my stuff...
if anyone could help me with this... i could release it
Here is what i actualy do to make sure the player is realy dead:
Code:
player setVariable["USEC_isCardiac",true,true];
r_player_blood = 10;
//r_player_dead = true;
player setVariable["USEC_BloodQty",r_player_blood,true];
r_player_infected = true;
player setVariable["USEC_infected",true,true];
r_player_injured = true;
player setVariable["USEC_injured",true,true];
player setVariable["NORRN_unconscious",true, true];
player setVariable["unconsciousTime",20,true];
player setdamage 1.0;
player setVariable["medForceUpdate",true,true];
player setHit ["head", 1];
_id = [player,"shothead"] spawn player_death;