Garry's Mod

Garry's Mod

PlayerPickup (Pick Up Players / Grab Players)
lnɐԀ 2018 年 4 月 10 日 下午 12:36
How to make it only Admin
Help
< >
正在显示第 1 - 9 条,共 9 条留言
lnɐԀ 2019 年 8 月 14 日 下午 3:34 
tanks bro it halp
sadie! <3 2019 年 11 月 16 日 上午 8:42 
+
BigJoe 2020 年 4 月 26 日 上午 5:42 
how do you make it admin only? do i have to press plus or idk
lnɐԀ 2020 年 4 月 30 日 下午 6:56 
idk it just fixed itself try reinstalling it
Aly  [开发者] 2020 年 8 月 16 日 下午 12:55 
The whole point is for it not to be admin only. If you need admin only, use ULX.
Hailey 2020 年 10 月 1 日 下午 8:23 
I know this is old, but here is code: local function PlayerPickup(ply, ent)
if ply:IsAdmin() then
if (ent:GetClass():lower() == "player") then
return true
end
end
end
hook.Add("PhysgunPickup", "Allow Player Pickup", PlayerPickup)
TUA_Bowsette 2021 年 7 月 19 日 下午 5:48 
引用自 Yuri
I know this is old, but here is code: local function PlayerPickup(ply, ent)
if ply:IsAdmin() then
if (ent:GetClass():lower() == "player") then
return true
end
end
end
hook.Add("PhysgunPickup", "Allow Player Pickup", PlayerPickup)
Do I put that in notepad then save it as a lua file?
uyuni 2023 年 2 月 5 日 上午 5:01 
引用自 Kyoko_Kirigiri
引用自 Yuri
I know this is old, but here is code: local function PlayerPickup(ply, ent)
if ply:IsAdmin() then
if (ent:GetClass():lower() == "player") then
return true
end
end
end
hook.Add("PhysgunPickup", "Allow Player Pickup", PlayerPickup)
Do I put that in notepad then save it as a lua file?
Yes
uyuni 2023 年 2 月 5 日 上午 5:02 
引用自 Kyoko_Kirigiri
引用自 Yuri
I know this is old, but here is code: local function PlayerPickup(ply, ent)
if ply:IsAdmin() then
if (ent:GetClass():lower() == "player") then
return true
end
end
end
hook.Add("PhysgunPickup", "Allow Player Pickup", PlayerPickup)
Do I put that in notepad then save it as a lua file?
C:\Program Files (x86)\Steam\steamapps\common\GarrysMod\garrysmod\lua\autorun\server\admin_functions.lua
< >
正在显示第 1 - 9 条,共 9 条留言
每页显示数: 1530 50