Help Changing this part of swear filter plugin
Hello I need to change this part of this swear filter. I only need to reaplace the '*' that appear when the bad word was type by only a "good word" instead the *.
Part of original code is: Code:
public swearcheck(id) Code:
{Code:
szSaid[pos++] = '*' |
Please its only one line that should be change. I want to replace the "*" by a fixed word that should be put in that line. I cant make it work.. I really need help.
|
client print have more arguments.
and i don't think you can add a whole word in one cell Code:
|
Thanks Black Rose, I include your modifications but when I compile I read warning 204: symbol is assigned a value that is never used: "pos" :cry:
Any ideas why this error? |
Because there's a variable called pos that is created but never used. If you want, Flash, you can just delete it and you won't have the warning, but it will only take out a miniscule amount of size in the file.
Replace: Code:
With: Code:
|
Quote:
|
yeah, post it.
|
Sorry, I didn't see that if statement with pos in it before. :x
|
Its an old but great plugin of SuicideDog
Code:
#include <amxmodx> |
Code:
|
| All times are GMT -4. The time now is 16:44. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.