Hooks called by Auto Walk

Summary

Hooks

Asks whether a player may toggle auto walk.

Hooks

CanPlayerAutoWalk(actor)

server plugins/sh_autowalk.lua:39

Asks whether a player may toggle auto walk. Called on the server when the player runs the toggleautowalk command, for turning it off as well as on.

Parameters

  • actor Player The player who wants to toggle auto walk

Returns

  • Boolean Return false to prevent the toggle

Call sites

Defined in