native rename_file(const oldname[], const newname[], relative = 0);
oldname | New path to the file |
newname | Path to the existing file |
relative | If true, native will act like other natives which use the moddir as a base directory. Otherwise, the current directory is undefined (but assumed to be hlds). |
Renames a file.
1 on success, 0 otherwise
This documentation was generated automatically using pawn-docgen written by xPaw for AlliedMods.