chat_command_freeze 1.0.1

Fix the bug that was not targeting the player but was targeting the player calling the command instead
This commit is contained in:
Resxt 2023-02-16 05:25:21 +01:00
parent ba97483c5d
commit 1c2222443e
2 changed files with 3 additions and 4 deletions

View File

@ -42,7 +42,6 @@ The player affected by the command dies and swaps to the other team.
Toggles whether the targeted player can move or not.
Note that this does not work during the prematch period.
Also, if you unfreeze a bot the bot has to die before he starts moving again.
| # | Argument | Mandatory |
|---|---|---|

View File

@ -48,7 +48,7 @@ ToggleFreeze(playerName)
}
else
{
DoFreeze(false);
player DoFreeze(false);
player notify("chat_commands_freeze_off");
}
}
@ -62,7 +62,7 @@ ThreadFreeze()
{
self waittill("spawned_player");
DoFreeze(true);
self DoFreeze(true);
}
}