Skip to content

Commit 062a0bf

Browse files
author
GitHub Actions
committed
Updated Some Public Modules
1 parent b7679ff commit 062a0bf

File tree

3 files changed

+59
-3
lines changed

3 files changed

+59
-3
lines changed

documentation/docs/modules.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -882,7 +882,7 @@
882882
"author": "Samael",
883883
"discord": "@liliaplayer",
884884
"description": "Adds handcuff items that restrain players, logging for tie and untie events, support for roleplay arrests, timed escape minigames for prisoners, and compatibility with the search submodule.",
885-
"version": "1.31",
885+
"version": "1.32",
886886
"download": "https://github.com/LiliaFramework/Modules/raw/refs/heads/gh-pages/tying.zip",
887887
"source": "https://liliaframework.github.io/Modules/tying.html",
888888
"public_uniqueID": "tying",

documentation/docs/modules/tying/about.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
Tying
55

66
**Version:**
7-
1.31
7+
1.32
88

99
**Description:**
1010

documentation/docs/modules/tying/meta.md

Lines changed: 57 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,34 @@
11
# Meta
22

3-
Convenience helpers for playing handcuff animations.
3+
Convenience helpers for playing handcuff animations and player state management.
4+
5+
---
6+
7+
### Player:IsHandcuffed
8+
9+
**Purpose**
10+
11+
Returns whether the player is currently handcuffed/restrained.
12+
13+
**Parameters**
14+
15+
*None*
16+
17+
**Realm**
18+
19+
Shared
20+
21+
**Returns**
22+
23+
`boolean``true` if the player is handcuffed, `false` otherwise
24+
25+
**Example**
26+
27+
```lua
28+
if target:IsHandcuffed() then
29+
-- Player is restrained
30+
end
31+
```
432

533
---
634

@@ -56,3 +84,31 @@ client:EndHandcuffAnim()
5684

5785
---
5886

87+
### Player:IsBeingSearched
88+
89+
**Purpose**
90+
91+
Returns whether the player is currently being searched by another player.
92+
93+
**Parameters**
94+
95+
*None*
96+
97+
**Realm**
98+
99+
Shared
100+
101+
**Returns**
102+
103+
`Player|nil` — The player searching this player, or `nil` if not being searched
104+
105+
**Example**
106+
107+
```lua
108+
if target:IsBeingSearched() then
109+
-- Player is being searched
110+
end
111+
```
112+
113+
---
114+

0 commit comments

Comments
 (0)