Using ShakeGameplayCam() does not do anything for some reason but it only happens in my script. If I place it anywhere else it works. I’ve put a debugger and everything returns fine. Literally everything works except this function. Any ideas?
Kinda hard to say anything if you haven’t provided any code :x
Sorry bout that. I was on the phone and didn’t end up finishing what I wanted to say. Here’s an example:
exports("test1", function (data)
StartScreenEffect("Rampage", 2500, false)
ShakeGameplayCam("DRUNK_SHAKE", 25)
print("Test123")
end)
Print & StartScreenEffect work, any other function in there works fine also. So everything is being called correctly. No errors.
Here’s my manifest:
fx_version "cerulean"
game "gta5"
client_scripts {
"client.lua"
}
ShakeGameplayCam intensity must be a float, not integer (25
→ 25.0
)
1 Like
I used it as an integer all the time. I also just tested it elsewhere with an integer and it works. That’s odd but it did fix my issue. lol Much appreciated.
1 Like