# MP-Banking

Client Side

{% code overflow="wrap" %}
```typescript
onNet('MP-Banking:OpenClient', (cash: number, bank: number, name: string) - Opens Banking ui


onNet('MP-Banking:UpdateClient', (cash: number, bank: number) - Updates Banking


```
{% endcode %}

Server Side

```typescript
onNet('MP-Banking:Open', async (source: number) - Opens 

onNet('MP-Banking:withdraw', function (amount: number) - takes money out

onNet('MP-Banking:deposit', function (amount: number) - deposits cash

onNet('MP-Banking:transfer', function (amount: number, id: number) - Transfers cash
```
