Raised This Month: $ Target: $400
 0% 

I need plugin which will delete or erase file after map change


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
Tramp
Senior Member
Join Date: Aug 2005
Old 03-01-2008 , 09:10   I need plugin which will delete or erase file after map change
Reply With Quote #1

Hi i'm using this script which I found in scripters sections, but it isn't working, why?

Code:
#include <amxmodx>
#include <amxmisc>

#define PLUGIN "Delete"
#define VERSION "1.0"
#define AUTHOR "xxx"

new g_baseDir[128]

public plugin_init() {
	register_plugin(PLUGIN, VERSION, AUTHOR)

	get_basedir(g_baseDir,127);
}

public plugin_end()
{
	format(g_baseDir,127,"%s/data/vault/infomation.vault",g_baseDir);
	delete_file(g_baseDir);
}
I want delete this file after mapchange or erase it. It is possible? This plugin is not doing it

Thanks for help.
__________________
STER-Gaming.pl - The Best Multigaming Club, CS 1.6, CS:S, ET, COD 2 more and more ! Check forum forum.ster-gaming.pl

amxmodx - Polish support about amxx.
Tramp is offline
Tramp
Senior Member
Join Date: Aug 2005
Old 03-02-2008 , 19:17   Re: I need plugin which will delete or erase file after map change
Reply With Quote #2

anyone?
__________________
STER-Gaming.pl - The Best Multigaming Club, CS 1.6, CS:S, ET, COD 2 more and more ! Check forum forum.ster-gaming.pl

amxmodx - Polish support about amxx.
Tramp is offline
YamiKaitou
Has a lovely bunch of coconuts
Join Date: Apr 2006
Location: Texas
Old 03-02-2008 , 19:19   Re: I need plugin which will delete or erase file after map change
Reply With Quote #3

Why?
__________________
ProjectYami Laboratories

I do not browse the forums regularly anymore. If you need me for anything (asking questions or anything else), then PM me (be descriptive in your PM, message containing only a link to a thread will be ignored).
YamiKaitou 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 21:08.


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