{"hash":"0x7DD959874C1FD534","ns":"PED","name":"CREATE_PED_INSIDE_VEHICLE","slug":"CREATE_PED_INSIDE_VEHICLE","official":true,"named":true,"luaName":"CreatePedInsideVehicle","game":"rdr3","apiset":"client","returnType":"Ped","params":[{"name":"vehicle","type":"Vehicle"},{"name":"modelHash","type":"Hash"},{"name":"seatIndex","type":"int"},{"name":"p3","type":"BOOL"},{"name":"p4","type":"BOOL"},{"name":"p5","type":"BOOL"}],"summary":"VS_DRIVER, VS_FRONT_RIGHT, VS_BACK_LEFT, VS_BACK_RIGHT, VS_EXTRA_LEFT_1, VS_EXTRA_RIGHT_1, VS_EXTRA_LEFT_2, VS_EXTRA_RIGHT_2, VS_EXTRA_LEFT_3, VS_EXTRA_RIGHT_3, VS_NUM_SEATS","descriptions":[{"source":"alloc8or","format":"text","body":"seatIndex:\nenum eVehicleSeat\n{\n\tVS_ANY_PASSENGER = -2,\n\tVS_DRIVER,\n\tVS_FRONT_RIGHT,\n\tVS_BACK_LEFT,\n\tVS_BACK_RIGHT,\n\tVS_EXTRA_LEFT_1,\n\tVS_EXTRA_RIGHT_1,\n\tVS_EXTRA_LEFT_2,\n\tVS_EXTRA_RIGHT_2,\n\tVS_EXTRA_LEFT_3,\n\tVS_EXTRA_RIGHT_3,\n\tVS_NUM_SEATS\n};"}],"examples":[],"aliases":[],"enums":[],"related":[],"build":"1207","gtaHash":"0x7DD959874C1FD534","gtaJhash":"0x3000F092","sources":["alloc8or"],"doc":2,"url":"https://natives.borderlinerp.com/natives/PED/CREATE_PED_INSIDE_VEHICLE","markdownUrl":"https://natives.borderlinerp.com/natives/PED/CREATE_PED_INSIDE_VEHICLE.md","snippets":{"lua":"local retval = CreatePedInsideVehicle(vehicle, modelHash, seatIndex, p3, p4, p5)","luaInvoke":"local retval = Citizen.InvokeNative(0x7DD959874C1FD534, vehicle, modelHash, seatIndex, p3, p4, p5, Citizen.ResultAsInteger())","js":"const retval = CreatePedInsideVehicle(vehicle, modelHash, seatIndex, p3, p4, p5);","jsInvoke":"const retval = Citizen.invokeNative('0x7DD959874C1FD534', vehicle, modelHash, seatIndex, p3, p4, p5, Citizen.returnResultAnyway(), Citizen.resultAsInteger());","csharp":"int retval = Function.Call<int>((Hash)0x7DD959874C1FD534, vehicle, modelHash, seatIndex, p3, p4, p5);","notes":["Hash parameters: the named function also accepts a string and hashes it for you; `Citizen.InvokeNative` needs the number — pass `joaat(\"name\")` or a backtick literal like `` `name` ``."]}}