AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Scripting Help (https://forums.alliedmods.net/forumdisplay.php?f=11)
-   -   fvault deleting/clearing file. (https://forums.alliedmods.net/showthread.php?t=217339)

Unkolix 06-01-2013 15:37

fvault deleting/clearing file.
 
I was wondering, how do I clear or delete a file with fvault?
I have it loading and saving in my stats plugin for a MIX server and when I want to reset everyones score, I don't know how to do that... The only thing that works is shutting down the server and deleting the file manually, because when the server is on and you delete the file it recovers. Is it possible to clear or delete it with a command through plugin?

simanovich 06-02-2013 03:01

Re: fvault deleting/clearing file.
 
delete_file (?)

Backstabnoob 06-02-2013 08:02

Re: fvault deleting/clearing file.
 
Quote:

Originally Posted by simanovich (Post 1962817)
delete_file (?)

I believe the file is never closed, so it's impossible to delete it.

Why not just close fvault and then delete the file?

TheDS1337 06-02-2013 08:56

Re: fvault deleting/clearing file.
 
maybe fvault_remove_key( ); function ?


All times are GMT -4. The time now is 16:28.

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