- Joined
- Aug 12, 2008
- Messages
- 1,351
- Reaction score
- 36
Hi,
How to check if item has unique.id?
Fails,
Fails too.... item.uid (when item haven't got unique id returns random value.
So, how to check if it has unique id?
Edit:
Ok, so random assigned item.uid's are:
I'm checking if (item.uid < 10000 and item.uid > 1000)
And it's solved.
How to check if item has unique.id?
Code:
if (item.uid ~= -1) then
Code:
if (item.uid) then
So, how to check if it has unique id?
Edit:
Ok, so random assigned item.uid's are:
Code:
11:57 72496
11:57 72497
11:57 72499
11:57 72501
11:57 72503
11:57 72504
11:57 72505
11:57 72506
11:57 72508
11:57 72510
11:57 72511
11:57 72512
11:57 72513
11:57 72514
11:57 72518
11:57 72519
11:57 72520
11:57 72521
11:57 72522
11:57 72523
11:57 72524
11:57 72525
11:57 72526
11:57 72527
11:57 72528
11:57 72530
I'm checking if (item.uid < 10000 and item.uid > 1000)
And it's solved.