msqyl error
#6

PHP код:
forward OnCheckTagType(TagName[]);
stock MySQLCheckTagTagName[] ) {
    new 
iQuery[128];
    
mysql_format(iQuerysizeof(iQuery), "SELECT `ID` FROM `Clans` WHERE `ClanTAG` = '%e'"TagName);
    
mysql_tquery(handleiQuery"OnCheckTagType""s"TagName);
}
public 
OnCheckTagType(TagName[]) {
    new 
rowsfields;
    
cache_get_data(rowsfieldshandle);
    if(
rows) {
        new 
strid[5], intid;
        
cache_get_field_content(0"ID"stridhandle); intid strval(strid);
    } else {
        return 
0;
    }
    return 
1;

If your using R33+
Reply


Messages In This Thread
msqyl error - by Jimmi - 29.05.2016, 09:50
Re: msqyl error - by luke49 - 29.05.2016, 10:01
Re: msqyl error - by Jimmi - 29.05.2016, 10:03
Re: msqyl error - by luke49 - 29.05.2016, 10:10
Re: msqyl error - by Jimmi - 29.05.2016, 10:10
Re: msqyl error - by d3ll - 29.05.2016, 10:12
Re: msqyl error - by luke49 - 29.05.2016, 10:14
Re: msqyl error - by DRIFT_HUNTER - 29.05.2016, 11:57

Forum Jump:


Users browsing this thread: 1 Guest(s)