ns_unstick_player
- Синтаксис
-
native ns_unstick_player(id, StartDistance=32, MaxAttempts=128);
Переменная | Описание |
---|---|
id |
Player to unstick. |
StartDistance |
Distance to start from the player to check for a new location. |
MaxAttempts |
How many attempts to try to find a new spot before giving up. |
- Описание
- Attempts to unstick a player.
- Возвращает
- 1 on success, 0 on cannot find a place to move player to, -1 on invalid state (stunned/webbed), -2 on invalid class (comm/egg) -3 if the player is dead or a spectator, -4 on invalid player, -5 if the player is not connected.