не Кукареку я потом на надпись что за админ профу нельзя с энтити взаимодействовать а вот мне не надо чтобы ано писало пока зажата e а достаточно 1 раз написать
local EntWaitlist = {
["prop_door_rotating"] = true,
["spawned_money"] = true,
["npc_igs"] = true,
["ent_easyskins_shop_2.0"] = true,
["mg_automata"] = true,
["npc_accessory_vendor"] = true,
}
hook.Add( "PlayerUse", "AntiadminUse", function( pl, ent )
if not EntWaitlist[ent:GetClass()] and pl:getJobTable().nonrp then
if not pl.nextadminusenotify or pl.nextadminusenotify < CurTime() then
pl:ChatPrint("Кукареку")
pl.nextadminusenotify = CurTime() + 1 -- Кулдаун на уведомление
end
return false
end
end)