Errors :S
#1

I started using this include:
https://sampforum.blast.hk/showthread.php?tid=337705
And I'm trying to compile it gives me these errors:
pawn Код:
C:\Users\аод\Desktop\Server2\pawno\include\clan.inc(41) : error 017: undefined symbol "mysql_query"
C:\Users\аод\Desktop\Server2\pawno\include\clan.inc(42) : error 017: undefined symbol "mysql_query"
C:\Users\аод\Desktop\Server2\pawno\include\clan.inc(59) : error 017: undefined symbol "mysql_query"
C:\Users\аод\Desktop\Server2\pawno\include\clan.inc(67) : error 017: undefined symbol "mysql_query"
C:\Users\аод\Desktop\Server2\pawno\include\clan.inc(75) : error 017: undefined symbol "mysql_query"
C:\Users\аод\Desktop\Server2\pawno\include\clan.inc(304) : error 017: undefined symbol "old_weap1"
C:\Users\аод\Desktop\Server2\pawno\include\clan.inc(353) : error 017: undefined symbol "mysql_query"
C:\Users\аод\Desktop\Server2\pawno\include\clan.inc(382) : error 017: undefined symbol "mysql_query"
Pawn compiler 3.2.3664          Copyright (c) 1997-2006, ITB CompuPhase


8 Errors.
And i have this includes in the top of the FS
pawn Код:
#include <a_samp>
#include <DOF2>
#include <sscanf2>
#include <AntiC>
#include <clan>
#include <a_mysql2>
Help Please !
Reply
#2

You're using non-thread script and the latest version of MySQL doesn't support that.
Quote:
Originally Posted by BlueG
Please note; R7 works only for threaded scripts!
pawn Код:
// Usage:
mysql_function_query( connectionHandle, query[], bool:cache, callback[], format[], {Float,_}:... )
Reply
#3

Quote:
Originally Posted by Dwane
Посмотреть сообщение
You're using non-thread script and the latest version of MySQL doesn't support that.


pawn Код:
// Usage:
mysql_function_query( connectionHandle, query[], bool:cache, callback[], format[], {Float,_}:... )
Okay, but how do I fix it ?
Use R6?
Reply
#4

There are two ways; either by using R6 or by using R7 with threaded scripts (You'll need to change the whole script). It's your decision, so pick up one!
Reply
#5

Lol use Samp mysql And will Work Properly
Reply
#6

Quote:
Originally Posted by Dwane
Посмотреть сообщение
There are two ways; either by using R6 or by using R7 with threaded scripts (You'll need to change the whole script). It's your decision, so pick up one!
Ok i downloaded the R6 and it's work !!
but i have a one erroe now :S
error 017: undefined symbol "old_weap1"
please help !
Quote:
Originally Posted by windrush
Посмотреть сообщение
Lol use Samp mysql And will Work Properly
What ?
Reply
#7

Show me the line, you need to define that variable.

@windrush, the most people here use BlueG's MySQL.
Reply
#8

Quote:
Originally Posted by Dwane
Посмотреть сообщение
Show me the line, you need to define that variable.

@windrush, the most people here use BlueG's MySQL.
line (in include):
pawn Код:
stock ChangeClanWeapons(playerid, new_weap1 = old_weap1, new_weap2 = old_weap2, new_weap3 = old_weap3)
error:
pawn Код:
C:\Users\аод\Desktop\Server2\pawno\include\clan.inc(304) : error 017: undefined symbol "old_weap1"
Pawn compiler 3.2.3664          Copyright (c) 1997-2006, ITB CompuPhase


1 Error.
Reply
#9

Do you use [Include] clan.inc -> Easy-to-use, plug-n-play clan system by fiki574_CRO?
Because, if you do, it's already a native and you don't need to make a custom function.
Reply
#10

Quote:
Originally Posted by Dwane
Посмотреть сообщение
Do you use [Include] clan.inc -> Easy-to-use, plug-n-play clan system by fiki574_CRO?
Because, if you do, it's already a native and you don't need to make a custom function.
I did not understand you :/
i need delete the stock ?
Reply


Forum Jump:


Users browsing this thread: 11 Guest(s)