thank you sir… i will test drive those native… shame on me for not guessing “shakes”
EDIT FOLLOWUP:
Also found SetPlayerpadShakesWhenControllerDisabled(true)
I had no result…
- could be my inexperience… not sure…
- calling SetPadShake (which is clearly the right native)
- rumble gta settings is on
- bought an xbox controler that vibe when i shoot ingame… to test the native…
RegisterCommand("vibe_on",function(source, args)
print("SetPadShake on")
SetPadShake(0, 10000, 200) -- tried 10000 milli, should have vibed for 10sec
--SetPadShake(0, 100, 200) -- p0 always seems to be 0 , int duration in milliseconds, p2 is frequency, should range from about 10 (slow vibration) to 255 (very fast)
--Citizen.InvokeNative(0x48B3886C1358D0D5, 0, 100, 200) -- p0, duration, frequency
end)
RegisterCommand("vibe_off",function(source, args)
StopPadShake(0)
end)