SA-MP Forums

Go Back   SA-MP Forums > Non-English > Languages > Português/Portuguese

Reply
 
Thread Tools Display Modes
Old 05/01/2015, 06:38 PM   #1
WendeLKILL
Huge Clucker
 
Join Date: Feb 2014
Posts: 292
Reputation: 1
Default Mysql

Bom quando coloco o debug do mysql(mysql_debug(1)) ele apresenta esses seguintes warnings
Code:
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?
__________________
GameMode RPG MySQL/DOF2

Guerra total MySQL - Parado,sem tempo

Nada é impossível para aqueles que não desistem.
"Se você quer chegar a onde a maioria não chega, faça o que a maioria não faz."
By: Bill Gates
WendeLKILL is offline   Reply With Quote
Old 05/01/2015, 07:07 PM   #2
Skream
Banned
 
Join Date: Apr 2012
Posts: 225
Reputation: 64
Default Re: Mysql

muda pra isso
pawn Code:
mysql_debug(1);
Skream is offline   Reply With Quote
Old 05/01/2015, 07:19 PM   #3
WendeLKILL
Huge Clucker
 
Join Date: Feb 2014
Posts: 292
Reputation: 1
Default Re: Mysql

eu coloco isso '-'.
exemplo.
pawn Code:
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
__________________
GameMode RPG MySQL/DOF2

Guerra total MySQL - Parado,sem tempo

Nada é impossível para aqueles que não desistem.
"Se você quer chegar a onde a maioria não chega, faça o que a maioria não faz."
By: Bill Gates
WendeLKILL is offline   Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
MySQL Plugin r39-2 Error: Can't connect to local MySQL server through socket Emre__ Scripting Help 10 30/07/2014 08:26 AM
[Tutorial] [VIDEO] MySQL ORM r38: How to pair GM with MySQL & creation of registration/connection system cArnasLT Tutorials 3 19/05/2014 02:08 PM
BlueG MySQL plugin - Failed (plugins/mysql.so: undefined symbol: _Z13stringvprintfPKcPc) linuxthefish Plugin Development 10 13/07/2013 10:56 AM
[Tool/Web/Other] MySQL DB Manager - Easily manage your MySQL databases with this remote application fiki574 Tools and Files 13 22/07/2012 09:41 AM


All times are GMT. The time now is 10:14 AM.


Powered by vBulletin® Version 3.8.6
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.