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:17   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
[ --<-@ ] Black Rose
ANNIHILATED
Join Date: Sep 2005
Location: Stockholm, Sweden.
Old 12-25-2006 , 08:49   Re: NEW DISCOVERY!!
Reply With Quote #2

Wont work.
[ --<-@ ] Black Rose is offline
Hawk552
AMX Mod X Moderator
Join Date: Aug 2005
Old 12-25-2006 , 08:58   Re: NEW DISCOVERY!!
Reply With Quote #3

Well, look who's been keeping up:
http://forums.alliedmods.net/showthread.php?t=45623
__________________
Hawk552 is offline
Send a message via AIM to Hawk552
Reply


Thread Tools
Display Modes

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 22:20.


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