Hello. Take a look at this script I made in a couple of hours, regarding a suggestion.
Updated to version 1.1
Let me know what you think - and I'm open to changing some parts if needed? However this is pretty much the final form that it would come in.
Most of the time that I spend making this script was getting back into the MTA documentation, which game functions were relevant, and what they did, as I haven't touched it for a long time. I currently work as a programmer with .NET, mostly C# - the point being that I'm also not too experienced in what Lua as a language has to offer, so I'm sure there are parts in the code which could be made more simple?
Link also updated to version 1.1
I'm gonna leave my script here: http://www.mediafire.com/file/chn70l0b609qiop/%5Bammu-nation-buy-menu%5D.zip/file