Hello guys,
I have a problem with creating entities and make them solid for everything (Players, Guns, C4, etc...)
PHP Code:
#define MODEL_PATH "models/props_wasteland/exterior_fence002e.mdl"
int entity = CreateEntityByName("prop_dynamic");
SetEntityModel(entity, MODEL_PATH);
SetEntProp(entity, Prop_Send, "m_nSolidType", 6);
TeleportEntity(entity, origin, angle, NULL_VECTOR);
Entity_SetGlobalName(entity, name);
Using this code I have a solid wall - players are not able to move through it. However, players still able to drop weapons and C4 through it.
Is it possible to fix it somehow?