vehicle.getOccupants: Difference between revisions

no edit summary
(Created page with "{{ScriptItem |endpoint = shared |type = method |class = Vehicle |name = getOccupants |usage = fetch all ped handles in the vehicle |parameters = void |returnTypes = array |ret...")
 
No edit summary
 
Line 1: Line 1:
{{ScriptItem
{{ScriptItem2
|endpoint = shared
|name = getOccupants
|side = shared
|type = method
|type = method
|class = Vehicle
|class = Vehicle
|name = getOccupants
|games = iii vc sa iv
|usage = fetch all ped handles in the vehicle
|desc = fetch all ped handles in the vehicle
|parameters = void
|return = array an array of all peds in the vehicle with syntax <code>array<int index, Ped ped></code>
|returnTypes = array
|freturn = array []
|returnFail1 = array []
|returnInfo = an array of all peds in the vehicle with syntax <code>array<int index, Ped ped></code>
}}
}}
6,834

edits