Garry's Mod

Garry's Mod

PlayerPickup (Pick Up Players / Grab Players)
lnɐԀ 10. apr. 2018 kl. 12:36
How to make it only Admin
Help
< >
Viser 1-9 af 9 kommentarer
lnɐԀ 14. aug. 2019 kl. 15:34 
tanks bro it halp
sadie! <3 16. nov. 2019 kl. 8:42 
+
BigJoe 26. apr. 2020 kl. 5:42 
how do you make it admin only? do i have to press plus or idk
lnɐԀ 30. apr. 2020 kl. 18:56 
idk it just fixed itself try reinstalling it
Aly  [udvikler] 16. aug. 2020 kl. 12:55 
The whole point is for it not to be admin only. If you need admin only, use ULX.
Hailey 1. okt. 2020 kl. 20: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 19. juli 2021 kl. 17:48 
Oprindeligt skrevet af 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 5. feb. 2023 kl. 5:01 
Oprindeligt skrevet af Kyoko_Kirigiri:
Oprindeligt skrevet af 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 5. feb. 2023 kl. 5:02 
Oprindeligt skrevet af Kyoko_Kirigiri:
Oprindeligt skrevet af 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
< >
Viser 1-9 af 9 kommentarer
Per side: 1530 50