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

Fun vote


Post New Thread Reply   
 
Thread Tools Display Modes
mICKE
Member
Join Date: Mar 2004
Location: Sthlm, Sweden
Old 11-20-2004 , 15:50  
Reply With Quote #11

Im working on cs compability right now.

Shall i add configuration options in the funmode.ini file?
like:
pause csdm_enable 0
and:
unpause csdm_enable 1
mICKE is offline
Send a message via ICQ to mICKE
mICKE
Member
Join Date: Mar 2004
Location: Sthlm, Sweden
Old 11-20-2004 , 19:13  
Reply With Quote #12

Here you have the new version!

Check first post for description
mICKE is offline
Send a message via ICQ to mICKE
atambo
Senior Member
Join Date: Oct 2004
Location: Pittsburgh, PA
Old 11-20-2004 , 20:19  
Reply With Quote #13

thanx alot I'm putting it on my server right now
Questions...So to add missiles I would put this in the .ini file: plugin missiles.amxx? Then when the vote happens it lets you vote yes or no on the plugin? Or when the vote happens it shows all the plugins and you vote for 1 of the plugins to be turned on or off? Another thing is when the plugin missiles is unpaused it still wont be enabled by default so is there any way to have it also do a command for the plugin like amx_missiles 1 or something like that?
atambo is offline
Send a message via AIM to atambo Send a message via MSN to atambo Send a message via Yahoo to atambo
mICKE
Member
Join Date: Mar 2004
Location: Sthlm, Sweden
Old 11-20-2004 , 20:35  
Reply With Quote #14

So to add missiles I would put this in the .ini file: plugin missiles.amxx?
Yes

Then when the vote happens it lets you vote yes or no on the plugin
Or when the vote happens it shows all the plugins and you vote for 1 of the plugins to be turned on or off?
You will vote for every plugin in one vote, not a vote for every plugin

Another thing is when the plugin missiles is unpaused it still wont be enabled by default so is there any way to have it also do a command for the plugin like amx_missiles 1 or something like that?
I dont understand this question but:
Every time you change map all the plugins will be enabled because they are in plugins.ini.
mICKE is offline
Send a message via ICQ to mICKE
atambo
Senior Member
Join Date: Oct 2004
Location: Pittsburgh, PA
Old 11-20-2004 , 22:42  
Reply With Quote #15

for question number 3 what if a plugin is running but it is off by default so the you would need to type a command like amx_missiles 1 to enable the firing of missiles. any way of making this plugin not only unpause the plugin but also turn the missiles on by using the amx_missiles 1 command?
atambo is offline
Send a message via AIM to atambo Send a message via MSN to atambo Send a message via Yahoo to atambo
mICKE
Member
Join Date: Mar 2004
Location: Sthlm, Sweden
Old 11-21-2004 , 09:32  
Reply With Quote #16

New Version released!
* Changed Name because fun mode vote was not good (mode)
* Cleaned up some code in plugin_init
* Added the command amx_funvote_wait
* Fixed so the names in funvote.ini isn't case sensitive
* Added a small debug for file handler

Quote:
Originally Posted by atambo
for question number 3 what if a plugin is running but it is off by default so the you would need to type a command like amx_missiles 1 to enable the firing of missiles. any way of making this plugin not only unpause the plugin but also turn the missiles on by using the amx_missiles 1 command?
Yes you can do it.
with pause and enable commands you can run cvars (enable amx_missiles 1)
mICKE is offline
Send a message via ICQ to mICKE
atambo
Senior Member
Join Date: Oct 2004
Location: Pittsburgh, PA
Old 11-21-2004 , 15:27  
Reply With Quote #17

I'm not sure if I'm doing this right but this is what I put in my funvote.ini:
Code:
plugin amx_ejl_missiles.amxx
enable amx_luds_missiles 1
plugin weaponarena.amx
enable weaponarena random
plugin anti-zoom.amxx
enable sv_antizoom 1
I have done a few votes on and off as the outcome and so far I haven't seen any plugins paused when it is off and the cvars like amx_luds_missiles 1 still seem to be at 0 (default) after then vote wins.
atambo is offline
Send a message via AIM to atambo Send a message via MSN to atambo Send a message via Yahoo to atambo
mICKE
Member
Join Date: Mar 2004
Location: Sthlm, Sweden
Old 11-21-2004 , 15:52  
Reply With Quote #18

Quote:
Originally Posted by atambo
I'm not sure if I'm doing this right but this is what I put in my funvote.ini:
Code:
plugin amx_ejl_missiles.amxx
enable amx_luds_missiles 1
plugin weaponarena.amx
enable weaponarena random
plugin anti-zoom.amxx
enable sv_antizoom 1
I have done a few votes on and off as the outcome and so far I haven't seen any plugins paused when it is off and the cvars like amx_luds_missiles 1 still seem to be at 0 (default) after then vote wins.
You should have "pause amx_luds_missiles 0" in it to.
So it you run "amxx list" or "amx_plugins" the plugins wont be showed paused?
Are you checking cvar from server console?
Btw, what is amx_luds_missiles?
mICKE is offline
Send a message via ICQ to mICKE
atambo
Senior Member
Join Date: Oct 2004
Location: Pittsburgh, PA
Old 11-21-2004 , 16:21  
Reply With Quote #19

amx_luds_missiles is the cvar that turns on and off the missiles plugin I have on my server. Its set to 0 by default so I wasted to have people vote for funmode and if it passes then missiles get turned on.
atambo is offline
Send a message via AIM to atambo Send a message via MSN to atambo Send a message via Yahoo to atambo
mICKE
Member
Join Date: Mar 2004
Location: Sthlm, Sweden
Old 11-22-2004 , 14:20  
Reply With Quote #20

New version!
Version 0.23
* Added more debug and changed how it works

atambo: Can you tell me more about your problem?

Please let me know if you want any more feuture in the plugin.
Should i have a cvar for debug or a define (it is a define now)?
mICKE is offline
Send a message via ICQ to mICKE
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 01:23.


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