Gets the current player's id.
whether the player was successfully found, and the current player's id
wasFound, playerId = osrs.ClientOp.playerFindSelf();osrs.print("The current player's name is " .. osrs.ClientOp.playerName(playerId)); Copy
wasFound, playerId = osrs.ClientOp.playerFindSelf();osrs.print("The current player's name is " .. osrs.ClientOp.playerName(playerId));
Gets the current player's id.