Skip to content

Commit d16a808

Browse files
committed
Yeah
1 parent 7144f10 commit d16a808

File tree

3 files changed

+14
-14
lines changed

3 files changed

+14
-14
lines changed

extendeddescriptions/pim/shared.lua

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
AddInteraction("openDetDescLabel", {
2-
runServer = true,
1+
lia.playerinteract.addInteraction("openDetDescLabel", {
2+
serverOnly = true,
33
shouldShow = function(_, target) return IsValid(target) end,
44
onRun = function(client, target)
55
if not SERVER then return end

tying/pim/shared.lua

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
AddInteraction("putInVehicle", {
2-
runServer = true,
1+
lia.playerinteract.addInteraction("putInVehicle", {
2+
serverOnly = true,
33
shouldShow = function(client, target)
44
if not simfphys then return false end
55
local es = ents.FindInSphere(client:GetPos(), 150)
@@ -38,8 +38,8 @@
3838
end
3939
})
4040

41-
AddInteraction("removeCuffedPassengers", {
42-
runServer = true,
41+
lia.playerinteract.addInteraction("removeCuffedPassengers", {
42+
serverOnly = true,
4343
shouldShow = function(client)
4444
for _, v in pairs(ents.FindInSphere(client:GetPos(), 150)) do
4545
if v:IsPlayer() and v:InVehicle() and v:IsHandcuffed() then return true end
@@ -54,8 +54,8 @@ AddInteraction("removeCuffedPassengers", {
5454
end
5555
})
5656

57-
AddInteraction("tie", {
58-
runServer = true,
57+
lia.playerinteract.addInteraction("tie", {
58+
serverOnly = true,
5959
shouldShow = function(client, target) return client:getChar():getInv():hasItem("tie") and IsValid(target) and not target:IsHandcuffed() end,
6060
onRun = function(client, target)
6161
if not SERVER then return end
@@ -79,8 +79,8 @@ AddInteraction("tie", {
7979
end
8080
})
8181

82-
AddInteraction("unTie", {
83-
runServer = true,
82+
lia.playerinteract.addInteraction("unTie", {
83+
serverOnly = true,
8484
shouldShow = function(_, target) return target:IsHandcuffed() end,
8585
onRun = function(client, target)
8686
if not SERVER then return end

tying/submodules/tyingsearch/pim/shared.lua

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
local MODULE = MODULE
2-
AddInteraction("requestSearch", {
3-
runServer = true,
2+
lia.playerinteract.addInteraction("requestSearch", {
3+
serverOnly = true,
44
shouldShow = function(client, target) return not target.SearchRequested and not client.SearchRequested and not target:IsBeingSearched() end,
55
onRun = function(client, target)
66
if not SERVER then return end
@@ -20,8 +20,8 @@ AddInteraction("requestSearch", {
2020
end
2121
})
2222

23-
AddInteraction("search", {
24-
runServer = true,
23+
lia.playerinteract.addInteraction("search", {
24+
serverOnly = true,
2525
shouldShow = function(_, target) return target:IsHandcuffed() and not target:IsBeingSearched() end,
2626
onRun = function(client, target)
2727
if not SERVER then return end

0 commit comments

Comments
 (0)