MYSQL
#2

Open your server.cfg

Check the "plugins" line and add mysql.so
With the plugin, a file called a_mysql.inc is provided. Open your pawno folder, then the include folder which is inside and drop the a_mysql.inc file in the pawno\includes folder.
The includes provides you the natives functions of MySQL.

Here's the wiki of the functions (BlueG's plugin) : https://sampwiki.blast.hk/wiki/MySQL/R33

Don't forget to add this just under #include <a_samp>

PHP код:

#include <a_mysql> 
And you're ready to code !
Reply


Messages In This Thread
MYSQL - by cedizon - 26.05.2014, 11:57
Re : MYSQL - by S4t3K - 26.05.2014, 12:00
Re: MYSQL - by cedizon - 27.05.2014, 01:04
Re: MYSQL - by Sergei - 27.05.2014, 09:11

Forum Jump:


Users browsing this thread: 1 Guest(s)