# SANDBOX:PlayerSpawnedSWEP

- **Ortam:** Sunucu
- **İngilizce aslı:** https://wiki.facepunch.com/gmod/SANDBOX:PlayerSpawnedSWEP
- **Çeviri tarihi:** 2025-10-10

```lua
SANDBOX:PlayerSpawnedSWEP( Player ply, Entity ent )
```

## Açıklama

Oyuncu, spawn menüsünden fare tekerleği tıklaması (orta fare tuşu) ile bir silah doğurduktan sonra çağrılır.

Bu tür doğurmaları engelleyebilecek bir hook için şuna bakın: [SANDBOX:PlayerSpawnSWEP](https://gmod.tr/wiki/SANDBOX:PlayerSpawnSWEP).
Sol fare tıklaması ile doğurmalar için şuna bakın: [SANDBOX:PlayerGiveSWEP](https://gmod.tr/wiki/SANDBOX:PlayerGiveSWEP).

## Argümanlar

1. [Player](https://gmod.tr/wiki/Player) **ply**: SWEP'i doğuran oyuncu
2. [Entity](https://gmod.tr/wiki/Entity) **ent**: SWEP'in kendisi

- [GMod Wiki ana sayfası](https://gmod.tr/wiki)

---

[Tüm sunucular](https://gmod.tr/) · [GmodTR Launcher](https://gmod.tr/launcher) · [Rehber](https://gmod.tr/rehber) · [GMod Wiki](https://gmod.tr/wiki) · [GmodTR nedir?](https://gmod.tr/hakkinda) · [Sunucu ekle](https://gmod.tr/sunucu-ekle) · [Discord](https://discord.gg/gmodtr)

Kaynak: https://gmod.tr/wiki/SANDBOX:PlayerSpawnedSWEP
