Strcmp problem
#1

Hi all I have a strange problem with the function strcmp. This is the error:
Quote:

error 035: argument type mismatch (argument 1)

And here is a function GetGroupOwner:
Quote:

stock GetGroupOwner(gid)
{
new query[128];
format(query, sizeof(query), "SELECT `Owner` FROM `FRL_Grupy` WHERE `UID` = '%d'", gid);
mysql_query(query);
mysql_store_result();
if(mysql_num_rows())return mysql_fetch_row_data();
mysql_free_result();
return false;
}

and this whole if strcmp
Quote:

if(!strcmp(GetGroupOwner(gid), PlayerName(playerid)))

Please help
Reply


Messages In This Thread
Strcmp problem - by LeNy - 30.12.2010, 23:55
Re: Strcmp problem - by _rAped - 30.12.2010, 23:57
Re: Strcmp problem - by [WF]Demon - 30.12.2010, 23:57
Re: Strcmp problem - by LeNy - 30.12.2010, 23:59
Re: Strcmp problem - by MrDeath537 - 31.12.2010, 00:01
Re: Strcmp problem - by LeNy - 31.12.2010, 00:02
Re: Strcmp problem - by _rAped - 31.12.2010, 00:10
Re: Strcmp problem - by LeNy - 31.12.2010, 00:14
Re: Strcmp problem - by veyron - 31.12.2010, 00:14
Re: Strcmp problem - by LeNy - 31.12.2010, 00:17

Forum Jump:


Users browsing this thread: 1 Guest(s)