SA-MP Forums Archive
Does natives are needed for SQLite? - 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: Does natives are needed for SQLite? (/showthread.php?tid=630884)



Does natives are needed for SQLite? - RyderX - 19.03.2017

PHP код:
native WP_Hash(buffer[], len, const str[]);
native db_get_field_int(DBResult:resultfield 0);
native Float:db_get_field_float(DBResult:resultfield 0);
native db_get_field_assoc_int(DBResult:result, const field[]);
native Float:db_get_field_assoc_float(DBResult:result, const field[]);
native db_get_mem_handle(DB:db);
native db_get_result_mem_handle(DBResult:result);
native db_debug_openfiles();
native db_debug_openresults(); 
those natives are needed to compile a system using SQLite?


Re: Does natives are needed for SQLite? - Freaksken - 19.03.2017

WP_hash is from the Whirpool plugin.
All others are indeed from SQLite and are natively supported by samp (when you use #include<a_samp>).