Dateien

> > CS2D > Lua Scripts > Weapon Hudtxt v1.0
DateiübersichtCS2D-ÜbersichtLua Scripts-Übersicht

Englisch Weapon Hudtxt v1.0 >

12 Kommentare2 kb, 517 Downloads

alt Weapon Hudtxt v1.0

MikuAuahDark
User Off Offline

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
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
> file cs2d [UNUSED] Get Player Rank v1.4
> file cs2d Env_Laser v1.0
> file cs2d Improved Badwords v2.0
3× editiert, zuletzt 03.11.13 00:52:22
Zugelassen von Seekay

Download Download

2 kb, 517 Downloads

Kommentare

12 Kommentare
Zum Anfang Vorherige 1 Nächste Zum Anfang

Logge dich ein!

Du musst dich einloggen, um selber Kommentare verfassen zu können!Einloggen

alt

Kirito2K
User Off Offline

Extra nice one .
Ich mag es!

alt

iii
User Off Offline

gives a good overview
Ich mag es!

alt

Avo
User Off Offline

It's kinda basic as my easy lua effects script is. user VADemon is right, it can be good for debugging.

Nice.

alt

Rainoth
Moderator Off Offline

@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.

alt

VADemon
User Off Offline

I like that. May be used for debugging.
Ich mag es!

alt

Deathliger
User Off Offline

genius
Ich mag es!

alt

EP
User Off Offline

useless

alt

Infinite Rain
Reviewer Off Offline

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

alt

Rainoth
Moderator Off Offline

What's the point of this ? You can scroll through all your weapons with mouse...

alt

useigor
User Off Offline

Looks nice.
Ich mag es!

alt :)

Kantos
BANNED Off Offline

where i paste the code
Ich mag es!
Zum Anfang Vorherige 1 Nächste Zum Anfang