function setPlayerRespawnTime
Note
The respawnTime can't be smaller than 1001 miliseconds.
This function will set the player time to respawn after death. If set to 0, respawn is disabled for selected player.
Original: setPlayerRespawnTime
Declaration
async def setPlayerRespawnTime(id : int, respawnTime : int)
Parameters
int id: the player id.
int respawnTime: the new respawn time in miliseconds.
Source code in src/pyg2o/functions/player.py
1554 1555 1556 1557 1558 1559 1560 1561 1562 1563 1564 1565 1566 1567 1568 1569 1570 1571 1572 1573 | |