1
Modding Questions/Help / Re: IsButtonPressed on Anniversary Edition???
« on: September 28, 2021, 03:14:32 AM »The Jump Button will be "√" that i can't jump,i don't know whyDon't worry, there's still a way to fix it...
First of all, I would like to explain what is causing this "√" bug to occur,
so because Code "for ID = 0, 15 do"
which means capture all button ids from 0 to 15 and this is one of the cause,, from 0 to 15 this means also take button id 9. and this id 9 if paired with IsButtonBeingPressed there will be bug "√", and to solve this you can use 2 ways, namely
the first you can change the code "for ID = 0, 15 do" to
Code: [Select]
for ID = 0, 6 do
and the second way just need to change the code IsButtonBeingPressed(ID, 0) to
Code: [Select]
IsButtonPressed(ID, 0)
as I said earlier if IsButtonBeingPressed is paired with id 9, 0 then there will be Bug "√"
hope you understand and please try