or maybe its auto rumbling in the core of the game…
I was looking at the possibility to send rumble to the user on my server… like those xbox joystick… if they enabled it in their gta rumble settings…
Can it be done ? Any useful native i should look into ?
Let me guess… the next thing they will ask me is incorporate Lovenses toys through the buttplug io … lol
nta
2
I guess Rockstar named it ‘shake’:
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)