This function will get the player mana points.
Original: getPlayerMana
Declaration
async def getPlayerMana(id : int) -> int
Parameters
int id: the player id.
Returns
int: the mana points amount.
Source code in src/pyg2o/functions/player.py
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564 | async def getPlayerMana(id : int) -> int:
"""
This function will get the player mana points.
Original: [getPlayerMana](https://gothicmultiplayerteam.gitlab.io/docs/0.3.0/script-reference/server-functions/player/getPlayerMana/)
## Declaration
```python
async def getPlayerMana(id : int) -> int
```
## Parameters
`int` **id**: the player id.
## Returns
`int`: the mana points amount.
"""
data = f'return {get_call_repr()}'
server = await PythonWebsocketServer.get_server()
result = await server.make_request(data)
return result
|