Weapon Hudtxt v1.0 
12 comments Weapon Hudtxt by
MikuAuahDark
Description 
This LUA shows a list of your weapons with hudtxt. It also allow you to see all of your weapons
Features 
Configurable settings
Shows the weapon name and weapon type ID
Make the selected weapon colored different
Checks for all weapon slots(6 slots)
How to Install 
1. Download(of course) and extract it at desired folder
2. Open server lua and add this
3. Save(or don't save to make your current changes lost
)
Reserved Global Variables
test123ok
WTXT_Initial_X
WTXT_Initial_Y
WTXT_Wrap_W_PX
WTXT_Normal_Color
WTXT_Selected
WTXT_Update_Method
WTXT_Max_Hudtxt
WTXT_Hud_Update
Information 
Hooks: 1(Depending on WTXT_Update_Method settings, default
ms100)
Lines: 71(with comments)
Size: 2435 Bytes
Configuration 
WTXT_Initial_X - X Position of Weapon Hudtxt
WTXT_Initial_Y - Y Position of Weapon Hudtxt
WTXT_Wrap_W_PX - Addtional X-Pixels for weapons name(a.k.a indents)
WTXT_Normal_Color - Normal/unselected hudtxt color(Table: {red,green,blue})
WTXT_Selected - Selected hudtxt color(Table: {red,green,blue})
WTXT_Update_Method - Update method(It can be:
always,
ms100,
second(DON'T USE
minute))
WTXT_Max_Hudtxt - Max hudtxt ID that allowed to used by this LUA(From 0-19 if 20)
Limitaions 
It uses a sorted hudtxt ID(0,1,2,...,WTXT_Max_Hudtxt-1)
Notes 
1. I can make this lua better if
item also able to detect weapon that player have
2. Feedbacks? Suggestions? Bugs? post on comments
Rules 
You can use it for your server
You can edit it
You can upload at another website, say
MikuAuahDark made it
You can't say this is yours
You can't upload on another website without put me on credits
Version History 
v1.0
Initial release
Another MikuAuahDark Scripts 
Timer Extra function(timerEx) v4.0 (12)
[UNUSED] Get Player Rank v1.4 (14)
Env_Laser v1.0 (7)
Improved Badwords v2.0 (5)



This LUA shows a list of your weapons with hudtxt. It also allow you to see all of your weapons








1. Download(of course) and extract it at desired folder
2. Open server lua and add this
Code:
1
dofile("sys/lua/wtxt.lua")
3. Save(or don't save to make your current changes lost













Hooks: 1(Depending on WTXT_Update_Method settings, default

Lines: 71(with comments)
Size: 2435 Bytes


















1. I can make this lua better if

2. Feedbacks? Suggestions? Bugs? post on comments




























edited 3×, last 03.11.13 12:52:22 am

Comments
12 comments



Log in!
You need to log in to be able to write comments!Log in
It's kinda basic as my easy lua effects script is.
VADemon is right, it can be good for debugging.
Nice.

Nice.
@
Infinite Rain: Count ? I'm pretty sure you don't need to count anything. If you equip/pick a weapon, you already know what it is.
The only way I see this useful is how
VADemon said.

The only way I see this useful is how


@
Rainoth:
And it will take ages for you to count them, this script makes everything easier.

And it will take ages for you to count them, this script makes everything easier.



