downloadstuff
Active member
- Joined
- Apr 4, 2015
- Messages
- 82
- Reaction score
- 0
Alright so i want to draw a line from all the actors streamed aiming direction
i know its possible and someone from the cheating server (idk if it was opcode or an impersonator) told me the steps i would need:
1-get the camera pos
2-get the target pos
3-increase the target pos distance by 100
4-and draw a line
for step one i'd use this:
for step 2 and 3:
(obviously i need to make a for cycle to check all the streamed people etc... )
and for step 4:
please experts... help me i was unable to do what i want.
i know its possible and someone from the cheating server (idk if it was opcode or an impersonator) told me the steps i would need:
1-get the camera pos
2-get the target pos
3-increase the target pos distance by 100
4-and draw a line
for step one i'd use this:
Code:
0BBE: samp store_player 0@ aim_data 1@
0AC8: 1@ = 31
0C0C: 2@ = struct 1@ offset 13 size 4
0C0C: 3@ = struct 1@ offset 17 size 4
0C0C: 4@ = struct 1@ offset 21 size 4
0AC9: 1@
//2@ 3@ 4@ = cam pos
for step 2 and 3:
(obviously i need to make a for cycle to check all the streamed people etc... )
Code:
04C4: store_coords_to 6@ 7@ 8@ from_actor @9 with_offset 0.0 100.0 0.0
//9@ is the target actor
and for step 4:
Code:
0B68: render draw_line_point1 2@ 3@ point2 7@ 8@ width 1 color 4@
please experts... help me i was unable to do what i want.