Raised This Month: $ Target: $400
 0% 

New Discovery!!!


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
Daniell_
Junior Member
Join Date: Dec 2006
Location: Helsingborg
Old 12-25-2006 , 06:41   New Discovery!!!
Reply With Quote #1

This might not be so new for u, but it's new for me!
U tired of evry time u disable a cod u must disable a TON of things..
Well i have discoverd that u can make a .txt file or any file like that (recommend .txt file), then u move the plugins to the .txt file (only the plugins that belongs to a specific plugin, such as Superhero mod)
Example:
Code:
// ---------------------- START SUPERHERO PLUGINS -------------------------------
 
//To save XP to the nVault file (default)
superheromodnvault.amxx
 
//To save XP to the VAULT file  (uncomment this and comment out the other plugin) 
//superheromodvault.amxx

//To save XP to a mysql database (uncomment this and comment out the other plugin) 
//superheromodmysql.amxx
 
//Add these lines to enable all the stock heroes 
sh_anubis.amxx
sh_aquaman.amxx
sh_batman.amxx
sh_demoman.amxx
sh_captaina.amxx
sh_cyclops.amxx
sh_daredevil.amxx
sh_dazzler.amxx
sh_dracula.amxx
sh_flash.amxx
sh_hobgoblin.amxx
sh_hulk.amxx
sh_humantorch.amxx
sh_ironman.amxx
sh_mystique.amxx
sh_nightcrawler.amxx
sh_punisher.amxx
sh_skeletor.amxx
sh_spiderman.amxx
sh_superman.amxx
sh_windwalker.amxx
sh_wolverine.amxx
sh_xavier.amxx
sh_zeus.amxx
 
// ---------------------- END SUPERHERO PLUGINS -------------------------------
Move that to a file called, like Superheroplugins.txt.
Then u add the line:
Code:
include Superheroplugins.txt
At the line u just moved!

And to disable set a "; "(DON'T FORGET THE SPACE!!) in front of "include Superheroplugins.txt"

Cool huh?
U can do this to any plugin, module u want.. but be careful of removing stuff..
I discovered this in the shconfig.cfg (a superhero file)
I saw in the bottom that there were a echo "txt, txt, txt..."
(that's PHP format), so i tried with the include command (also PHP)
And there i discoverd this, ^^

Well hope no one discoverd this beform me ^^
__________________
What can i write here? ^^
= Read The Fuck*ng Manual
READ THE RULES!!!!
http://forums.alliedmods.net/showthread.php?t=49470
READ THE RULES!!!!
Daniell_ is offline
.:Predator:.
Member
Join Date: May 2006
Location: Sweden
Old 12-25-2006 , 08:14   Re: New Discovery!!!
Reply With Quote #2

it doesnt work it just says unknown plugin include
but if i can get it work it is nice
__________________

[IMG]http://img294.**************/img294/3981/johan2kn1.gif[/IMG]
.:Predator:. is offline
Send a message via MSN to .:Predator:.
.:Predator:.
Member
Join Date: May 2006
Location: Sweden
Old 12-25-2006 , 10:00   Re: New Discovery!!!
Reply With Quote #3

can u help me get it work?
__________________

[IMG]http://img294.**************/img294/3981/johan2kn1.gif[/IMG]
.:Predator:. is offline
Send a message via MSN to .:Predator:.
Daniell_
Junior Member
Join Date: Dec 2006
Location: Helsingborg
Old 12-29-2006 , 14:24   Re: New Discovery!!!
Reply With Quote #4

sry, i've not been here latly..
Could it be on of this:
1. Ur not making the file in .txt format
2. spelled include wrong
3. Filename wrong ex: include superhero.txt
4. U placed the file wrong (it should be same directory)
5. Ur using superhero module
__________________
What can i write here? ^^
= Read The Fuck*ng Manual
READ THE RULES!!!!
http://forums.alliedmods.net/showthread.php?t=49470
READ THE RULES!!!!
Daniell_ is offline
.:Predator:.
Member
Join Date: May 2006
Location: Sweden
Old 12-29-2006 , 14:59   Re: New Discovery!!!
Reply With Quote #5

its not working, does it have to be superhero?
__________________

[IMG]http://img294.**************/img294/3981/johan2kn1.gif[/IMG]
.:Predator:. is offline
Send a message via MSN to .:Predator:.
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 12:15.


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