[FilterScript] [FS] Scott's In-Game Menu Creating Filterscript
#1

In-Game Menu Creating Filterscript v2

Well, this is my first filterscript, which allows easily create menu while playing in your server.
This is second version of this filterscript. I haven't released previous version, because it was bugged, fast-scripted and not very comfortable, but it worked .
There are some menu colors, but you can't add them (Colors item is disabled) because I wrote a lot of colors code, and I failed, it doesn't work good, so I've disabled it. I'll fix it for next version.

Usage:
► Go to your server, and type "/createmenu [Menu Header] [Menu Name] [Number of columns]
•"Menu Header" will be shown on top of your menu.
•"Menu Name" will be formatted for your script, eg: "new Menu:menuname".
•"Number of columns" - menu columns (max 2, min 1);
► Then type number of items (rows), min 1, max 12.
► Your menu will show up, you can press on any item and rename it.
•Here is a little bug. If your menu has 2 columns, type both item names, otherwise you can bug your menu a little bit.
► You can set your menu poss by typing "/menupos", then message with instructions will show up.
► You can set menu width by typing "/menuwidth".
► If you want to change menu pos "stepsize" type "/possize [amount (min 1, max 50)]"
► You can increase menu width size typing "/widthsize [amount (min 1, max 50)]"
► If Your menu disappeared, type "/menu" and menu will show again.
► When everything is done, type "/savemenu [filename]", and file "filename.txt" will be created in your scriptfiles folder, with your created menu in it.

UPDATED:

► Removed colors menu ( you can set color with "~w~"... like in gametexts or textdraws )
► Fixed bug with menu saving.


Credits:
• DracoBlue - for dcmd function.
• ****** - for sscanf function
• For sa-mp wiki, and for those who helped me.

Screens:


You can't re-release this script without my permission, please keep credits.

Bugs: Well, I found only that tiny bug with menu items. If you find bug, please post it.

There is nothing to do with it, this is last version.
Reply


Messages In This Thread

Forum Jump:


Users browsing this thread: 1 Guest(s)