Files

44 lines
1.3 KiB
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.
# HologramMenu.js — tiklandi() (satır 270)
[← HologramMenu.js](index.md) · [← Master](../../wiki.md)
```javascript
function tiklandi(c, player, idx)
{
if (idx === 0) // Company Lockdown
{
player.closeUI();
c.executeCommand("mp event trigger " + player.getName() + " LockDown");
player.send("§c§l[E.N.S.] COMPANY LOCKDOWN aktif!");
}
else if (idx === 1) // Activate Shield
{
player.closeUI();
kalkanAktifEt(c, player);
}
else if (idx === 2) // Call Guard
{
player.closeUI();
c.executeCommand("mp event trigger " + player.getName() + " CallGuard");
player.send("§b§l[E.N.S.] Güvenlik birimleri çağrıldı!");
}
else if (idx === 3) // Company Unlockdown
{
player.closeUI();
c.executeCommand("mp event trigger " + player.getName() + " UnLockDown");
player.send("§a§l[E.N.S.] LOCKDOWN kaldırıldı!");
}
else if (idx === 4) // Deactivate Shield
{
player.closeUI();
kalkanKapat(c, player);
}
else if (idx === 5) // Uncall Guard
{
player.closeUI();
c.executeCommand("mp event trigger " + player.getName() + " UnCallGuard");
player.send("§7§l[E.N.S.] Güvenlik birimleri geri çekildi!");
}
}
```