Improve skill cooldowns and weapon handling logic
This commit is contained in:
parent
28a7d0048c
commit
1d9e70aeda
9 changed files with 38 additions and 14 deletions
|
|
@ -51,10 +51,11 @@ namespace jRandomSkills
|
|||
Instance.AddTimer(.2f, () => {
|
||||
player.Respawn();
|
||||
zombies.Add(player);
|
||||
player.ExecuteClientCommand("slot3");
|
||||
SetPlayerColor(pawn, false);
|
||||
SkillUtils.AddHealth(pawn, zombieHealth - 100, zombieHealth);
|
||||
pawn.Teleport(deadPosition, deadRotation);
|
||||
player.ExecuteClientCommand("slot3");
|
||||
Instance.AddTimer(1, () => player.ExecuteClientCommand("slot3"));
|
||||
});
|
||||
|
||||
return HookResult.Continue;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue