at ExpValue.set_int (ExpressionValue, set integer)
Photon.RoomPlayerCount (Count as in number, as in int)
str(13_room_names.SelectedText) (turns 13_room_names.SelectedText into a string, which it already is so using str() is unneccesary anyway)
I'm not 100% sure what you exactly wanted to do. It's either that you wanted to do
Photon.RoomPlayerCount(int(13_room_names.SelectedText))
Or, since you have room_names in there, you didn't want to set Photon.RoomPlayerCount but Photon.RoomName (or something along those lines. I'm not familiar with Photon)
What I want, I will explain briefly. I want to know how many players are in the room without connecting to it.
Photon.RoomPlayerCount(int(13_room_names.SelectedText))
I already wrote this line on "int" he swears and says that the value should be only string.
I wrote the room number
Photon.RoomPlayerCount("1") and so on but nothing helps, an error pops up. I don't know what to do. I do not know how to find out how many players are in the room without connecting to it.