30.12.2010, 23:55
Hi all I have a strange problem with the function strcmp. This is the error:
And here is a function GetGroupOwner:
and this whole if strcmp
Please help
Quote:
error 035: argument type mismatch (argument 1) |
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; } |
Quote:
if(!strcmp(GetGroupOwner(gid), PlayerName(playerid))) |