mirror of
https://github.com/Resxt/Plutonium-IW5-Scripts.git
synced 2025-09-04 07:37:26 +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:
@@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user