How would I make it for a script to only register inputs from a keyboard and not a keyboard AND controller?
I have the same issue.
posting the link to mine in case some one responds you can see it.
1 Like
Bump.
what does that do?
If you are just trying to diable controller from intercepting keypress you would simply follow your input with GetLastInputMethod( 0 ).
an example of this would be
Citizen.CreateThread(function()
while true do
Citizen.Wait(3)
if IsControlJustPressed(0, 52) and GetLastInputMethod( 0 ) then
## whatever your script is###
end
end
end)
I hope this helps! i know its 2 years to late haha
8 Likes
Thank you Helli!