Advertisement
Guest User

a_sampdb

a guest
Aug 11th, 2012
64
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Pawn 0.66 KB | None | 0 0
  1.  /*  SA-MP Native SQLite Database Functions
  2.  *
  3.  *  (c) Copyright 2007, SA-MP Team
  4.  *
  5.  */
  6.  
  7. #if defined _sampdb_included
  8.     #endinput
  9. #endif
  10. #define _sampdb_included
  11. #pragma library sampdb
  12.  
  13. native DB:db_open(name[]);
  14. native db_close(DB:db);
  15. native DBResult:db_query(DB:db,query[]);
  16. native db_free_result(DBResult:dbresult);
  17. native db_num_rows(DBResult:dbresult);
  18. native db_next_row(DBResult:dbresult);
  19. native db_num_fields(DBResult:dbresult);
  20. native db_field_name(DBResult:dbresult, field, result[], maxlength);
  21. native db_get_field(DBResult:dbresult, field, result[], maxlength);
  22. native db_get_field_assoc(DBResult:dbresult, const field[], result[], maxlength);
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement