View Single Post
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