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
#2

resolved
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)