how to disable the weapon and entities menu!?

how do i disable it? please help

You mean remove the tabs?

Make a duplicate of the sandbox gamemode and remove the code that creates them.

Or get the menu object via a post delayed script and remove the tabs manually.

do you know what file it is?

look around

code.garrysmod.com

Do you read the damn stickys?