DiogoB

[Pawn] INI_CREATE

Jan 31st, 2012
110
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Pawn 0.25 KB | None | 0 0
  1. stock INI_Create(filename[])
  2. {
  3.     if(INI_Exist(filename)) return printf("Erro ao criar o arquivo '%s'. O arquivo já existe.");
  4.  
  5.     new
  6.         File:MeuArquivo;
  7.  
  8.     MeuArquivo = fopen(filename, io_write);
  9.     fclose(MeuArquivo);
  10.     return 0x1;
  11. }
Advertisement
Add Comment
Please, Sign In to add comment