26.05.2014, 12:00
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>
And you're ready to code !
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>