ts_weaponspawn
- Синтаксис
-
stock ts_weaponspawn(const weaponid[], const duration[], const extraclip[], const spawnflags[], const Float:Origin[3]) { new ent = create_entity("ts_groundweapon"); DispatchKeyValue(ent, "tsweaponid", weaponid); DispatchKeyValue(ent, "wduration", duration); DispatchKeyValue(ent, "wextraclip", extraclip); DispatchKeyValue(ent, "spawnflags", spawnflags); DispatchSpawn(ent); entity_set_origin(ent, Origin); return PLUGIN_HANDLED; }
Переменная | Описание |
---|---|
Нет агрументов |
- Описание
- Spawns a Weapon