18.07.2015, 23:42
PHP код:
CMD:yourcommand(playerid, params[])
{
new query[128];
format(query, sizeof(query), "SELECT * from tableName");
mysql_query(1, query);
new rows = cache_get_row_count();
if(rows == 0)
{
SendClientMessage(playerid, -1, "Nothing Found!");
}
return 1;
}