English Weapon Hudtxt v1.0 icon

12 comments
14.09.13 02:23:47 pm
like 7 like it!
2 kb, 131 Downloads
MikuAuahDark
User
Offline Off
Weapon Hudtxt by user 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
Code:
1
dofile("sys/lua/wtxt.lua")

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 cs2d lua hook 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: cs2d lua hook always,cs2d lua hook ms100,cs2d lua hook second(DON'T USE cs2d lua hook 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 cs2d lua cmd 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 user 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
> > ADDED Initial release

∗ Another MikuAuahDark Scripts ∗
> file cs2d Timer Extra function(timerEx) v4.0 (12)
> file cs2d [UNUSED] Get Player Rank v1.4 (14)
> file cs2d Env_Laser v1.0 (5)
> file cs2d Improved Badwords v2.0 (5)
imageimage
edited 3×, last 03.11.13 12:52:22 am
ok This file has been reviewed and approved by Seekay (04.12.15 01:08:54 pm)

Comments

12 comments
Goto Page
To the start Previous 1 Next To the start

Log in!

You need to log in to be able to write comments!Log in
16.04.14 02:05:52 pm
like I like it!
Up
Pirates killer
User
Offline Off
Extra nice one .
14.09.13 11:49:58 pm
like I like it!
Up
iii
User
Offline Off
gives a good overview
14.09.13 07:58:48 pm
Up
Avo
User
Offline Off
It's kinda basic as my easy lua effects script is. user VADemon is right, it can be good for debugging.

Nice.
14.09.13 04:55:18 pm
Up
Rainoth
Moderator
Offline Off
@user 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 user VADemon said.
14.09.13 04:50:42 pm
like I like it!
Up
VADemon
User
Offline Off
I like that. May be used for debugging.
14.09.13 04:24:31 pm
like I like it!
Up
Deathliger
User
Offline Off
genius
14.09.13 04:08:45 pm
Up
EP
User
Offline Off
useless
14.09.13 03:46:04 pm
like I like it!
Up
Infinite Rain
Reviewer
Offline Off
@user Rainoth:
And it will take ages for you to count them, this script makes everything easier.
14.09.13 03:05:55 pm
Up
Rainoth
Moderator
Offline Off
What's the point of this ? You can scroll through all your weapons with mouse...
14.09.13 02:46:14 pm
like I like it!
Up
useigor
User
Offline Off
Looks nice.
14.09.13 02:45:10 pm
like I like it!
Up
Infinite Rain
Reviewer
Offline Off
Nice one
14.09.13 02:43:40 pm
like I like it!
Up
Kantos
BANNED
Offline Off
where i paste the code
To the start Previous 1 Next To the start