Functions/Player/Client/isInRoom

From Official DarkRP Wiki
Jump to: navigation, search
Function
Function name Player:isInRoom()
Description:
Whether the player is in the same room as the LocalPlayer.
Returns: boolean inRoom
Part of Library: Player
Realm: NewerClient.png
BBCode Link: [b][url=http://wiki.darkrp.com/index.php?title=Functions/Player/Client/isInRoom]Player:isInRoom[/url][/b]

Function parameters

This function does not take any arguments.

Function return values

  1. inRoom (boolean)
  2. Whether the player is in the same room.