View Single Post
Beatles
Senior Member
Join Date: Feb 2014
Old 09-25-2022 , 17:45   Re: [L4D/L4D2] Anti Cvar Cheat
Reply With Quote #3

Quote:
Originally Posted by Silvers View Post
Some minor suggestions:

- .SMX should not be uploaded into post since it compiles on the forum.

- Suggest removing "[" and "]" from the filename.

- "BuildPath(Path_SM, path, 256" to "BuildPath(Path_SM, path, sizeof(path)"

- For the callbacks I would make the char variables "static char" so they're not re-created and zeroed each call.

- You can remove "public" for callbacks where you specify the name, only needs to be used from 3rd party forwards or forwards from SourceMod.

- Suggest adding a game-check to prevent using in other games than those it supports, using "APLRes AskPluginLoad2".
UPDATED [v1.1 | 25-Sep-2022]
Beatles is offline