splewis / get5

CS:GO Sourcemod plugin for competitive matches/scrims
GNU General Public License v3.0
556 stars 174 forks source link

Changing Prefix #30

Closed Michael-GG closed 8 years ago

Michael-GG commented 8 years ago

Problem has been solved

dechristopher commented 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.

dechristopher commented 8 years ago

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.

dechristopher commented 8 years ago

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!

splewis commented 8 years ago

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.

dechristopher commented 8 years ago

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.

dechristopher commented 8 years ago

It doesn't seem like you've installed the smjansson includes. Download this:

https://forums.alliedmods.net/attachment.php?s=fb7344680309a98bc7e19df1ec34512c&attachmentid=105506&d=1340554212

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.

RazSofer commented 8 years ago

Update the smjansso.inc, the one on AlliedModders isn't updated. Download it from here: https://github.com/thraaawn/SMJansson