-
Notifications
You must be signed in to change notification settings - Fork 4
Helpers
lnx00 edited this page Jun 6, 2023
·
4 revisions
Various utilities to do what the Lmaobox API doesn't.
-
.WalkTo(userCmd, localPlayer, destination)
Walks to the given destination. You need to call this during CreateMove until you reached the destination. -
.CanShoot(weapon)
Returns if the weapon can shoot right now. -
.VisPos(target, from, to)
Returns if the player is visible. -
.GetBBox(player)
Returns the bounding box of the given WPlayer as a table{x, y, w, h}
.