Question about a function
3 posts
• Page 1 of 1
Question about a function
Hi in my script i have this. How do I have to write this function to make it work well? I would like to understand if putting <= my script works well or I need to modify this part by putting only <or only =
- Code: Select all
if(isqrt(abs(get_val(PS4_RX)) * abs(get_val(PS4_RX)) + abs(get_val(PS4_RY)) * abs(get_val(PS4_RY))) <= right_stick_deadzone + 5) {
if(get_val(PS4_L2) > 90 && !get_val(PS4_R2))
-
Alfagamer - First Sergeant
- Posts: 60
- Joined: Fri Sep 04, 2020 7:58 am
Re: Question about a function
Looks fine as is.
ConsoleTuner Support Team || ConsoleTuner Discord || InputSense Discord (2K / FPS)
- Mad
- Major General
- Posts: 4533
- Joined: Wed May 22, 2019 5:39 am
3 posts
• Page 1 of 1
Who is online
Users browsing this forum: Ice89X and 164 guests