does anybody have a hook for a screen shake for a custom job/model when walking on a darkrp server
There's no hook, as far as I know, you need this entity
He can also use util.ScreenShake or Player/ViewPunch
How would i use this and where i would i put it in my server files?
Figure it out. There are pretty helpful tutorials on those two pages.
This should help you get started [Lua] ScreenShake = ScreenShake or {} ScreenShake.amplitude = 2.., both util.ScreenShake and PlayerFootstep are shared, so if you wish to have everyone's screen shake, call the code on the server, if you want just the persons screen to shake, call it on the client. Obviously there's no checks, you will have to add those yourself.
Sorry, you need to Log In to post a reply to this thread.