[Ajuda] Erro no mysql
#1

Deu esses erros quando estava fazendo um sistema de salvamento.

pawn Код:
C:\Users\Marcelo\Desktop\samp03x_svr_R1-2_win32\gamemodes\Aprendendo.pwn(27) : error 017: undefined symbol "mysql_query"
C:\Users\Marcelo\Desktop\samp03x_svr_R1-2_win32\gamemodes\Aprendendo.pwn(49) : error 017: undefined symbol "mysql_query"
C:\Users\Marcelo\Desktop\samp03x_svr_R1-2_win32\gamemodes\Aprendendo.pwn(89) : error 017: undefined symbol "mysql_query"
C:\Users\Marcelo\Desktop\samp03x_svr_R1-2_win32\gamemodes\Aprendendo.pwn(149) : error 017: undefined symbol "mysql_query"
C:\Users\Marcelo\Desktop\samp03x_svr_R1-2_win32\gamemodes\Aprendendo.pwn(154) : error 049: invalid line continuation
C:\Users\Marcelo\Desktop\samp03x_svr_R1-2_win32\gamemodes\Aprendendo.pwn(171) : error 017: undefined symbol "mysql_query"
C:\Users\Marcelo\Desktop\samp03x_svr_R1-2_win32\gamemodes\Aprendendo.pwn(183) : error 017: undefined symbol "mysql_query"
Pawn compiler 3.2.3664          Copyright (c) 1997-2006, ITB CompuPhase


7 Errors.
Linha 27
pawn Код:
mysql_query("CREATE TABLE IF NOT EXISTS pinfo(user VARCHAR(24), password VARCHAR(40), score INT(20), dinheiro INT(20), IP VARCHAR(16) )");
No resto da linha dos erros estб isso
pawn Код:
mysql_query(query);
A include jб estб no GM
Reply
#2

Se esta usando a versгo R7 deve usar

pawn Код:
mysql_function_query( connectionHandle, query[], bool:cache, callback[], format[], {Float,_}:... );
Reply
#3

obrigado
Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)