mirror of
https://github.com/darksaid98/overextended.github.io.git
synced 2026-12-02 22:22:46 +00:00
ox_core: Player tweaks, and docs for accounts
This commit is contained in:
1 parent
7f99ef97e1
commit
d21e19e9a3
4 files changed
+133
-28
No files matched your search
@@ -0,0 +1,17 @@
|
||||
---
|
||||
title: Server
|
||||
sidebar_position: 1
|
||||
---
|
||||
|
||||
## Ox.GetAccounts
|
||||
|
||||
Return an instance of CAccount for the given charid or group.
|
||||
|
||||
```lua
|
||||
local accounts = Ox.GetAccounts(owner)
|
||||
```
|
||||
|
||||
You can use [player.getAccounts](../../Player/Server/methods.md#playergetaccounts) to to simplify access to an player accounts, however the standard function works for offline players.
|
||||
|
||||
|
||||
You can refer to [vl_banking](https://github.com/Volumed/vl_banking) for a simple implementation of banking using ox_core accounts.
|
||||
Reference in new issue
Block a user