28.06.2009, 21:08
pawn Код:
format(string,sizeof(string),"SELECT * FROM `table where the info stored` WHERE `number`='%d'",number);
samp_mysql_query(string);
samp_mysql_store_result();
whie(samp_mysql_fetch_row(query))
print("Number already exists.");
else print("Number doesn't exist.");