02.02.2010, 12:59
Code:
format(string2, sizeof(string2), "%s", mysql_store_result());
Try this:
Code:
mysql_log(1); mysql_connect("", "", "", "", 0); new string[256], data[256]; format(string, sizeof(string), "SELECT `user_pass` FROM `map_users` WHERE `user_nick`='%s'", PN(playerid)); mysql_query(string); mysql_store_result(); if(mysql_fetch_field("user_pass", data)) { SendClientMessage(playerid, ZOLTY, data); } else { SendClientMessage(playerid, ZOLTY, "B"); }