I need Help Editing this

Discussion in 'Plugin Development' started by Disorbs, Jan 17, 2017.

Thread Status:
Not open for further replies.
  1. Offline

    Disorbs

    So this plugin is open source and everything works on it ive been translating it to English but i also
    want to change it from activating the Jetpack while on ground and pressing Shift to only Double jumping
    like if you were to fly except it'll toggle the jetpack like it does with shifting, thanks

    http://pastebin.com/RhqZJvqk
     
  2. Offline

    ipodtouch0218

    Listen to a PlayerToggleFlightEvent, disable their fly (or set cancelled) and do the jetpack boost as normal.

    (Make sure to enable their fly-mode if they have a jetpack equipped.)
     
Thread Status:
Not open for further replies.

Share This Page