Files

23 lines
654 B
Markdown
Raw Permalink 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.
# Darklord.js — stopToz() (satır 2840)
[← Darklord.js](index.md) · [← Master](../../wiki.md)
```javascript
function stopToz(c, p, announce)
{
var name = p.getName();
setTozActive(name, false);
setServerVanish(c, p, false);
setInvisibleSafe(p, false);
removePotionSafe(p, "invisibility");
removePotionSafe(p, "minecraft:invisibility");
restoreFlightSnapshot(p);
restoreTozPacketsToAll(c, p);
var pos = p.getPosition();
play(p.getWorld(), "minecraft:block.fire.extinguish", pos.x, pos.y + 1.0, pos.z, 0.9, 0.7);
if (announce) p.send(TAG + "\u00a77Toz formu kapandi.");
}
```