Greetings. How to do player “hand shaking”? I want to add some bullet spread while someone shooting.
I tried with camera shaking:
if IsPlayerFreeAiming(PlayerId()) then shake_counter = shake_counter + 1 if (shake_counter % 5 == 0) then ShakeGameplayCam('LARGE_EXPLOSION_SHAKE', 0.035) end elseif IsPedShooting(ped) then ShakeGameplayCam('LARGE_EXPLOSION_SHAKE', 0.05) end
But after 2 mins of shooting my eyes hurt
The best thing camera should not move, but hands a little move left, right, up and down randomly.
If this impossible: how to add some moving to crosshair?