> ## 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.

# Account stolen

> Triggered after a player steals money via the actions menu, only when using the default search/rob action.

Triggered after a player steals money from the actions menu.

<Note>
  This only works if you use the default player search/rob action — it won't fire if you replaced it with a custom module.
</Note>

<CodeGroup>
  ```lua Event theme={null}
  RegisterNetEvent("jobs_creator:actions:accountStolen", function(playerId, targetId, accountName, amount)
  end)
  ```

  ```lua Example theme={null}
  RegisterNetEvent("jobs_creator:actions:accountStolen", function(playerId, targetId, accountName, amount)
      print(GetPlayerName(playerId) .. " has stolen " .. amount .. " " .. accountName .. " from " .. GetPlayerName(targetId))
  end)
  ```
</CodeGroup>

### Parameters

| Name          | Data Type | Description                                     |
| ------------- | --------- | ----------------------------------------------- |
| `playerId`    | integer   | The server ID of the player who stole the money |
| `targetId`    | integer   | The server ID of the victim who lost the money  |
| `accountName` | string    | Account name (example: "bank")                  |
| `amount`      | integer   | Amount stolen                                   |


## Related topics

- [Search/Steal Action](/jobs-creator/server/search-steal-action/index.md)
- [Item Stolen](/jobs-creator/server/search-steal-action/item-stolen.md)
- [Weapon Stolen](/jobs-creator/server/search-steal-action/weapon-stolen.md)
- [Prevent Police Weapons from Being Stolen](/jaksam-inventory/guides/block-police-weapon-rob.md)
- [Add society account money](/jobs-creator/server/boss/add-society-account-money.md)
