> For the complete documentation index, see [llms.txt](https://refresh-cx.gitbook.io/refresh.cx-docs/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://refresh-cx.gitbook.io/refresh.cx-docs/self/spoof-ped.md).

# Spoof Ped

Spoofs the local ped model to the given hash. Pass true as the second argument to also replicate it server-side. Returns true on success.

## **Syntax**

```lua
refresh.Self.SpoofPed(modelHash, server) -> Boolean
```

## **Return**

{% hint style="success" %}
Boolean (success)
{% endhint %}

## Usage Example

```lua
refresh.Self.SpoofPed(0x705E61F2, true)
```
