Forum

> > CS2D > Scripts > item function doesn't work :(
Forums overviewCS2D overview Scripts overviewLog in to reply

English item function doesn't work :(

2 replies
To the start Previous 1 Next To the start

old Re: item function doesn't work :(

Mora
User Playing CS2D

Quote
bcs
IMG:https://i.imgur.com/6kZwRkP.png

use
itemtype(58,"name")
instead

/to the actual question, why? since item returns table, 58 is item count on the floor, you have no 58 items on the floor and that's why 58-th' "name" is empty, that's why it's false.
To the start Previous 1 Next To the start
Log in to reply Scripts overviewCS2D overviewForums overview