get_example
Retrieve the full source of a Valve-written example script for CS2 or Deadlock so you can adapt verified coding patterns in your own mods.
Instructions
Get the full source of an example script. Prefer adapting these Valve-written patterns.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| game | No | Game id: one of cs2, deadlock | cs2 |
| name | Yes | Example name, e.g. 'trace.js' or 'cs_script/trace.js' |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| api | Yes | ||
| name | Yes | ||
| path | Yes | ||
| origin | Yes | ||
| content | No | ||
| description | No |