> For the complete documentation index, see [llms.txt](https://documentation.jaksam-scripts.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://documentation.jaksam-scripts.com/jobs-creator/server/search-steal-action/account-stolen.md).

# Account stolen

```lua
RegisterNetEvent("jobs_creator:actions:accountStolen", function(playerId, targetId, accountName, amount)

end)
```

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

### Example

```lua
RegisterNetEvent("jobs_creator:actions:accountStolen", function(playerId, targetId, accountName, amount)
    print(GetPlayerName(playerId) .. " has stolen " .. amount .. " " .. accountName .. " from " .. GetPlayerName(targetId))
end)
```
