1
0

16 lines
447 B
Markdown
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

Function: InLava(Spawn)
Description: Checks if the specified spawn is in lava. Similar to InWater, but specifically for lava volumes which might cause damage.
Parameters:
Spawn: Spawn The entity to check.
Returns: Boolean true if the spawn is currently in lava; false otherwise.
Example:
-- Example usage (tell the player they are standing in lava)
if InLava(Player) then
SendMessage(Player, "Feels toasty here..", "red")
end