Raised This Month: $51 Target: $400
 12% 

prtite question


  
 
 
Thread Tools Display Modes
Author Message
canabuze
Member
Join Date: Apr 2004
Old 06-08-2004 , 07:32   prtite question
#1

voila je voudrai connaitre la commande cvar pour desactive les plugins via un config.

Je m explique sa me saoule car je lance un match de sactivé les plugins manuellement alors je voudrai bien pouvoir les desactivé autamotiquemnt des que je lance la config match
canabuze is offline
sanaell
Senior Member
Join Date: May 2004
Location: SamutPrakarn Thailand
Old 06-08-2004 , 07:39  
#2

match.cfg

(rajoute a la fin)

amx_off

ou
amx_pausecfg pause nom.amx
etc...


et ensuite dans ta config ffa ou autre
amx_on
ou amx_pausecfg enable nom.amx
etC...

voila
__________________
[email protected]
The Source of Pain is the Pain of Source
sanaell is offline
Send a message via MSN to sanaell
canabuze
Member
Join Date: Apr 2004
Old 06-08-2004 , 08:36  
#3

peut pa mettre amx off car j utilise amx match je vais utiliser la 2 eme solution
canabuze is offline
NiLuJe
Veteran Member
Join Date: Mar 2004
Location: Paris, France
Old 06-08-2004 , 14:21  
#4

Si, tu peux, tu edite le plugin pausecfg.sma
ligne 87 @ 107 :
Code:
public plugin_cfg() {   loadSettings(g_fileToSave)   // Put here titles of plugins which you don't want to pause   server_cmd(g_addCmd , "Pause Plugins" )   server_cmd(g_addCmd , "Admin Commands" )   server_cmd(g_addCmd , "TimeLeft" )   server_cmd(g_addCmd , "Slots Reservation" )   server_cmd(g_addCmd , "Admin Chat" )   server_cmd(g_addCmd , "NextMap" )   server_cmd(g_addCmd , "Admin Help" )   server_cmd(g_addCmd , "Admin Base" )   server_cmd(g_addCmd , "Admin Votes" )    server_cmd(g_addCmd , "Welcome Message" )   server_cmd(g_addCmd , "Stats Configuration" )   server_cmd(g_addCmd , "Commands Menu" )   server_cmd(g_addCmd , "Maps Menu" )   server_cmd(g_addCmd , "Menus Front-End" )   server_cmd(g_addCmd , "Admin Base for MySQL" )   server_cmd(g_addCmd , "Players Menu" )   server_cmd(g_addCmd , "Teleport Menu" ) }

Tu rajoutes le nom de ton plugin, comme ceux déjà mis, ca l'ajoutera à la liste de splugisn qui ne sont PAS mis en pause par un amx_off ;) (Pour trouver el nom, tu regarde le plugin_init de ton plugin )
NiLuJe is offline
Send a message via MSN to NiLuJe
 



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:21.


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