> For the complete documentation index, see [llms.txt](https://xeavin.gitbook.io/the-insurgents-handbook/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://xeavin.gitbook.io/the-insurgents-handbook/scripts/vm-call-targets/char-se-play-weapon-522.md).

# Char SE Play Weapon 522

### Signature

```c
void charseplay_weapon_522(int identifier, int unused, int balance, int volume); //id:0x0522
```

### Description

Does the same as the [Char SE Play Weapon](/the-insurgents-handbook/scripts/vm-call-targets/char-se-play-weapon.md) function, but with this one, the sound balance and volume can also be set.

### Arguments

#### Balance

Determines the sound balance. Use a value of 64 for a balanced sound, as in the same volume on the left and right side. The lower the value, the more you hear from the left and the higher the value, the more you hear from the right.

#### Volume

Determines the volume of the sound effect. Use a value of 127 for 100% volume.
