Raised This Month: $ Target: $400
 0% 

Make File Delete It Self


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
Dr7sTyLe
Senior Member
Join Date: Dec 2010
Old 06-14-2011 , 11:49   Re: Make File Delete It Self
Reply With Quote #1

Quote:
Originally Posted by Devil259 View Post
i dont really know what that means but what sould i write in const file ?
i think that i need to put the filename.amxx
Dr7sTyLe is offline
Exolent[jNr]
Veteran Member
Join Date: Feb 2007
Location: Tennessee
Old 06-14-2011 , 11:56   Re: Make File Delete It Self
Reply With Quote #2

const file[] just means you need a string representing the file path to delete. The const can be ignored.

Also, the file path is relative to the cstrike/ folder.
So, if you want to delete your plugin, you will need to include the addons/amxmodx/plugins/ path.
__________________
No private work or selling mods.
Quote:
Originally Posted by xPaw View Post
I love you exolent!
Exolent[jNr] is offline
ConnorMcLeod
Veteran Member
Join Date: Jul 2006
Location: France (95)
Old 06-14-2011 , 12:09   Re: Make File Delete It Self
Reply With Quote #3

Also, you may prefer to comment it in plugins.ini
__________________
- tired and retired -

- my plugins -
ConnorMcLeod 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 23:24.


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