Attempt on fixing #3 by attaching an invisible j_head.
parent
20c73de7a5
commit
35ee413929
|
@ -798,6 +798,7 @@ enableModelChange(playerCommand) {
|
|||
newhealth = healthfrac * (trace["entity"] GetNormalHealth());
|
||||
|
||||
player DetachAll();
|
||||
player Attach("tag_origin", "j_head");
|
||||
player SetModel(trace["entity"].model);
|
||||
player PlaySound(game["hiders_changed_sound"]);
|
||||
|
||||
|
|
Loading…
Reference in New Issue