zakarybk / fpsbooster

A Garry's Mod addon which allows you to create config files to run multiple sets of commands at once. Either when the script launches using the autorun feature, or manually.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

No autorun option to force commands to run.

zakarybk opened this issue · comments

commented

Background

So right now you can execute commands with fpsbooster_file run filename.txt and swap run to forcerun if the commands cannot be reverted to (cvars.String() returns nil).

Problem

However the default fpsbooster_autorun enable filename.txt uses run instead of forcerun so not all commands may be executed when the script starts.

Why the block is in place

The block is in place because the commands which are blocked cannot have their values read, so fpsbooster_revert will not be able to revert their values to what they were before.

Resolution

This could be resolved by adding a fpsbooster_autorun forceenable filename.txt command and adding a new file tag [forceautorun].