On the wiki pages, some of the HTML has gotten messed up recently.
This has been added all over the page:
Player functions code:
Looks like some accidentaly "replace all" action, but I don't know, just wanted to make sure you guys are aware of this.
This has been added all over the page:
Code:
```lua
-- the 'd' command is a global command for printing out information into the console
Player functions code:
Code:
### Player Functions
<dl>
<dt>Player:GetTarget()</dt>
<dd>Returns an [[Entity]] of your target, returns 0 if you dont have one.</dd>
<dt>Player:SetTarget(EntityID)</dt>
<dd>Selects the Entity by its ID. Returns (boolean).</dd>
<dt>Player:ClearTarget()</dt>
<dd>Deselects the current Target. Returns (boolean).</dd>
<dt>Player:Interact(EntityID)</dt>
<dd>Interacts with the Entity. Returns (boolean).</dd>
<dt>Player:SetFacing(X,Y,Z)</dt>
<dd>Turns your Player towards the position X,Y,Z. Returns (boolean).</dd>
<dt>Player:SetFacing(radians)</dt>
<dd>Turns your Player by radian value. Returns (boolean).</dd>
<dt>Player:MoveTo(X,Y,Z,stoppingdistance)</dt>
<dd>Intelligently navigates the Player towards the position X,Y,Z and stops before reaching that position at **stoppingdistance**. This stoppingdistance argument is optional. This Function uses the navigation mesh to find its path towards the goal.</dd>
Looks like some accidentaly "replace all" action, but I don't know, just wanted to make sure you guys are aware of this.