SA-MP Forums Archive
[Ajuda] Mysql - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: Non-English (https://sampforum.blast.hk/forumdisplay.php?fid=9)
+--- Forum: Languages (https://sampforum.blast.hk/forumdisplay.php?fid=33)
+---- Forum: Português/Portuguese (https://sampforum.blast.hk/forumdisplay.php?fid=34)
+---- Thread: [Ajuda] Mysql (/showthread.php?tid=554918)



Mysql - WendeLKILL - 05.01.2015

Bom quando coloco o debug do mysql(mysql_debug(1)) ele apresenta esses seguintes warnings
Код:
C:\Users\Wendel\Desktop\Novo Projeto\pawno\Untitled.pwn(21) : warning 206: redundant test: constant expression is non-zero
C:\Users\Wendel\Desktop\Novo Projeto\pawno\Untitled.pwn(21) : warning 215: expression has no effect
oque poderia ser?


Re: Mysql - Skream - 05.01.2015

muda pra isso
pawn Код:
mysql_debug(1);



Re: Mysql - WendeLKILL - 05.01.2015

eu coloco isso '-'.
exemplo.
pawn Код:
public OnGameModeInit()
{
    mysql_debug(1);
    mysql = mysql_connect("localhost","meuservidor","gtaserver","123");
    // Don't use these lines if it's a filterscript
    //SetGameModeText("Blank Script");
    //AddPlayerClass(0, 1958.3783, 1343.1572, 15.3746, 269.1425, 0, 0, 0, 0, 0, 0);
    return 1;
}
e da o warning