local myNewElement = elements.allocate("samp", "trev")
elements.property(elements.SAMP_PT_TREV, "State", "ST_LIQUID")
elements.property(elements.SAMP_PT_TREV, "Name", "TREV")
elements.property(elements.SAMP_PT_TREV, "Description", "Something?")
I currently know how to get to it without menu, I do not want it to show yet. But how do I make it set to liquid state automatically? I tried property state to ST_LIQUID
elements.element(elements.SAMP_PT_TREV, elements.element(elements.DEFAULT_PT_WATR))(or another liquid, put it's name instead of WATR)