View Single Post
Author Message
Nightfall_Neko
New Member
Join Date: Mar 2022
Location: NY, USA
Old 03-27-2022 , 15:46   [TF2-specific] How would I write a plugin that runs commands on point capture?
Reply With Quote #1

Hia, first post, just learning the language for these plugins and having some trouble digging into it unguided. I'm trying to be able to run create a script that makes the console run a command only once on capture of a point. Do I need to have it once per point (like an index of each point across cp_dustbowl) with an array or something? Or is there a cleaner way to do it?

As a point of reference, the command I wish to run is sm_addtime 600.
Nightfall_Neko is offline