{"hash":"0x3000F092","ns":"CFX","name":"CREATE_PED_INSIDE_VEHICLE","slug":"CREATE_PED_INSIDE_VEHICLE","official":true,"named":true,"luaName":"CreatePedInsideVehicle","game":"cfx","apiset":"server","returnType":"Entity","params":[{"name":"vehicle","type":"Vehicle"},{"name":"pedType","type":"int","description":"See [`CREATE_PED`](#\\_0xD49F9B0955C367DE)"},{"name":"modelHash","type":"Hash"},{"name":"seat","type":"int"},{"name":"isNetwork","type":"BOOL"},{"name":"bScriptHostPed","type":"BOOL"}],"summary":"CREATE_PED_INSIDE_VEHICLE This is the server-side RPC native equivalent of the client native CREATE_PED_INSIDE_VEHICLE.","descriptions":[{"source":"cfx","format":"md","body":"CREATE_PED_INSIDE_VEHICLE\n\n**This is the server-side RPC native equivalent of the client native [CREATE_PED_INSIDE_VEHICLE](?\\_0x7DD959874C1FD534).**"}],"examples":[],"aliases":[],"enums":[],"related":[],"sources":["cfx"],"doc":2,"url":"https://natives.borderlinerp.com/natives/CFX/CREATE_PED_INSIDE_VEHICLE","markdownUrl":"https://natives.borderlinerp.com/natives/CFX/CREATE_PED_INSIDE_VEHICLE.md","snippets":{"lua":"local retval = CreatePedInsideVehicle(vehicle, pedType, modelHash, seat, isNetwork, bScriptHostPed)","luaInvoke":"local retval = Citizen.InvokeNative(0x3000f092, vehicle, pedType, modelHash, seat, isNetwork, bScriptHostPed, Citizen.ResultAsInteger())","js":"const retval = CreatePedInsideVehicle(vehicle, pedType, modelHash, seat, isNetwork, bScriptHostPed);","jsInvoke":"const retval = Citizen.invokeNative('0x3000f092', vehicle, pedType, modelHash, seat, isNetwork, bScriptHostPed, Citizen.returnResultAnyway(), Citizen.resultAsInteger());","csharp":"int retval = Function.Call<int>((Hash)0x3000f092, vehicle, pedType, modelHash, seat, isNetwork, bScriptHostPed);","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` ``."]}}