MySQL errors
#1

pawn Code:
mysql_query("SELECT * FROM players");
    mysql_store_result();
    new accounts = mysql_num_rows();
    mysql_free_result();
    new baralog;
    format(baralog, sizeof(baralog),"Total accounts: %d",accounts);
    logintd0 = TextDrawCreate(303.000000,437.000000,baralog);
    TextDrawBackgroundColor(logintd0,0x000000ff);
    TextDrawFont(logintd0,1);
    TextDrawLetterSize(logintd0,0.399999,1.000000);
    TextDrawColor(logintd0,0xffffffff);
    TextDrawAlignment(logintd0,2);
    TextDrawSetOutline(logintd0,1);
    TextDrawSetProportional(logintd0,1);
    TextDrawSetShadow(logintd0,1);
Code:
bzone.pwn(6) : error 035: argument type mismatch (argument 1)
bzone.pwn(6) : error 035: argument type mismatch (argument 1)
bzone.pwn(7) : error 035: argument type mismatch (argument 3)
bzone.pwn(5) : warning 203: symbol is never used: "baralog"
Reply


Messages In This Thread
MySQL errors - by cotyzor - 03.11.2012, 18:45
Re: MySQL errors - by InfiniTy. - 03.11.2012, 18:56

Forum Jump:


Users browsing this thread: 1 Guest(s)