Jump to content

Camera Shake or something?


Taalasmaa

Recommended Posts

Okay, so hello.

I maked alcohol script, there's alcohol"meter" and you can drink something like vodka and your bar goes up, when the bar is up to 90% you will be drunk. Script is ready, but is there some way to make shaking camera, so it's looking like drunk.

This is just my problem, I didn't find camera shake things from mta development.

I'm really glad if someone know how to make shaking camera.

+ if there isn't way to do camera shake, give ideas how to make it looking like drunk :P

Thanks.

Greetings

Talasma

Link to comment

There's no makeCameraShake(player) function, if that was what you were hoping for, but you can make something to make it wiggle from side to side. I suggest using onClientRender and setCameraMatrix in order to not make it look like crap.

Link to comment
There's no makeCameraShake(player) function, if that was what you were hoping for, but you can make something to make it wiggle from side to side. I suggest using onClientRender and setCameraMatrix in order to not make it look like crap.

Thanks for reply, i'm going to plan something.

Link to comment

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...