mirror of
https://github.com/brues-code/SuperCleveRoidMacros.git
synced 2026-09-16 03:38:00 +00:00
[swimming] via ClassicAPI IsSwimming; drop nampower 2.36 gate
Add ClassicAPI.IsSwimming wrapper and route [swimming]/[noswimming] and the swim/noswim aliases through it. Removes the Nampower v2.36 hasPlayerIsSwimming version gate and the "requires Nampower 2.36" warning (ClassicAPI's IsSwimming is always available). Same semantics.
This commit is contained in:
@@ -128,6 +128,11 @@ function API.IsStealthed()
|
||||
return IsStealthed()
|
||||
end
|
||||
|
||||
-- True if the player is currently swimming.
|
||||
function API.IsSwimming()
|
||||
return IsSwimming() and true or false
|
||||
end
|
||||
|
||||
--------------------------------------------------------------------------------
|
||||
-- NamePlate
|
||||
--------------------------------------------------------------------------------
|
||||
|
||||
Reference in New Issue
Block a user