Help with strfind
#1

Sa-mp.com Hello, can you tell me how can I find out if a player uses the name that connects a clan tag?

I tried something but it does not work:
PHP код:
    new Cachedb mysql_query(mysql"SELECT * FROM `clans` ORDER BY `clans`.`ID` ASC");
     for (new 
icache_get_row_count (); != j; ++i)
    {
        if(
strfind(GetName(playerid), ClanInfo[i][cTag], true) != -1)
        {
            
SendClientMessageToAll(COLOR_RED"work!");
        }
    } 
Reply


Messages In This Thread
Help with strfind - by Edw - 19.08.2015, 15:07
Re: Help with strfind - by Edw - 19.08.2015, 15:26

Forum Jump:


Users browsing this thread: 1 Guest(s)