Raised This Month: $ Target: $400
 0% 

Delete files


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
GoGoGo
Senior Member
Join Date: Apr 2008
Old 07-27-2008 , 03:38   Delete files
Reply With Quote #1

Hi,

Is it possible that amx will delete some file every some time ?
__________________
Aaaaaa!
GoGoGo is offline
Dr. Jan Itor
Veteran Member
Join Date: Mar 2008
Location: there.
Old 07-27-2008 , 05:10   Re: Delete files
Reply With Quote #2

yes.

Quote:
Originally Posted by file.inc
/* Deletes file. Function returns 1 on success, 0 on failure. */
delete_file(const file[]);
__________________
Dr. Jan Itor is offline
GoGoGo
Senior Member
Join Date: Apr 2008
Old 07-27-2008 , 07:14   Re: Delete files
Reply With Quote #3

Can you hrlp me? What shoud I do ? I can't find any solution to my problem.
__________________
Aaaaaa!
GoGoGo is offline
scrtxxcaz
Senior Member
Join Date: Feb 2007
Location: a place u cant find
Old 07-28-2008 , 01:08   Re: Delete files
Reply With Quote #4

this deletes a file

PHP Code:
delete_file(filename
__________________
Please leave your name when giving me any karma

Counter Strike Freeze Tag
Status: Testing.... (bugs)

Revised Registration
Status: In Progress
scrtxxcaz is offline
Send a message via AIM to scrtxxcaz
GoGoGo
Senior Member
Join Date: Apr 2008
Old 07-28-2008 , 02:33   Re: Delete files
Reply With Quote #5

Is it possible to delete for example map

delete_file(castike/maps/de_dust2.bsp)
?
__________________
Aaaaaa!
GoGoGo is offline
scrtxxcaz
Senior Member
Join Date: Feb 2007
Location: a place u cant find
Old 07-28-2008 , 02:45   Re: Delete files
Reply With Quote #6

Not sure I've never tried it. Either test it out yourself or wait until someone else answers your question.
__________________
Please leave your name when giving me any karma

Counter Strike Freeze Tag
Status: Testing.... (bugs)

Revised Registration
Status: In Progress
scrtxxcaz is offline
Send a message via AIM to scrtxxcaz
Exolent[jNr]
Veteran Member
Join Date: Feb 2007
Location: Tennessee
Old 07-28-2008 , 02:53   Re: Delete files
Reply With Quote #7

Code:
delete_file("maps/de_dust2.bsp");
__________________
No private work or selling mods.
Quote:
Originally Posted by xPaw View Post
I love you exolent!
Exolent[jNr] is offline
zwfgdlc
Senior Member
Join Date: May 2006
Old 07-28-2008 , 11:08   Re: Delete files
Reply With Quote #8

he mean is delete client file.
zwfgdlc 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 05:33.


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