19.08.2015, 15:07
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:
I tried something but it does not work:
PHP код:
new Cache: db = mysql_query(mysql, "SELECT * FROM `clans` ORDER BY `clans`.`ID` ASC");
for (new i, j = cache_get_row_count (); i != j; ++i)
{
if(strfind(GetName(playerid), ClanInfo[i][cTag], true) != -1)
{
SendClientMessageToAll(COLOR_RED, "work!");
}
}