package blah{ function jet(%state) { parent::jet(%state); if(%state) //gui open else //gui close }};activatePackage(blah);
hm, okay, what about a check to see if the player is on a playertype with jets or not?Read the code again, that is bound to the jet button, so, its gonna jet while at the same time opening the GUI...sooo, kind of a problem
I believe it is altTrigger();