Dateien

> > CS2D > Lua Scripts > Weapon Ammo Counts
DateiübersichtCS2D-ÜbersichtLua Scripts-Übersicht

Englisch Weapon Ammo Counts >

28 Kommentare652 b, 645 Downloads

alt Weapon Ammo Counts

Apache uwu
User Off Offline

I just realized that cs2d lua cmd item can't get player weapon ammo counts and it isn't included in cs2d lua cmd player either.

With this script the getting the following are possible:

**It is added to the existing player() function, use it as player(id, "ammoin"), etc**

• weapontype -> same as player(id,"weapon")
• weaponname -> same as itemtype(player(id,"weapon"),"name")
• ammoin -> same as item(id,"ammoin")
• ammo -> same as item(id,"ammo")
• weaponmode -> same as item(id,"mode")

An example is shown in this GIF:

IMG:https://puu.sh/7wx9K.gif

Recorded with LiceCap.

You can drop and pickup weapons and it will still work fine.
2× editiert, zuletzt 04.04.14 20:16:35
Zugelassen von Yates

Download Download

652 b, 645 Downloads

Kommentare

28 Kommentare
Seite
Zum Anfang Vorherige 1 2 Nächste Zum Anfang

Logge dich ein!

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

alt

_oops
User Off Offline

thanks for useful file!
Ich mag es!

alt

Sparty
Reviewer Off Offline

it will be Great to put it on the left corner-mid, it will give some S.E.X.Y
Ich mag es!

alt

Kirito2K
User Off Offline

Nice .
Ich mag es!

alt

Avo
User Off Offline

√ useful for setammo command!
Ich mag es!

alt

MikuAuahDark
User Off Offline

I just realize that you're only use cs2d cmd items
Ich mag es!

alt

omg
User Off Offline

i noticed this too...its just too bad u cant set ammo values to a weapon id, or id use this

still a good script
Ich mag es!

alt

Infinite Rain
Reviewer Off Offline

Nope, skullorig, we both using menu for building it.

alt

SkullzOrig
User Off Offline

O.O I just noticed it now that you mention it.

Mehr >
Zum Anfang Vorherige 1 2 Nächste Zum Anfang