Forum

> > CS2D > Scripts > Detect weapon/armor
Forums overviewCS2D overview Scripts overviewLog in to reply

English Detect weapon/armor

4 replies
To the start Previous 1 Next To the start

old Detect weapon/armor

Quattro
GAME BANNED Off Offline

Quote
How would you guys go about detecting player's current equipment? I know that there is a player command "weapon" but it only returns the held item. How to see whole player's equipment?

old Re: Detect weapon/armor

VADemon
User Off Offline

Quote
To get a player's armor you must get
player(id, "armor")


I've written the armor values somewhere on the forum, but
0-200 are used for Kevlar/Kevlar and helm
Special armors have their own values >200
To the start Previous 1 Next To the start
Log in to reply Scripts overviewCS2D overviewForums overview