Diegoti Posted June 12, 2018 Share Posted June 12, 2018 Something like "Lock car [email protected] door 1" ?? Please help Link to comment Share on other sites More sharing options...
Another GTA Fan Posted June 12, 2018 Share Posted June 12, 2018 (edited) First define the car you're driving with: [email protected] = Actor.CurrentCar($PLAYER_ACTOR) Then use this to lock it: Car.DoorStatus([email protected]) = 4 I'm sure you can figure the rest out Set the door status to 1 for unlock. Edited June 12, 2018 by Recommended Made a coding mistake Diegoti 1 Link to comment Share on other sites More sharing options...
Grinch_ Posted June 12, 2018 Share Posted June 12, 2018 (edited) Can also use this opcode: 020A: lock_car_doors [email protected] mode 4 for details see here: https://gtagmodding.com/opcode-database/opcode/020A/ Edited June 12, 2018 by Inan-Ahammad Diegoti 1 Link to comment Share on other sites More sharing options...
Diegoti Posted June 12, 2018 Author Share Posted June 12, 2018 (edited) Thanks guys, ill check it Done Edited June 13, 2018 by Diegoti Link to comment Share on other sites More sharing options...
Herdy Setyawan Posted April 20, 2019 Share Posted April 20, 2019 What if something like "Pimp My Car Features", it have door lock/open. If it lock from car, then out from car, then enter again to car, it automatic open then close automatic when player in car. Any suggest of this case ? Im beginner in Sanny Builder. Link to comment Share on other sites More sharing options...