Quantcast

Jump to content

» «
Photo

Actor in car after death

5 replies to this topic
Jack
  • Jack

    wanted level modifications

  • Feroci
  • Joined: 06 Dec 2011
  • Serbia

#1

Posted 23 April 2012 - 08:53 AM Edited by JACK JONES, 23 April 2012 - 09:33 AM.

Hey guys how can I force some actor to stay in his vehicle (with a closed doors) after he's been killed ? I know that SA actors can do that so I was wondering if it's possible in VC too? Of course I tried:
CODE
020A: set_car 0@ door_status_to 1
0135: set_car 0@ door_lock 2;; never used in VC

The first one can't do the trick and the second one causes a game crash. And one more thing - when I found these two opcodes they were having global variables but I changed that to locals because I decided to test them in CLEO threads. So is it possible that some opcode causing a game crash because it "doesn't like" for example local variables (only globals)?

Ashwin.Star
  • Ashwin.Star

    Back for Next ♪♫

  • Members
  • Joined: 14 Nov 2010
  • India

#2

Posted 23 April 2012 - 03:17 PM

so you want an actor not to exit from car
Did you tried this one
CODE

0526: set_actor $2099 stay_in_car 1

Jack
  • Jack

    wanted level modifications

  • Feroci
  • Joined: 06 Dec 2011
  • Serbia

#3

Posted 23 April 2012 - 03:29 PM

Not working confused.gif . After I blasted him with a weapon he died and his corpse fell out from the car. So I need to prevent a corpse to fall outside too (like when you blast a ped in SA cars).

Deji
  • Deji

    Coding like a Rockstar!

  • Feroci
  • Joined: 24 Dec 2007
  • None

#4

Posted 23 April 2012 - 11:47 PM

http://gtag.gtagamin...php?opcode=0982

EDIT: oh, vc... Sorry tounge.gif

Ashwin.Star
  • Ashwin.Star

    Back for Next ♪♫

  • Members
  • Joined: 14 Nov 2010
  • India

#5

Posted 26 April 2012 - 02:03 PM

And what about this ?
CODE
0221: set_player $player_char trapped_in_car 1

Jack
  • Jack

    wanted level modifications

  • Feroci
  • Joined: 06 Dec 2011
  • Serbia

#6

Posted 26 April 2012 - 02:23 PM

Sorry but I need it for actor not player. This one is probably working for player only.




1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users