[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:
Brues
2026-06-21 02:17:19 -05:00
parent 416a716d8c
commit a220dbd003
2 changed files with 10 additions and 33 deletions
+5
View File
@@ -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
--------------------------------------------------------------------------------