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=623959)



Mysql - OtimoJogo - 08.12.2016

Como pegar o valor de uma coluna INT e colocar esse valor em uma variavel


Re: Mysql - F1N4L - 08.12.2016

Qual versгo do MySQL? R33++ ou R40++?


Re: Mysql - OtimoJogo - 08.12.2016

Eu to usando o R40++, ja consegui, mais se vc soube de um jeito ai fala que pode mim ajuda a otimizar o codigo


Re: Mysql - F1N4L - 08.12.2016

Код:
cache_get_value_name_int(LINHA, "COLUNA", VARIAVEL_INT_DESTINO);



Re: Mysql - OtimoJogo - 09.12.2016

O Compilador retornou
Код:
undefined symbol "cache_get_value_name_int"



Re: Mysql - F1N4L - 09.12.2016

Entгo, provavelmente, sua versгo й R33++
Код:
new int_dest = cache_get_row_int(LINHA, INDEX);



Re: Mysql - OtimoJogo - 09.12.2016

Continuar a da erro, mais ja consegui o jeito usado o
Код:
cache_get_field_content(row, const field_name[], dest[])