by kaeza » Sun Mar 31, 2013 19:35
snakevenom wrote:prestidigitator wrote:I can think of two ways to do this:
- Have the object temporarily grant the fly privilege (you'll have to carefully track when to revoke it, accounting for corner cases like logouts, disconnects, destroyed items, etc.), or
- Spawn an entity, attach the player to it, and test the player's controls to move the entity (not sure how smooth this will be).
i would like to do the first one but i dont know how, i know basic modding but not how to temporarily grant privs :( anyone wanna help?
I'd suggest you take the second option; It's less smooth, but also less prone to bugs.
Your signature is not the place for a blog post. Please keep it as concise as possible. Thank you!
Check out my stuff! | Donations greatly appreciated!
PayPal | BTC:
1DFZAa5VtNG7Levux4oP6BuUzr1e83pJK2