[SOLVED]: Rename a file from cstrike_swedish
Im creating a small and easy autorenamer and I can't figure out how to find or rename files from the cstrike_swedish folder that some of the players are using.
Because rename_file starts in normal cstrike how do I find cstrike_swedish folder properly to rename a file? I have this code: PHP Code:
SOLVED: PHP Code:
PHP Code:
Thanks Hunter-Digital! |
Re: Rename a file from cstrike_swedish
You can't modify client files.
|
Re: Rename a file from cstrike_swedish
So it's impossible to rename a demo in cstrike_swedish when it's possible in cstrike? Why's that. :?
|
Re: Rename a file from cstrike_swedish
It's not possible at all to modify client-side files.
You can only rename server files. |
Re: Rename a file from cstrike_swedish
Its lan recording demos for kz.
|
Re: Rename a file from cstrike_swedish
Quote:
|
Re: Rename a file from cstrike_swedish
I think you guys get me wrong here, it is for recording on my own lan and im alone on the server and recording demos for myself (and it works perfectly on cstrike). My only question then is, is it impossible to retrieve a path to cstrike_swedish?
|
Re: Rename a file from cstrike_swedish
Quote:
|
Re: Rename a file from cstrike_swedish
Try 0 as the 3rd param on rename_file() and add the path before it... like so: "cstrike_swedish/demo.dem"
|
Re: Rename a file from cstrike_swedish
Quote:
|
| All times are GMT -4. The time now is 03:21. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.