Jetpack with timer
Posted: Sun Dec 27, 2015 6:32 pm
Hey guys, I've run into a strange error.
So I tried using player.set_jetpack and after 5 seconds removing it with this line:
Now with that line I get an error from the tick.py saying "NoneType object is not callable"-
Other timers worked just fine, like:
Any thoughts? Thanks
So I tried using player.set_jetpack and after 5 seconds removing it with this line:
Code: Select all
timer_jet = tick_delays.delay(5, player.set_jetpack(0))
Now with that line I get an error from the tick.py saying "NoneType object is not callable"-
Other timers worked just fine, like:
Code: Select all
timer_entity = tick_delays.delay(5, entity.remove)
Any thoughts? Thanks
