Skip to main content

Examples

A collection of cs_script examples showcased by Valve in the script_zoo map at Counter-Strike Global Offensive\content\csgo_addons\cs_script_demo.

In this section

  • Hello - A simple Hello World script.
  • Testing Setup - A script which sets up a testing environment with infinite round time, and showcases the OnBeforePlayerDamage event.
  • Model Change - A showcase of setting models on entities, and changing size and glow.
  • Grenade Training - A training course for throwing grenades.
  • Traces - A script showcasing tracing lines, spheres, boxes and bullets.
  • Chess - A script showcasing a real time chess engine.
  • Input - A script showcasing player input listening and registering a custom console command.