English item function doesn't work :(

2 replies
Goto Page
To the start Previous 1 Next To the start
02.06.17 07:51:25 pm
Up
carb0n
BANNED
Offline Off
when i use item(58,"name") it returns boolean value (false) why ??
02.06.17 08:13:44 pm
Up
Mora_rus
User
Offline Off
bcs
IMG:http://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.
S.T.A.L.K.E.R. - The Lost Land dev. https://discord.gg/aABCkHQ
02.06.17 08:49:38 pm
Up
carb0n
BANNED
Offline Off
@user Mora_rus: tnks so much
To the start Previous 1 Next To the start