martincho Posted September 9, 2011 Share Posted September 9, 2011 (edited) I have a problem and need help, I want to remove an actor only when: cj dies or is busted. thanks! sorry for my Inglish Edited September 9, 2011 by martincho Link to comment Share on other sites More sharing options...
bull.04 Posted September 9, 2011 Share Posted September 9, 2011 :DEADPLAYERCHECKwait 0if orActor.Dead($PLAYER_ACTOR)0741: actor $PLAYER_ACTOR busted jf @DEADPLAYERCHECKActor.DestroyWithFade([email protected])Actor.RemoveReferences([email protected])jump @JUMP_TO Link to comment Share on other sites More sharing options...
Deji Posted September 9, 2011 Share Posted September 9, 2011 ^^ Sorry, but that is a pretty bad script. // code to create the actorwhile true wait 0 if 8256: not is_player_playing 0 // first player is wasted or busted then 009B: destroy_actor [email protected] break endend// code after actor is removed Link to comment Share on other sites More sharing options...
martincho Posted September 9, 2011 Author Share Posted September 9, 2011 thank you very much, I'll see if this code works. another question. What is the code that I need to activate a mod only when I'm unarmed Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now