![]() |
Swear Filter toggle
I'm just wondering, what's the best way to make a swear filter to turn it on and off?
I don't want a loop to run through each players chat - any suggestions? |
Clientside and onRemotePlayerChats()?
|
That doesn't work if players already have said something while you're not in the level
|
Quote:
|
not really a very good idea imo
thanks |
Quote:
|
Quote:
|
u can store the filtered chat in an attr and show that instead on player entry if u want to be retarded and not do what dusty said
|
Quote:
You guys are missing my point, I didn't want a loop. :( |
Quote:
if they're going to get offended by someone saying **** don't even give them the opportunity to complain it. no one else is going to complain because you didn't un-filter people saying **** either. |
i dont want a loop, boo hoo. who the **** gives a **** , if you dont want a loop use a shitty solution that wastes bandwidth instead of processing power.
if you cant afford a single loop when you change levels then you should evaluate how you're scripting your *** server |
Quote:
Is this better? x_x PHP Code:
|
Someone is completely missing the whole point of a loop...
Mind you the execution time will be fairly fast @andrew, we are talking about milliseconds depending on your filtering method. It wouldn't be infinite x-x |
**** swear filters!!
|
Quote:
|
| All times are GMT +2. The time now is 01:25 PM. |
Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2025, vBulletin Solutions Inc.
Copyright (C) 1998-2019 Toonslab All Rights Reserved.