I want to find out the coordinates for chat box, does someone have snippets or something else idk...
Edit:
*thx monday
Edit:
Code:
:inputbox_xy
0BAF: samp 0@ = get_input_info_ptr
0@ += 8
0A8D: 1@ = read_memory 0@ size 4 virtual_protect 0
1@ += 8
0A8D: 2@ = read_memory 1@ size 4 virtual_protect 0 //x
1@ += 4
0A8D: 3@ = read_memory 1@ size 4 virtual_protect 0 //y
ret 2 2@ 3@
Last edited: