mirror of
https://github.com/jimathy/jim_bridge.git
synced 2026-11-27 13:34:45 +00:00
Rename metahandler functions
Realised I named the player and item metadata functions too closely and made it confusing, this separates them better
This commit is contained in:
1 parent
d255034c02
commit
b595453efe
4 files changed
+46
-116
No files matched your search
@@ -21,12 +21,12 @@ This module provides access and control over player metadata, which is useful fo
|
||||
print("Player stress level:", stress)
|
||||
```
|
||||
|
||||
- **SetMetadata(player, key, value)**
|
||||
- **setPlayerMetadata(player, key, value)**
|
||||
|
||||
⚠️ Server side only
|
||||
- Updates or assigns a value to a specific metadata key for a player.
|
||||
- The function updates the player's metadata using the active core export.
|
||||
- **Example:**
|
||||
```lua
|
||||
SetMetadata(player, "stress", 0)
|
||||
setPlayerMetadata(player, "stress", 0)
|
||||
```
|
||||
Reference in new issue
Block a user