Hello everyone,
I'm trying to spawn entities in my plugin for CSS. For those entity, i would like to remove the collisions with the players. (like a weapon for example)
Until now, I was using this :
Code:
new entity = CreateEntityByName("prop_ragdoll");
....
....
DispatchSpawn(entity);
SetEntData(Ragdoll, g_CollisionOffset, 2, 1, true);
It works perfectly but the props physics is going wrong sometimes. Each time, I need to restart the server to "fix" it. I have learned on the forum that it mays come from the way I modify the "g_CollisionOffset" properties of entities.
So my question is simple :
Does it come from this ?
If yes, do you have another way to do what I want to do ?
Thank you for your help !