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.
This documentation was generated automatically using pawn-docgen written by xPaw for AlliedMods.