CLEO Help Camera Rotation HELP (opcode, 0x688, sprngfield)

CLEO related
Status
Not open for further replies.

0x32789

Expert
Joined
May 26, 2014
Messages
849
Reaction score
53
Location
LongForgotten <-> 0x32789
Hey guys, I need to get the camera rotation does anyone know how?
This is my current code
0A8D: 6@ = read_memory 0xB6F178 size 4 virtual_protect 0
it reads 0
anyone knows how to get camera rotation
This is my actual code
Code:
0A8D: 6@ = read_memory 0xB6F178 size 4 virtual_protect 0
0C03: math 1@ = sine 6@
0C05: math 2@ = cosine 6@
call @noturbiz 5 1@ 2@ 3@
I want to make it send the data in the direction im facing, But it sends to blue berry.
HELP FAST ASAP

Please makesure your reply contains this format!
Code:
Address Game: SA-MP or Single Player
Address: 0xADDRESS
Size of Bytes: size
OpCode.eXe ?
 

Opcode.eXe

Expert
Joined
Feb 18, 2013
Messages
1,493
Reaction score
236
Location
( ͡° ͜ʖ ͡°)
Code:
//0AB1: @GET_CAMERA_FACING_ANGLES 0 Z_AND_Y 0@ 1@
:GET_CAMERA_FACING_ANGLES
00A0: store_actor $PLAYER_ACTOR position_to 1@ 2@ 3@   
0AA6: call_method 0x514970 struct 0xB6F028 num_params 6 pop 0 0xA49994 0xA499A0 3@ 2@ 1@ 20.0
0AB1: call_scm_func @getYAngleBetweenPoints_ULKXK 6 from_XYZ $13 $14 $15 and_XYZ 1@ 2@ 3@ store_to 5@
0AB1: call_scm_func @getZAngleBetweenPoints_ULKXK 4 from_XY $13 $14 and_XY 1@ 2@ store_to 4@
5@ += 90.0
0AB2: 2 4@ 5@
:getYAngleBetweenPoints_ULKXK
0509: 6@ = distance_between_XY 0@ 1@ and_XY 3@ 4@
0063: 2@ -= 5@
0604: get_Z_angle_for_point 6@ 2@ store_to 7@
0AB2: ret 1 7@
:getZAngleBetweenPoints_ULKXK
0063: 0@ -= 2@
0063: 1@ -= 3@
0604: get_Z_angle_for_point 0@ 1@ store_to 4@
0AB2: ret 1 4@
 

0x32789

Expert
Joined
May 26, 2014
Messages
849
Reaction score
53
Location
LongForgotten <-> 0x32789
well thanks but I did it 1 hour earlier before ur reply and forgot to message
But still, the fix was from you lol
Long live opcode
What idid? xd

0AB1: @CREATE_CORDS_AROUND_PLAYER_IN_LOOKING_DIRECTION 1 WITH_OFFSET 5.0 _STORE_TO 1@ 2@ 7@
005B: 3@ += 14@
call @FUCKDISKID 3 1@ 2@ 7@
0A40: $temp_getm = create_entrance_marker_at 1@ 2@ 7@ color 68
0ACD: show_text_highpriority "~p~]~g~=~r~B~y~4~r~K~g~=~p~[" time 200
 
Status
Not open for further replies.
Top