Find combine door

Hello, I’m making a script so you can open combine doors at the maps they doesn’t open with pressing E.

I found out how to open it, but I need some system that detects if that door is a combine door or not.
Any ideas how to find that out? Some variables stored in the entity itself or ? This is where I’m confused :stuck_out_tongue:

Thanks for helping :slight_smile:

Check the model.

Uhm no, not that kind of doors. Those flat ones. Like in City 18/8 etc. Those Nexus doors. If you know what I mean.

[editline]11th November 2010[/editline]

Did you mean check model like:



lua_run_cl print(LocalPlayer():GetEyeTrace().Entity:GetModel())


This model number that prints out like “*52” doesn’t change by slot changes like the Entity ID’s does right? If not, I’m going to use this one. Right?