07-25-2021, 11:41 AM
(This post was last modified: 07-25-2021, 11:42 AM by RussEfarmer.)
(07-25-2021, 10:40 AM)Here lies Eggroll's reputation. Wrote:This works fine in my server but IsUserGroup would work better because IsAdmin only checks for admin (co-owner, "adm" is actual admins) and superadmin (owner).. alternatively just saying "return true" would block it for everyoneCode:hook.Add( "PlayerSpray", "DisablePlayerSpray", function( ply )
return not ply:IsAdmin()
end )
Other alternatively, doing absolutely nothing would be a good option because people seeing a spray on the server once every two weeks by coincidence has never really been a problem