Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- new filename[24];
- new File:users;
- format(filename, 24, "irc_accounts/%s.txt", user);
- if (!fexist(filename))
- {
- users = fopen(filename, io_write);
- }
- else
- {
- users = fopen(filename, io_append);
- if (users)
- {
- new string[128];
- format(string,sizeof(string),"Name: %s Pass: %s",user,param);
- fwrite(users, string);
- fwrite(users, "\r\n");
- fclose(users)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement