MatiSk8 Posted April 2, 2008 Share Posted April 2, 2008 I'm writing camera script. When player press key V+1, camera is in car. My code: // This file was decompiled using sascm.ini published by Seemann (http://sannybuilder.com/files/SASCM.rar) on 13.10.2007{$VERSION 3.1.0027}{$CLEO .cs}//-------------MAIN---------------0000: NOP :cam1thread 'cam1' :petla1wait 10if Actor.Driving($PLAYER_ACTOR)jf @petla1 03C0: $CAR_CAM1 = actor $PLAYER_ACTOR car :petla2wait 10if and0AB0: key_pressed 0x560AB0: key_pressed 0x61jf @petla10679: put_camera_on_car $CAR_CAM1 with_offset 0.364 0.297 0.308 rotation 200.0 0.0 0.0 0.0 2 jump @cam10A93: end_custom_thread And my problem: I want write, that player press key V+0 camera is behind player. I don't know, what opcode respond for restore camera and set it behind player. PS: Sorry for my bad English Link to comment Share on other sites More sharing options...
ceedj Posted April 2, 2008 Share Posted April 2, 2008 Search the set_camera opcodes, you'll find exactly what you need. I'm actually not against democracy though. I'm against things I think are f*cking stupid. I think this is f*cking stupid. - Sweets Link to comment Share on other sites More sharing options...
Alexander Blade Posted April 2, 2008 Share Posted April 2, 2008 02EB: restore_camera_with_jumpcut this script was released in save all mod along time ago activates by pressing `~` in car , also u can look right, left etc save all : http://alexander.sannybuilder.com/GTA_Mods.html 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