Make Player Stats Retrievable Within Lua (#3199)
Nightly Build / Check Recent Commit (push) Successful in 34s
Nightly Build / Build Nightly (push) Waiting to run
Nightly Build / Recreate Release (push) Blocked by required conditions

This commit is contained in:
kikkin_yo_azzez
2024-06-01 05:57:21 -05:00
committed by GitHub
parent 9a2e85b7f5
commit 155ffebe11
3 changed files with 63 additions and 4 deletions
+25 -1
View File
@@ -2,7 +2,7 @@
Table containing helper functions for network related features.
## Functions (13)
## Functions (15)
### `trigger_script_event(bitset, _args)`
@@ -170,4 +170,28 @@ Sends a chat message to the specified player. Other players would not be able to
network.send_chat_message_to_player(player_idx, msg)
```
### `get_player_rank(pid)`
Call get_player_rank(playerID)
- **Parameters:**
- `pid` (int)
**Example Usage:**
```lua
network.get_player_rank(pid)
```
### `get_player_rp(pid)`
Call get_player_rp(playerID)
- **Parameters:**
- `pid` (int)
**Example Usage:**
```lua
network.get_player_rp(pid)
```