The reload command doesn't seem to work. It still prints out the same exact things as before I used it.
- See edit
Also, I added in {FF}. Here's the code I used.
Code:
if (StrContains(sBuffer, "{FF}")) {
new Handle:ffConVar, ffSetting, String:sFF[6];
ffConVar = FindConVar("mp_friendlyfire");
ffSetting = GetConVarInt(ffConVar);
switch (ffSetting) {
case 0:
Format(sFF, sizeof(sFF), "OFF");
case 1:
Format(sFF, sizeof(sFF), "ON");
}
ReplaceString(sBuffer, sizeof(sBuffer), "{FF}", sFF);
}
[edit]
Nevermind about the reload thing. I was saving the file to the wrong place like a fool.