CREATE_PED_INSIDE_VEHICLE
CREATE_PED_INSIDE_VEHICLE **This is the server-side RPC native equivalent of the client native [CREATE_PED_INSIDE_VEHICLE](?\_0x7DD959874C1FD534).**
CFX
Signature
lua
CreatePedInsideVehicle(GetVehiclePedIsIn(PlayerPedId(), false), 0, GetHashKey("..."), 0, true, true)
-- returns EntityParameters
| Name | Type | Description |
|---|---|---|
| Vehicle | — | |
| int | See [`CREATE_PED`](#\_0xD49F9B0955C367DE) | |
| Hash | — | |
| int | — | |
| BOOL | — | |
| BOOL | — |
Usage
lua
CreatePedInsideVehicle(GetVehiclePedIsIn(PlayerPedId(), false), 0, GetHashKey("..."), 0, true, true)Generated from the native name, hash, and parameter list. Add a real example.
Details
- Hash
- API set
- Source
- cfx
Source: cfx
