Kycius Posted October 6, 2017 Share Posted October 6, 2017 I was wondering if there's any kind of command that would make me see in moogle vision after pressing key. After pressing z my character would get moogle vision (moogle googles). Link to comment Share on other sites More sharing options...
ptr Posted October 6, 2017 Share Posted October 6, 2017 It requires RPC to prevent dark damages, you can see other posts for that. To add key handler on client, use TheInput:AddKeyDownHandler(KEY_Z, function() --following code will only provide moggle vision on client, do these on server with RPC call to stop charlie attack. local v=ThePlayer.components.playervision v:ForceNightVision(not v.forcenightvision) end) Link to comment Share on other sites More sharing options...
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