tropez Posted December 5, 2011 Share Posted December 5, 2011 Hey, I want to create a camera shake effect with visible hud, crosshair etc. Any ideas ? This effect is like player busted camera shake - http://wiki.sa-mp.com/wiki/SetPlayerDrunkLevel Link to comment
Jaysds1 Posted December 5, 2011 Share Posted December 5, 2011 You could try using setCameraMatrix Link to comment
tropez Posted December 5, 2011 Author Share Posted December 5, 2011 Then i lost - hud, crosshair and I will not be able to excel. I want to create a effect like player busted camera - ( http://wiki.sa-mp.com/wiki/SetPlayerDrunkLevel ). Link to comment
DiSaMe Posted December 5, 2011 Share Posted December 5, 2011 In such situation, I'd recreate the whole HUD. If you only want this effect and nothing else, it may be not worth doing. On the other hand, recreating the whole HUD and camera system gives you possibility to customize them in any way you want, so if you want something else besides drunkenness effect, recreating them will probably be useful. Link to comment
Jaysds1 Posted December 5, 2011 Share Posted December 5, 2011 did you try using the function showPlayerHudComponent and enabling everything after setCameraMatrix? Link to comment
tropez Posted December 5, 2011 Author Share Posted December 5, 2011 I will try it. I added a small suggestions, maybe developers will add it. viewtopic.php?f=102&t=37642&p=387822#p387822 did you try using the function showPlayerHudComponent and enabling everything after setCameraMatrix? Dosen't work. Link to comment
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now