SA-MP Forums Archive
MySQL problem - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: MySQL problem (/showthread.php?tid=519060)



MySQL problem - mirou123 - 12.06.2014

I am trying to switch from YINI to MySQL so I downloaded the latest plugin and inclue from this link:
https://sampforum.blast.hk/showthread.php?tid=56564

But there are some functions that are not defined.
When I compile the script I get these errors:
Код:
D:\SAMP scripts\FuseGaming Roleplay\gamemodes\FGRP.pwn(9378) : error 017: undefined symbol "mysql_store_result"
D:\SAMP scripts\FuseGaming Roleplay\gamemodes\FGRP.pwn(9379) : error 017: undefined symbol "mysql_fetch_row_format"
D:\SAMP scripts\FuseGaming Roleplay\gamemodes\FGRP.pwn(9381) : error 017: undefined symbol "resultline"
D:\SAMP scripts\FuseGaming Roleplay\gamemodes\FGRP.pwn(9384) : error 017: undefined symbol "mysql_free_result"
I included a_mysql. And as I said before I have the latest files and everything is up to date.


Re: MySQL problem - nmader - 12.06.2014

The latest plugin doesn't have these natives, unfortunately. They use different natives and such...


Re : MySQL problem - mirou123 - 12.06.2014

Oh...Thanks.Do you know where I can find an updated documentation?


Re: MySQL problem - nmader - 12.06.2014

Well, you can check out here.

You can check out this guide too: https://sampforum.blast.hk/showthread.php?tid=337810


Re : MySQL problem - mirou123 - 12.06.2014

Yep thats what I was working based on. I think I will have to look through the include.