Here is my code:
[CODE]function GM:PlayerLoadout( ply )
ply:RemoveAllAmmo()
ply:StripWeapons()
ply:SetWalkSpeed( WalkSpeed )
ply:SetRunSpeed( RunSpeed )
end
--[[Admin Loadout]]--
function AdminLoadout( ply )
if ply:IsSuperAdmin() then
ply:Give( "weapon_physgun" )
ply:Give( "weapon_physcannon" )
ply:Give( "gmod_tool" )
end
end
hook.Add( "PlayerLoadout", "AdminLoadout", AdminLoadout )[/CODE]
It doesn't run at all, no idea why.
Tried putting in Msg() to see if it actually is returning false but that doesn't even run either.
Sorry, you need to Log In to post a reply to this thread.