Need a bit of guidance

Hello, I am using WolfKnight’s Action menu found

here

I’ve been editing it successfully and, keep in mind, i am very new to lua and trying my hardest.

I’ve added Hands Up, Hands up and kneel, Roll windows, Trunk open/close, engine toggle.

I would like to add some kind of Blood Alcohol Content that someone can click on the button, a secondary text chat appears, type in their BAC, and then save it. A cop comes alone, types in chat /bac
and it basically echos what they type in that box.


I am also trying to find a way to add a sub menu to it, that only Whitelisted leos can access.
Any idea on how to accomplish? Or any guidance?


Im not asking you to do the work for me, although it would be nice. ;D
At the very least a little guidance and some literature explaining how.


Also, if anyone else has any really cool features they think would be a good edition, that’d be awesome.