SA-MP Forums Archive
Errors - 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: Errors (/showthread.php?tid=568399)



Errors - TheSnaKe - 21.03.2015

Hello there, am using this MySQL plugin https://sampforum.blast.hk/showthread.php?tid=122983 and my sscanf is updated already, but am still getting these errors.

Код:
[00:11:44]    Error: Function not registered: 'SSCANF_Init'
[00:11:44]    Error: Function not registered: 'SSCANF_Join'
[00:11:44]    Error: Function not registered: 'SSCANF_Leave'
[00:11:44]    Error: Function not registered: 'mysql_query'
[00:11:44]    Error: Function not registered: 'CreateDynamicObject'
[00:11:44]    Error: Function not registered: 'mysql_init'
[00:11:44]    Error: Function not registered: 'mysql_connect'
[00:11:44]    Error: Function not registered: 'mysql_store_result'
[00:11:44]    Error: Function not registered: 'mysql_num_rows'
[00:11:44]    Error: Function not registered: 'mysql_free_result'
[00:11:44]    Error: Function not registered: 'mysql_real_escape_string'
[00:11:44]    Error: Function not registered: 'mysql_fetch_field'
[00:11:44]    Error: Function not registered: 'sscanf'
[00:11:44]    Error: Function not registered: 'mysql_fetch_row'
[00:11:44]    Error: Function not registered: 'MoveDynamicObject'
[00:11:44]    Error: Function not registered: 'GetDynamicObjectPos'
[00:11:44]    Error: Function not registered: 'DestroyDynamicObject'



Re: Errors - mirou123 - 21.03.2015

Make sure you have the plugin in the plugins folder and libmysql.dll with samp-server.exe and make sure you added the plugin to your cfg file.


Re: Errors - TheSnaKe - 21.03.2015

Quote:
Originally Posted by mirou123
Посмотреть сообщение
Make sure you have the plugin in the plugins folder and libmysql.dll with samp-server.exe and make sure you added the plugin to your cfg file.
Yeah, i have the MySQL.dll in the plugins folder, i have the libmysql.dll in the server folder also i have the MySQL.dll in the server.cfg.


Re: Errors - mirou123 - 21.03.2015

Oh I see it's not just MySQL problem. Every single plugin you have is getting that error. Make sure you have
main()
{
}
in your gamemode.


Re: Errors - CalvinC - 21.03.2015

If you're using a linux server, you need to use .so plugins, make sure you're running windows.


Re: Errors - TheSnaKe - 21.03.2015

Quote:
Originally Posted by mirou123
Посмотреть сообщение
Oh I see it's not just MySQL problem. Every single plugin you have is getting that error. Make sure you have
main()
{
}
in your gamemode.
Still, getting the same errors, am so confused.

@ClavinC, yeah am using .dll already.


Re: Errors - Konstantinos - 21.03.2015

Just load the nativechecker plugin last (in order) and you'll get rid of the messages.


Re: Errors - TheSnaKe - 21.03.2015

Quote:
Originally Posted by Konstantinos
Посмотреть сообщение
Just load the nativechecker plugin last (in order) and you'll get rid of the messages.
Oh, it's working, thank you, also thanks for the guys above who tried to help