Quote:
Originally Posted by xZk
another common mistake on my part that I also had is to use the wrong types of props, since in some entities there is only one of these: Prop_Send or Prop_Data.
|
Well, if you use the sm_dump* commands you can see which properties are Prop_Send or Prop_Data.
Quote:
Originally Posted by xZk
I have a doubt with respect this point:
Would it be a good alternative to use a DispatchKeyValueVector(ent, "origin", pos) instead of TeleportEntity ?. In my case I always use this to SetParent entities when they are created.
|
I guess it's down to preference. But sometimes depending on entity type DispatchKeyValueVector origin might not teleport the entity to where you want and it remains at 0,0,0. This is just something you have to test when creating plugins.
Quote:
Originally Posted by Dragokas
-
|
Quote:
Originally Posted by xZk
-
|
Thanks, added links.
__________________