14.05.2009, 20:17
Hello.
I hate to use someone's scripts/includes, so I decided to write this include. OMFG, lack of words to me again
Functions:
native FileExists(fname[]);
native CreateFile(fname[]);
native RemoveFile(fname[]);
native CopyFile(fname[], newname[]);
native RenameFile(fname[], newname[]);
native GetStrFromFile(fname[], option[]);
native GetIntFromFile(fname[], option[]);
native GetFloatFromFile(fname[], option[]);
native GetBoolFromFile(fname[], option[]);
native GetPassword(fname[], option[], method[], array[], maxlength);
native CompareKSEMPasswords(fname[], option[], password[]);
native SetStrOption(fname[], option[], str[]);
native SetIntOption(fname[], option[], integer);
native SetFloatOption(fname[], option[], Float);
native SetBoolOption(fname[], option[], bool);
native SetPassword(fname[], option[], password[], method[]);
native UnsetOption(fname[], option[]);
native Write(fname[], str[]);
native Read(fname[], line);
native SaveToArray(fname[], line, array[], maxlength);
native ROT13(text[]);
native KEncrypt(text[]);
native KDecrypt(text[]);
native KSEM(text[]);
I don't know English well, so I don't know how to describe exactly this include.
PS - I love translator xD
DOWNLOAD - FILE-UPLOAD.NET
INCLUDE - PASTEBIN
TEST FILE - PASTEBIN
If you've got a problem, get TEST FILE (it is on first link).
-+UPDATE+- Version 0.1b
I forgot to add 'stock' before 'strcmp_ex'.
From now on when the operation on two files, check whether they have the same name.
Regards, K.
I hate to use someone's scripts/includes, so I decided to write this include. OMFG, lack of words to me again
Functions:
native FileExists(fname[]);
native CreateFile(fname[]);
native RemoveFile(fname[]);
native CopyFile(fname[], newname[]);
native RenameFile(fname[], newname[]);
native GetStrFromFile(fname[], option[]);
native GetIntFromFile(fname[], option[]);
native GetFloatFromFile(fname[], option[]);
native GetBoolFromFile(fname[], option[]);
native GetPassword(fname[], option[], method[], array[], maxlength);
native CompareKSEMPasswords(fname[], option[], password[]);
native SetStrOption(fname[], option[], str[]);
native SetIntOption(fname[], option[], integer);
native SetFloatOption(fname[], option[], Float);
native SetBoolOption(fname[], option[], bool);
native SetPassword(fname[], option[], password[], method[]);
native UnsetOption(fname[], option[]);
native Write(fname[], str[]);
native Read(fname[], line);
native SaveToArray(fname[], line, array[], maxlength);
native ROT13(text[]);
native KEncrypt(text[]);
native KDecrypt(text[]);
native KSEM(text[]);
I don't know English well, so I don't know how to describe exactly this include.
PS - I love translator xD
DOWNLOAD - FILE-UPLOAD.NET
INCLUDE - PASTEBIN
TEST FILE - PASTEBIN
If you've got a problem, get TEST FILE (it is on first link).
-+UPDATE+- Version 0.1b
I forgot to add 'stock' before 'strcmp_ex'.
From now on when the operation on two files, check whether they have the same name.
Regards, K.