Interface administrators, moderator
2,603
edits
No edit summary |
No edit summary |
||
Line 10: | Line 10: | ||
|bcName = game.getPeds | |bcName = game.getPeds | ||
|returnFail1 = array [] | |returnFail1 = array [] | ||
|notes = The returned array includes both players AND civilian/npc peds! To use only NPCs, try <code>!element.isType(ELEMENT_PLAYER)</code> or <code>element.type != ELEMENT_PLAYER</code> when using this array.<br /> | |||
Element type ELEMENT_CIVILIAN was removed in client/server 1.3.1, so use ELEMENT_PED | |||
}} | }} |