strfind error ?
Check for IP:PORT server in nickname:
Code:
public xfindip( const szIPPort[] ) |
Re: strfind error ?
try contain , containi
EDIT : if (strfind(szIPPort,"27015") != -1) |
Re: strfind error ?
just use containi
|
Re: strfind error ?
containi() does the same as strfind() except it's case insensitive, which doesn't matter for numbers.
They both return -1 when the string isn't found so Learnings recommendation will work. |
Re: strfind error ?
Better solution don't allow using more than 2 digits in the names also deny non alphabet characters...
|
| All times are GMT -4. The time now is 02:52. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.