getPeds: Difference between revisions

Jump to navigation Jump to search
4 bytes removed ,  29 December 2021
no edit summary
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><br>
|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 for NPCs
Element type ELEMENT_CIVILIAN was removed in client/server 1.3.1, so use ELEMENT_PED for NPCs
}}
}}
2,603

edits

Navigation menu