Advertisement
Guest User

Untitled

a guest
Nov 1st, 2016
33
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Pawn 0.38 KB | None | 0 0
  1. #include <a_samp>
  2.  
  3. public OnFilterScriptInit()
  4. {
  5.     new File:in = fopen("sampgdk-master.zip", io_read);
  6.     new File:out = fopen("sampgdk-master_copy.zip", io_write);
  7.     new ch = 0, len = 0;
  8.     while ((ch = fgetchar(in, 0, false)) != EOF) {
  9.         //printf("%i", ch);
  10.         fputchar(out, ch & 255, false);
  11.         len++;
  12.     }
  13.     printf("%i", len);
  14.     fclose(in);
  15.     fclose(out);
  16.     return 1;
  17. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement