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

pause plugin


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
onedamage
Senior Member
Join Date: Apr 2004
Location: Montreal Canada
Old 05-27-2004 , 22:32   pause plugin
Reply With Quote #1

can someone explain me how the pause plugin works ?

it is like the following:

amx_off nextmap.amx

so that it doesnt show the nextmap ??

and amx_on nextmap.amx to put it back on ?

(this is just a hypotheical question, i dont wanna turn off the nextmap plugin, but i have certain plugins i want to turn off on certain maps)
__________________
69.12.99.130 Quebec Public CS 1.6
64.15.128.218 Quebec Public CS:SOURCE
www.QuebecPublic.com
onedamage is offline
Send a message via ICQ to onedamage Send a message via MSN to onedamage
PM
hello, i am pm
Join Date: Jan 2004
Location: Canalization
Old 05-28-2004 , 06:17  
Reply With Quote #2

amx_off / amx_on will pause / unpause all plugins that are marked as pausable / unpausable.

Use amx_pausecfgmenu, that will display all plugins and you can pause / unpause them.

Theory:
When a plugin is paused, no public functions in that plugin should be executed. Models don't know that the plugin is paused though, so forwards from modules still are executed. This will be fixed in 0.2. An another problem is that plugins can do things like block a message, and will not unblock it when they get paused (they actually can't at the moment). This can also be fixed in 0.2 (depends on the plugin author ), because we added plugin_pause and plugin_unpause forwards.
__________________
hello, i am pm
PM is offline
QwertyAccess
Veteran Member
Join Date: Feb 2004
Location: Enjiru Layer
Old 05-28-2004 , 19:58  
Reply With Quote #3

if you just type amx_pausecfg in the console it'll show a little tiny list of commands you could use to pause plugins etc too
__________________
QwertyAccess is offline
onedamage
Senior Member
Join Date: Apr 2004
Location: Montreal Canada
Old 05-31-2004 , 09:04  
Reply With Quote #4

so if i use map configs, it would be easier to use with cvars.
__________________
69.12.99.130 Quebec Public CS 1.6
64.15.128.218 Quebec Public CS:SOURCE
www.QuebecPublic.com
onedamage is offline
Send a message via ICQ to onedamage Send a message via MSN to onedamage
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 01:41.


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