Forum

> > CS2D > Scripts > entitylist() is empty.
Forums overviewCS2D overview Scripts overviewLog in to reply

English entitylist() is empty.

No replies
To the start Previous 1 Next To the start

old entitylist() is empty.

Mami Tomoe
User Off Offline

Quote
Why does
entitylist()
return an empty table for me?

IMG:https://i.imgur.com/axkEovy.png


EDIT: Before you tell me my map is empty, I tried it both on a map I made and on a map I didn't.
Both returned the same output and both have entities. Proof? I spawned.

EDIT 2:
Yeah, you need to use "pairs" and not "i = 1, #entities".


Let this be a lesson for next time.
edited 4×, last 05.12.19 06:41:35 am
To the start Previous 1 Next To the start
Log in to reply Scripts overviewCS2D overviewForums overview