Garry's Mod
PlayerPickup (Pick Up Players / Grab Players)
How to make it only Admin
Help
< >
Se afișează 1-9 din 9 comentarii
lnɐԀ 14 aug. 2019 la 15:34 
tanks bro it halp
BigJoe 26 apr. 2020 la 5:42 
how do you make it admin only? do i have to press plus or idk
lnɐԀ 30 apr. 2020 la 18:56 
idk it just fixed itself try reinstalling it
Aly  [dezvoltator] 16 aug. 2020 la 12:55 
The whole point is for it not to be admin only. If you need admin only, use ULX.
Hailey 1 oct. 2020 la 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)
Postat inițial de 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 febr. 2023 la 5:01 
Postat inițial de Kyoko_Kirigiri:
Postat inițial de 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 febr. 2023 la 5:02 
Postat inițial de Kyoko_Kirigiri:
Postat inițial de 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
< >
Se afișează 1-9 din 9 comentarii
Per pagină: 1530 50