Problems with mysql
#1

Код:
SA-MP Dedicated Server
----------------------
v0.3x, ©2005-2013 SA-MP Team

[18:20:09] hostname = "SA:MP Server"  (string)
[18:20:09] 
[18:20:09] Server Plugins
[18:20:09] --------------
[18:20:09]  Loading plugin: mysql
[18:20:09] 

  > MySQL plugin R7 successfully loaded.

[18:20:09]   Loaded.
[18:20:09]  Loading plugin: regex
[18:20:09] 


[18:20:09] ______________________________________


[18:20:09]  Regular Expression Plugin v0.2.1 loaded
[18:20:09] ______________________________________


[18:20:09]  By: Fro © Copyright <TBG> 2009-2011
[18:20:09] ______________________________________


[18:20:09]   Loaded.
[18:20:09]  Loading plugin: sscanf
[18:20:09] 

[18:20:09]  ===============================

[18:20:09]       sscanf plugin loaded.     

[18:20:09]          Version:  2.8.1        

[18:20:09]    © 2012 Alex "******" Cole  

[18:20:09]  ===============================

[18:20:09]   Loaded.
[18:20:09]  Loading plugin: streamer
[18:20:09] 

*** Streamer Plugin v2.5.2 by Incognito loaded ***

[18:20:09]   Loaded.
[18:20:09]  Loading plugin: nativechecker
[18:20:09]   Loaded.
[18:20:09]  Loaded 5 plugins.

[18:20:09] 
[18:20:09] Ban list
[18:20:09] --------
[18:20:09]  Loaded: samp.ban
[18:20:09] 
[18:20:09] 
[18:20:09] Filterscripts
[18:20:09] ---------------
[18:20:09]   Loading filterscript 'gl_actions.amx'...
[18:20:09]   Loaded 1 filterscripts.

[18:20:09]    Error: Function not registered: 'mysql_query'
[18:20:09] Script[gamemodes/new.amx]: Run time error 19: "File or function is not found"
[18:20:09] Number of vehicle models: 0
I am having problem with this. I was using mysql (BlueG) R7 but it gives this error. I heard that the new function is mysql_function_query but i dont know how to use it. I tried to use R34 but it gives more errors. I tried to use R5 and R6 but it crashes the server when i log in ; "Connected to the server".

__________________________________________________ __________

mysql_query(Que)

mysql_query(string)

mysql_query(string2)

mysql_query(query)

mysql_query(SQL_QUERY)

mysql_query(strlx)

mysql_query(Query)

mysql_query("SELECT * FROM `Labels`");

mysql_query("SELECT * FROM `Vehicles`");

mysql_query("SELECT NULL FROM House");

mysql_query(_Query)

__________________________________________

how to change it to mysql_function_query?
BTW im using LVGW : https://sampforum.blast.hk/showthread.php?tid=305615
Please help me guys. Im not good in mysql :/

P/S : my first post!
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)