Raised This Month: $51 Target: $400
 12% 

[TF2-specific] How would I write a plugin that runs commands on point capture?


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
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
 



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 19:58.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode