Raised This Month: $ Target: $400
 0% 

How to rename a file ? rename_file isn't working?


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Author Message
byetovice
Senior Member
Join Date: Nov 2009
Location: Turkey
Old 06-14-2011 , 18:48   How to rename a file ? rename_file isn't working?
Reply With Quote #1

Code:
public plugin_init() {
	register_plugin(PLUGIN, VERSION, AUTHOR)
	new oldfile[] = "addons/amxmodx/abc.ini"
	new newfile[] = "addons/amxmodx/xyz.ini"
	rename_file(oldfile, newfile)
}
Help me, its not working. Why ?
__________________
Working on mods..
byetovice is offline
 



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 23:32.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode