[Ajuda] Erro mysql
#1

Do nada o erro abaixo comeзou, nгo sei por quer

PHP код:

public OnGameModeInit()
{
    
Conexao mysql_connect(hostusuariosenhadatabase);
    if(
mysql_errno() != 0) print("Nao foi possivel conectar na database MySQL"), SendRconCommand("exit");
    else print(
"Conectado com sucesso na database MySQL");
    
query[0] = EOS  // (98) : error 075: input line too long (after substitutions)
    
strcat(query"CREATE TABLE IF NOT EXISTS usuarios(ID int AUTO_INCREMENT PRIMARY KEY, Nick varchar(20) NOT NULL,Senha int(20) NOT NULL,Dinheiro int NOT NULL DEFAULT 5000, Nivel int NOT NULL DEFAULT 1,Skin int NOT NULL DEFAULT 299,Admin int NOT NULL DEFAULT 0,Morreu int NOT NULL DEFAULT 0,Matou int NOT NULL DEFAULT 0,PosX float NOT NULL DEFAULT 1958.3783,PosY float NOT NULL DEFAULT 1343.1572,PosZ float NOT NULL DEFAULT 15.3746,PosA float NOT NULL DEFAULT 269.1425,Interior int NOT NULL DEFAULT 0,Logou int NOT NULL DEFAULT 0,Email varchar(90) NOT NULL DEFAULT 0,IP varchar(15) NOT NULL DEFAULT 0)");
    
mysql_query(Conexaoqueryfalse);
    return 
1;

PHP код:
// error 037: invalid string (possibly non-terminated string)
// error 017: undefined symbol "CREATE" error 017: undefined symbol "TABLE" 
//fatal error 107: too many error messages on one line 
Reply
#2

PHP код:
query[0] = EOS
Reply
#3

Eu jб tentei isso sу que continuou
Reply
#4

Use esse compilador:
https://sampforum.blast.hk/showthread.php?tid=473595
Reply
#5

Obrigado dnv +rep.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)