Jump to content

MaldorLevr

Member
  • Content Count

    6
  • Joined

  • Last visited

  • Medals

Everything posted by MaldorLevr

  1. So I've been trying to get this script working where the person in the backseat of the car gets ejected and then launched into the air for the server that I develop for. Whenever I try this script the player gets ejected into the air, but only the driver sees it happen. For the player being ejected he is just out of the car, standing there. I'm honestly completely stumped on this one and I have no clue what to do to try and fix it. _backseat = crew (vehicle player) select 1; ejecter = _backseat; _backseat action ["eject", vehicle player]; ejecter setVelocity [0,0,100];
  2. Hi, I'd like to make a script where the driver can kick people out of his vehicle(ground vehicle). I'm having problems getting the driver to kick out passengers. When I do: driver vehicle player Action ["eject", vehicle player]; it kicks the driver out as expected but when I try: crew vehicle player Action ["eject", vehicle player]; nobody gets kicked out of the vehicle.
  3. Thank you again, I guess I should've read the wiki a bit more. So to eject a passenger/person in back would I do { _x action ["eject", vehicle player]; } forEach (crew (vehicle player) select 4); OR crew (vehicle player) select 4 action ["eject", vehicle player];
  4. So I have a semi-complex script but there's 1 part I'm having trouble with. I need to check what kind of vehicle the player is in. It's just a simple one line piece of code that I hope you guys can help me with. hint format["%1", typeof player vehicle]; Right now this is not returning anything. Thank you in advance guys!
  5. Thank you, that saved me a lot of time.
×