AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Scripting Help (https://forums.alliedmods.net/forumdisplay.php?f=11)
-   -   Delete files (https://forums.alliedmods.net/showthread.php?t=74914)

GoGoGo 07-27-2008 03:38

Delete files
 
Hi,

Is it possible that amx will delete some file every some time ?

Dr. Jan Itor 07-27-2008 05:10

Re: Delete files
 
yes.

Quote:

Originally Posted by file.inc
/* Deletes file. Function returns 1 on success, 0 on failure. */
delete_file(const file[]);


GoGoGo 07-27-2008 07:14

Re: Delete files
 
Can you hrlp me? What shoud I do ? I can't find any solution to my problem.

scrtxxcaz 07-28-2008 01:08

Re: Delete files
 
this deletes a file

PHP Code:

delete_file(filename


GoGoGo 07-28-2008 02:33

Re: Delete files
 
Is it possible to delete for example map

delete_file(castike/maps/de_dust2.bsp)
?

scrtxxcaz 07-28-2008 02:45

Re: Delete files
 
Not sure I've never tried it. Either test it out yourself or wait until someone else answers your question.

Exolent[jNr] 07-28-2008 02:53

Re: Delete files
 
Code:
delete_file("maps/de_dust2.bsp");

zwfgdlc 07-28-2008 11:08

Re: Delete files
 
he mean is delete client file.


All times are GMT -4. The time now is 05:33.

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