containi() always seems to match
i have an ini file { minus the stars u know why there in there ) like so
f*ck|c*n8|nob|assh*le sh*t|dick|wan*a|bas*ard and the code i have is Code:
when i say hi there in game in say it kicks me and i get this from console debug Code:
Badwords so far are: f*ck | c*nt | w*nk*regards |
i think you need to do like so:
Code:
and shouldnt Code:
Code:
and he wouldn't even have time to se the first msg Code:
|
Quote:
i also tried the != -1 and that didnt make a difference also i put a none message in to the client while in game and it still kicked me and i do see the speak english please on this server before it kicks me any other ideas it would appear that it is ignoring the ini file loaded words array and just booting on any word including null string ? |
Code:
/* Checks if source contains string with case ignoring. On success functionCode:
|
Quote:
|
| All times are GMT -4. The time now is 20:25. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.