# SANDBOX:PlayerSpawnProp

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

```lua
boolean SANDBOX:PlayerSpawnProp( Player ply, string model )
```

## Açıklama

Bir oyuncu Q menüsünden bir prop oluşturmaya çalıştığında çağrılır.

## Argümanlar

1. [Player](https://gmod.tr/wiki/Player) **ply**: Prop oluşturmaya çalışan oyuncu.
2. [string](https://gmod.tr/wiki/string) **model**: Oyuncunun oluşturmaya çalıştığı prop'un modelinin yolu.

## Döndürülen Değer

1. [boolean](https://gmod.tr/wiki/boolean): Oyuncunun prop'u oluşturup oluşturamayacağı.

### Örnek

Admin olmayanların prop oluşturmasını engeller.

```lua
function GM:PlayerSpawnProp( ply, model )
	if ( !ply:IsAdmin() ) then
		return false
	end
end
```

- [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:PlayerSpawnProp
