It is saving the steams-id but the rcon command doesnt work, the !enablesavesteamid works.
And to enable its 0 and to disable its 1, i guess this is strange but not a real problem.
Errors when try to do it by rcon:
sm_enablesavesteamid
L 03/08/2020 - 19
0
7: [SM] Exception reported: Invalid client index 0
L 03/08/2020 - 19
0
7: [SM] Blaming: SavesSteamID.smx
L 03/08/2020 - 19
0
7: [SM] Call stack trace:
L 03/08/2020 - 19
0
7: [SM] [0] ThrowError
L 03/08/2020 - 19
0
7: [SM] [1] Line 40, D:\Archivos\Plugins\include\morecolors.inc::C PrintToChat
L 03/08/2020 - 19
0
7: [SM] [2] Line 57, D:\Archivos\Plugins\SavesSteamID.sp::SavesSte amId
Other error line:
console command (cmdline "sm_enablesavesteamid 1")
L 03/08/2020 - 19
2:42: [SM] Exception reported: Invalid client index 0
L 03/08/2020 - 19
2:42: [SM] Blaming: SavesSteamID.smx
L 03/08/2020 - 19
2:42: [SM] Call stack trace:
L 03/08/2020 - 19
2:42: [SM] [0] ThrowError
L 03/08/2020 - 19
2:42: [SM] [1] Line 40, D:\Archivos\Plugins\include\morecolors.inc::C PrintToChat
L 03/08/2020 - 19
2:42: [SM] [2] Line 57, D:\Archivos\Plugins\SavesSteamID.sp::SavesSte amId
L 03/08/2020 - 19
2:42: [SM] [4] ServerCommandEx
L 03/08/2020 - 19
2:42: [SM] [5] Line 402, D:\builds\build-sourcemod-msvc12\windows-1.10\build\plugins\basecommands.sp::Command_R con
And please, if you can, make it save with the name of the map, the hour and the second, because i will use it many times in the day, and i need to separate the steam-ids in more specific files