Skip to content

Commit

Permalink
remove OxPlayer client examples
Browse files Browse the repository at this point in the history
  • Loading branch information
thelindat committed Oct 20, 2024
1 parent df91860 commit edbc83d
Showing 1 changed file with 0 additions and 15 deletions.
15 changes: 0 additions & 15 deletions pages/ox_core/Classes/Client/OxPlayer.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -38,21 +38,6 @@ player.get(key)
**Returns**
- `unknown`

**Example**
```lua
local player = Ox.GetPlayer()

print(player.get('name')) -- output: "firstName lastName"
print(player.get('firstName')) -- output: "firstName"
print(player.get('lastName')) -- output: "lastName"
print(player.get('gender')) -- output: "gender"
print(player.get('dateOfBirth')) -- output: "DD/MM/YYYY"
print(player.get('phoneNumber')) -- output: "000-000-0000"
print(player.get('activeGroup')) -- output: "activeGroup"

print(player.get('customKey')) -- output: customValue
```

## OxPlayer.getCoords

Returns the player's current coordinates.
Expand Down

0 comments on commit edbc83d

Please sign in to comment.