Advertisement
BCVBruno

[Include] Protioso Gerenciamento de Dados (PGD) 1.3F2

Jul 9th, 2012
132
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.39 KB | None | 0 0
  1. / / Premium SAMP, parágrafo Tudo Seu Servidor SAMP, FS, a GM, e Muito Mais Inclui,
  2. / / Visite-nos: http://premium-samp.blogspot.com.br/
  3.  
  4. Funções nativas (natives):
  5.  
  6. - FILE
  7. pgd_CriarArquivo(nome_arquivo[]);
  8. pgd_ApagarArquivo(nome_arquivo[]);
  9. pgd_ArquivoExiste(nome_arquivo[]);
  10. pgd_EscreverStr(arquivo[], chave[], prefixo[2] = ":", valor[]);
  11. pgd_EscreverInt(arquivo[], chave[], prefixo[2] = ":", valor);
  12. pgd_EscreverFloat(arquivo[], chave[], prefixo[2] = ":", Float:valor);
  13. pgd_EscreverBool(arquivo[], chave[], prefixo[2] = ":", bool:valor);
  14. pgd_CarregarStr(arquivo[], chave[], prefixo[2] = ":");
  15. pgd_CarregarInt(arquivo[], chave[], prefixo[2] = ":");
  16. pgd_CarregarBool(arquivo[], chave[], prefixo[2] = ":");
  17. pgd_CarregarFloat(arquivo[], chave[], prefixo[2] = ":");
  18. pgd_ChaveExiste(arquivo[], chave[], prefixo[2] = ":");
  19. pgd_CopiarDados(arquivo_principal[], arquivo_destino[], bool:ad_a = true);
  20. pgd_MudarValor(arquivo[], linha, c_linha_nova[]);
  21. pgd_ApagarChave(arquivo[], chave[], prefixo[2] = ":");
  22. pgd_ApagarLinha(arquivo[], linha);
  23. pgd_EscreverArquivo(arquivo[], linha[], bool:comparar_igual = false);
  24. pgd_RenomearArquivo(nome_antigo[], novo_nome[]);
  25.  
  26. - SQLite
  27. pgd_SQLCriarDatabase(dbnome[]);
  28. pgd_SQLApagarDatabase(dbnome[]);
  29. pgd_SQLDatabaseExiste(dbnome[]);
  30. pgd_SQLCriarTabela(dbnome[], tabela_nome[], coluna[]);
  31. pgd_SQLLimparTabela(dbnome[], tabela_nome[]);
  32. pgd_SQLVerificarColuna(dbnome[], tabela_nome[], where[]);
  33. pgd_SQLInserirLivre(dbnome[], tabela_nome[], coluna_str[], dados[]);
  34. pgd_SQLInserirStr(dbnome[], tabela_nome[], coluna[], dados[]);
  35. pgd_SQLInserirInt(dbnome[], tabela_nome[], coluna[], dados);
  36. pgd_SQLInserirFloat(dbnome[], tabela_nome[], coluna[], Float:dados);
  37. pgd_SQLInserirBool(dbnome[], tabela_nome[], coluna[], bool:dados);
  38. pgd_SQLEscreverStr(dbnome[], tabela_nome[], coluna[], where[], dados[]);
  39. pgd_SQLEscreverInt(dbnome[], tabela_nome[], coluna[], where[], dados);
  40. pgd_SQLEscreverFloat(dbnome[], tabela_nome[], coluna[], where[], Float:dados);
  41. pgd_SQLEscreverBool(dbnome[], tabela_nome[], coluna[], where[], bool:dados);
  42. pgd_SQLCarregarStr(dbnome[], tabela[], coluna[], where[]);
  43. pgd_SQLCarregarInt(dbnome[], tabela[], coluna[], where[]);
  44. pgd_SQLCarregarBool(dbnome[], tabela[], coluna[], where[]);
  45. pgd_SQLCarregarFloat(dbnome[], tabela[], coluna[], where[]);
  46. pgd_SQLValorExiste(dbnome[], tabela[], coluna[], where[]);
  47. pgd_SQLApagarDados(dbnome[], tabela[], where[]);
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement