UNPKG

s2ts

Version:

A tool to automatically compile counter-strike TS files (.vts files)

6 lines (5 loc) 334 B
import { runServerCommand } from "./util"; export const addOutputByName = (entityName, output) => { const command = `ent_fire ${entityName} addoutput ${output.outputName}>${output.targetName}>${output.viaThisInput}>${output.parameter ?? ""}>${output.delay ?? ""}>${output.maxTimesToFire ?? ""}`; runServerCommand(command); };