# ENTITY::_ATTACH_ENTITY_TO_COORDS_PHYSICALLY

- **Hash:** `0x445D7D8EA66E373E`
- **Namespace:** ENTITY
- **Runtime name (Lua/JS):** `AttachEntityToCoordsPhysically`
- **Side:** client (game native)
- **Name status:** community guess (may change)
- **Documentation:** described
- **Since game build:** 1207
- **URL:** https://natives.borderlinerp.com/natives/ENTITY/_ATTACH_ENTITY_TO_COORDS_PHYSICALLY

## Signature

```c
void _ATTACH_ENTITY_TO_COORDS_PHYSICALLY(Entity entity, int p1, float x, float y, float z, float offsetX, float offsetY, float offsetZ, float timer, BOOL p9, int p10, int p11, int p12, int p13, int p14, int p15);
```

## Parameters

- `entity` (`Entity`)
- `p1` (`int`)
- `x` (`float`)
- `y` (`float`)
- `z` (`float`)
- `offsetX` (`float`)
- `offsetY` (`float`)
- `offsetZ` (`float`)
- `timer` (`float`)
- `p9` (`BOOL`)
- `p10` (`int`)
- `p11` (`int`)
- `p12` (`int`)
- `p13` (`int`)
- `p14` (`int`)
- `p15` (`int`)

## Returns

`void`

## Description

*Source: VORPCORE RDR3natives*

Attach an entity to coordinates physically better name may be perfered? seems to be used with boats `p_skiff02x` ? The last 6 params are always 0 everywhere in the base code. p7 = 500.0 some kind of time? p8 =1

## Usage

### Lua

```lua
AttachEntityToCoordsPhysically(entity, p1, x, y, z, offsetX, offsetY, offsetZ, timer, p9, p10, p11, p12, p13, p14, p15)

-- always available, by hash
Citizen.InvokeNative(0x445D7D8EA66E373E, entity, p1, x, y, z, offsetX, offsetY, offsetZ, timer, p9, p10, p11, p12, p13, p14, p15)
```

### JavaScript

```js
AttachEntityToCoordsPhysically(entity, p1, x, y, z, offsetX, offsetY, offsetZ, timer, p9, p10, p11, p12, p13, p14, p15);

// by hash
Citizen.invokeNative('0x445D7D8EA66E373E', entity, p1, x + 0.0000001, y + 0.0000001, z + 0.0000001, offsetX + 0.0000001, offsetY + 0.0000001, offsetZ + 0.0000001, timer + 0.0000001, p9, p10, p11, p12, p13, p14, p15);
```

### C#

```csharp
Function.Call((Hash)0x445D7D8EA66E373E, entity, p1, x, y, z, offsetX, offsetY, offsetZ, timer, p9, p10, p11, p12, p13, p14, p15);
```

- Float parameters: Lua integers (`10`, or whole numbers decoded from NUI/JSON) are sent as ints and read as garbage. Write `10.0` or `value + 0.0`. The generated JS wrappers add `0.0000001` to non-zero floats for the same reason.
- The name is a community guess and may change. If the named call is missing in your client build, use `InvokeNative` with the hash — it always works.

*Sources: alloc8or RDR3 NativeDB, VORPCORE RDR3natives.*
