UnfreezePlayer: Difference between revisions
Jump to navigation
Jump to search
Automatyczna aktualizacja dokumentacji funkcji |
Complete Lua function catalog |
||
| Line 28: | Line 28: | ||
* This is the counterpart of <code>freezePlayer</code>. | * This is the counterpart of <code>freezePlayer</code>. | ||
[[Category:Lua Functions]] | |||
[[Category:Server Functions]] | [[Category:Server Functions]] | ||
[[Category:Player Functions]] | [[Category:Player Functions]] | ||
[[Category:Spatial Functions]] | [[Category:Spatial Functions]] | ||
Latest revision as of 09:56, 15 August 2026
unfreezePlayer
Re-enables movement for a player previously frozen by a server resource.
Syntax
bool unfreezePlayer(int playerId)
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
playerId |
int |
yes | The connected player identifier. |
Returns
Returns true when the authoritative unfreeze request is accepted; otherwise returns false.
Examples
Release a frozen player:
unfreezePlayer(playerId)
Notes
- Available only in server-side resource scripts.
- This is the counterpart of
freezePlayer.