Change Ratios
If you need to adjust the ratios for different ATM models due to changes in camera angles or other reasons, follow these steps
Use the Following Code to Get Ratios: - Add this code to a client script to help you get the ratios:
Determine the Coordinates: - Move your mouse to the top-left corner of the area you want to select and press the
E
key to log the coordinates. - Move your mouse to the bottom-right corner of the area you want to select and press theE
key again to log the coordinates.Update the Config File: - Use the logged coordinates to update the config.lua file with the new ratios. Each button or area should have its
x
,y
,x2
, andy2
values updated accordingly.Example: - If you logged the coordinates
(0.33860938383267, 0.33575129533679)
for the top-left corner and(0.36630864895421, 0.36683937823834)
for the bottom-right corner, update the corresponding entry in config.lua:
Last updated