16.01.2016, 18:15
pawn Код:
CMD:baninfo(playerid, params[])
{
new name[25];
if(sscanf(params, "s[25]", name ))return SendUsageError(playerid, "/baninfo [Name]");
new query[128];
mysql_format(mysql, query, sizeof(query), "SELECT * FROM `BanTable` WHERE Name = '%e'", name);
mysql_tquery(mysql, query, "BanInfo", "s", name);
return 1;
}