Signature
native rename_file(const oldname[], const newname[], relative = 0);
Description
Renames a file.
Parameters
- 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).
Returns
1 on success, 0 otherwise