Closed Michael-GG closed 8 years ago
You'd need to download the source, go into natives.sp in the get5 subfolder and change / remove the prefix in the first line.
When you edit the source files in the scripting folder (assuming you have the sources installed to a gameserver) you need to run spcomp.exe (or compile.exe I can't remember which) and then a new get5.smx will be compiled and placed in the compiled folder in the scripting directory. You can then grab the new get5.smx and place it into your sourcemod plugins directory and restart the CS server for the changes you made to take effect.
If you have SourceMod installed in a CS:GO server, go to the root folder of the server and navigate to the addons/sourcemod/scripting folder. In there, you'll need to make sure you place all of your edited source files from get5 if they're not already in there and then you'll need to run either compile.exe or spcomp.exe which will both be in that same folder. From there, you'll find the "compiled" folder which will contain a freshly compiled get5.smx which you'll place in your addons/sourcemod/plugins folder. Hope this helps!
Like it's been said, you have to edit the plugin and recompile it to do this.
I'm thinking about what I would change if I added a cvar to edit the prefix tag. I might do something like warmod does, where the plugin prints "powered by warmod" when matches start.
You need to download this file:
https://forums.alliedmods.net/attachment.php?attachmentid=119072&d=1367582350
And place it in the includes folder in the scripting folder. Get5 requires this extension (system2) to compile properly.
It doesn't seem like you've installed the smjansson includes. Download this:
Then navigate to the pawn/scripting/include directory in the zip file and extract the smjansson.inc file into the includes folder as well. And don't sweat it.
Update the smjansso.inc, the one on AlliedModders isn't updated. Download it from here: https://github.com/thraaawn/SMJansson
Problem has been solved