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

Solved [TF2] Need help re-creating sv_cheats "bot" command


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Author Message
blacktr4sh
Junior Member
Join Date: Apr 2020
Old 08-04-2020 , 03:08   [TF2] Need help re-creating sv_cheats "bot" command
Reply With Quote #1

Hello, I am trying to re-create most cheat commands so that they can be used without having to set sv_cheats to 1 and disabling achievements. Removing FCVAR_NOTIFY and FCVAR_REPLICATED from sv_cheats and toggling it will still disable achievements.

I am currently having trouble with the "bot" command. It uses "-team" or "-name" etc to determine the value for the argument and I am unsure on how to do that with SourcePawn.
So far I have this CommandListener:

If anyone can help or know an easier way, I would appreciate it. Thanks.

Last edited by blacktr4sh; 08-04-2020 at 17:37.
blacktr4sh 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 18:35.


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