> ## Documentation Index
> Fetch the complete documentation index at: https://docs.jaksam-scripts.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Document forged

> Se activa en el servidor después de hacer una falsificación.

Este evento se activa después de hacer una falsificación, por un jugador, un trabajador NPC o el comando de admin.

<CodeGroup>
  ```lua Event theme={null}
  AddEventHandler("jksm_identity:forged", function(serial, typeId, quality, forgerId)

  end)
  ```

  ```lua Example theme={null}
  AddEventHandler("jksm_identity:forged", function(serial, typeId, quality, forgerId)
      if quality >= 90 then
          print(("A near perfect %s was forged (%s)"):format(typeId, serial))
      end
  end)
  ```
</CodeGroup>

### Parámetros

| Nombre | Tipo de dato | Descripción |
| - | - | - |
| `serial` | string | El número de la falsificación |
| `typeId` | string | El tipo de documento, una clave de `Config.Documents` |
| `quality` | integer | La calidad, de 0 a 100 |
| `forgerId` | string \| nil | El identificador del personaje falsificador, `'console'` o **nil** |

<Tip>
  Los mismos argumentos llegan a `Editable.OnForged` en `editable/server.lua`, si prefieres tener tu código ahí.
</Tip>


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.