Check Ban CMD - Not working
#10

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;
}
Reply


Messages In This Thread
Check Ban CMD - Not working - by FunnyBear - 16.01.2016, 12:57
Re: Check Ban CMD - Not working - by Dejv - 16.01.2016, 13:04
Re: Check Ban CMD - Not working - by FunnyBear - 16.01.2016, 13:05
Re: Check Ban CMD - Not working - by FunnyBear - 16.01.2016, 15:57
Re: Check Ban CMD - Not working - by PrO.GameR - 16.01.2016, 16:44
Re: Check Ban CMD - Not working - by itsCody - 16.01.2016, 16:51
Re: Check Ban CMD - Not working - by iKarim - 16.01.2016, 17:01
Re: Check Ban CMD - Not working - by FunnyBear - 16.01.2016, 18:09
Re: Check Ban CMD - Not working - by itsCody - 16.01.2016, 18:14
Re: Check Ban CMD - Not working - by Eth - 16.01.2016, 18:15

Forum Jump:


Users browsing this thread: 2 Guest(s)