AllowSprint( <player sprint> )


Module: Player

Summary:

Sets whether the player can sprint



Call this on:

The player



Example:

level.player AllowSprint(false);



Required Args:

  • 1 : <player sprint>: A boolean. True if the player can sprint, and false otherwise