Quick Start

For your script to be ran, it must be in "Counter-Strike Global Offensive\Plague\js"

If it won't show up, click "Reload Scripts" in the Scripts tab.

Callbacks

  • on_render - called once a frame

  • pre_prediction - called before prediction

  • post_prediction - called after prediction

  • ragebot_miss - when the ragebot misses

  • unload - when the script gets unloaded

  • "event_name" - add an event to register a callback for it

add_callback("on_render", "function_name"); 

Make your first script

Let's notify a user when they load the script.

var username = g_cheat.get_username( )
g_cheat.notify("Welcome to Script" + " " + username);

Last updated