mirror of
https://github.com/Resxt/Plutonium-IW5-Scripts.git
synced 2025-04-19 12:42:54 +00:00
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:
parent
ba97483c5d
commit
1c2222443e
@ -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 |
|
||||
|---|---|---|
|
||||
|
@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user