Attempt on fixing #3 by attaching an invisible j_head.

master
Icedream 2016-04-02 20:11:37 +02:00
parent 20c73de7a5
commit 35ee413929
1 changed files with 1 additions and 0 deletions

View File

@ -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"]);