swaggerolardo Posted August 14, 2014 Share Posted August 14, 2014 Hi! I'm making mod similar to fastman92's Remote Lock Car, because it doesn't working with my version of GTA (readme says it should work, but doesn't, game get crashed). I wrote a code in Sanny Builder (it wasn't too hard), but when I press key responsible for opening the doors, they automatically appear in the end position. How to add animation to doors as in fastman's mod? Thanks in advance. Link to comment Share on other sites More sharing options...
fastman92 Posted August 14, 2014 Share Posted August 14, 2014 You need to make a loop where you have a timer and 'wait 0' when doors are opening. 08A6: open_car_door_a_bit [email protected] door 0 to 0.0 Let's say one second (1000 miliseconds) of timer [email protected] will be 1.0 of doors opened, doors will be fully opened after one second. In loop, put a division of timer [email protected] by the specified amount of time, to get a value of how much doors are opened. As of Remote Lock Car, please read this topic: http://gtaforums.com/topic/659392-why-some-correctly-written-cleo-scripts-may-crash-the-game-and-how-to-get-them-working/ swaggerolardo 1 Link to comment Share on other sites More sharing options...
swaggerolardo Posted August 14, 2014 Author Share Posted August 14, 2014 (edited) Thanks, it works. Topic can be closed now. Edited August 14, 2014 by swaggerolardo 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