Raised This Month: $ Target: $400
 0% 

[SOLVED]: Rename a file from cstrike_swedish


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
fysiks
Veteran Member
Join Date: Sep 2007
Location: Flatland, USA
Old 08-06-2011 , 02:16   Re: Rename a file from cstrike_swedish
Reply With Quote #1

Quote:
Originally Posted by OFFBEAT View Post
Its lan recording demos for kz.
Doesn't matter. A plugin on the server cannot do it.
__________________
fysiks is offline
xPaw
Retired AMX Mod X Moderator
Join Date: Jul 2008
Old 08-06-2011 , 09:21   Re: Rename a file from cstrike_swedish
Reply With Quote #2

Quote:
Originally Posted by fysiks View Post
Doesn't matter. A plugin on the server cannot do it.
His plugin is for listenservers..
__________________
xPaw is offline
Hunter-Digital
Veteran Member
Join Date: Aug 2006
Location: In the Game [ro]
Old 08-06-2011 , 09:37   Re: Rename a file from cstrike_swedish
Reply With Quote #3

Try 0 as the 3rd param on rename_file() and add the path before it... like so: "cstrike_swedish/demo.dem"
__________________
Hunter-Digital is offline
OFFBEAT
Junior Member
Join Date: Feb 2011
Location: Sweden
Old 08-06-2011 , 19:32   Re: Rename a file from cstrike_swedish
Reply With Quote #4

Quote:
Originally Posted by Hunter-Digital View Post
Try 0 as the 3rd param on rename_file() and add the path before it... like so: "cstrike_swedish/demo.dem"
Didn't work
OFFBEAT is offline
Hunter-Digital
Veteran Member
Join Date: Aug 2006
Location: In the Game [ro]
Old 08-07-2011 , 08:37   Re: Rename a file from cstrike_swedish
Reply With Quote #5

Then I dunno... a function that can access server's main directory (where the executables are) is required for this, but I don't know any, maybe someone else does.

You could also try: "../cstrike_swedish/demo.dem" and leave 3rd param 0, but I don't think it will work.
__________________
Hunter-Digital is offline
Reply



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 03:21.


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