[Help] Mysql r7 - 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: [Help] Mysql r7 (
/showthread.php?tid=501155)
[Help] Mysql r7 -
Zulletzz - 16.03.2014
Hey fellas. I downloaded furniture system, but I can't compile it.
Here's the reasons:
Код:
C:\Users\user\Desktop\furniture.pwn(237) : error 017: undefined symbol "mysql_format"
C:\Users\user\Desktop\furniture.pwn(238) : error 017: undefined symbol "mysql_function_query"
C:\Users\user\Desktop\furniture.pwn(253) : error 017: undefined symbol "foreach"
C:\Users\user\Desktop\furniture.pwn(253) : error 029: invalid expression, assumed zero
C:\Users\user\Desktop\furniture.pwn(253) : error 017: undefined symbol "p"
C:\Users\user\Desktop\furniture.pwn(253) : fatal error 107: too many error messages on one line
This system uses r7 plugin, and my gamemode uses r5. Tell me, please tell me, how will I convert r7 to r5, which functions should I replace with what.
Thanks.
Re: [Help] Mysql r7 -
Calabresi - 16.03.2014
I suggest you to learn using R7+, however, to convert this code, you'll need to replace "mysql_format" to "format" and manually escape the strings if they have any "%e" in them. And for mysql_function_query, you need to replace threaded queries with R5 system.
Re: [Help] Mysql r7 -
Zulletzz - 16.03.2014
I know you don't have times for idiots like me, but please, this system only has 700 lines, so can you do it for me? I'll put it in a Pastebin, and you just convert it to R5. Please man, I will owe you a big one, please.