Here is a thread where you can quickly ask a simple question.
Dont ask questions that might need a lot of explaining, just the simpler ones
Ill open with one I received on xf:
[14:36] F |Madness| U: hey again, don't suppose you know of a way to use getEntArray() to get all the scripted entities on a map?
[14:36] F |Madness| U: I tried getEntArray( "*", "targetname" )
[14:36] F |Madness| U: cause I thought it might take * as a wildcard but it doesn't
Answer:
Just call getentarray() to get all entities in a map (everything will be there). Filter afterwards if required.