Quote:
Originally Posted by Bugsy
Is it that hard to search your code? Replace every instance of it.
Code:
case LOG:
{
for(new i;i < sizeof replaceIcons;i++ )
{
replace_all(szMsg,charsmax (szMsg ),replaceIcons [i ], "")
}
log_amx(szMsg )
}
default:
{
new Players [32],iPlayersNum = 1,PlayerID
get_players(Players,iPlayersNum, "ch")
format(szMsg,charsmax(szMsg),"%s %s",Prefix,szMsg)
get_players(Players,iPlayersNum, "ch")
|
Here format should be used, not formatex because he is formatting in the same buffer from where he get values.
EFFX, really, test your plugin before releasing.
__________________