Raised This Month: $ Target: $400
 0% 

need small plugins for func_button


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
sb123
Senior Member
Join Date: Jan 2007
Old 09-24-2011 , 09:04   need small plugins for func_button
Reply With Quote #1

my deathrun many maps need button delay

{
"model" "*37"
"wait" "3"
"speed" "5"
"target" "trap10"
"rendercolor" "0 0 0"
"renderamt" "255"
"angles" "0 0 0"
"spawnflags" "1"
"classname" "func_button"
}

just changed "wait" "3" to "wait" "12"

if wait 3,the T will keep press button
__________________
sb123 is offline
Send a message via ICQ to sb123 Send a message via MSN to sb123 Send a message via Yahoo to sb123
bibu
Veteran Member
Join Date: Sep 2010
Old 09-24-2011 , 09:18   Re: need small plugins for func_button
Reply With Quote #2

Which map is that?
__________________
Selling tons of my own private works.
Accepting paid work for clans and communities.
Don't hesitate to contact me.
bibu is offline
sb123
Senior Member
Join Date: Jan 2007
Old 09-24-2011 , 09:20   Re: need small plugins for func_button
Reply With Quote #3

many

like
deathrun_herb
deathrun_hybrid
more.....
Use Button Once i trying ,not work fine for me
__________________
sb123 is offline
Send a message via ICQ to sb123 Send a message via MSN to sb123 Send a message via Yahoo to sb123
ConnorMcLeod
Veteran Member
Join Date: Jul 2006
Location: France (95)
Old 09-24-2011 , 09:25   Re: need small plugins for func_button
Reply With Quote #4

If this plugin : http://forums.alliedmods.net/showthread.php?p=874660
doesn't suit your needs
try this :

PHP Code:
#include <amxmodx>
#include <fakemeta>

/* * Settings :
 * */
const Float:g_flMinButtonDelay 12.0
/* * End of Settings !!
 * */

const XO_BUTTON 4
const m_flWait 44

public plugin_init()
{
    
register_plugin("Min Buttons Delay""0.0.1""ConnorMcLeod")

    new 
iEnt FM_NULLENT
    
while( ( iEnt engfunc(EngFunc_FindEntityByStringiEnt"classname""func_button") ) )
    {
        if( 
get_pdata_float(iEntm_flWaitXO_BUTTON) < g_flMinButtonDelay )
        {
            
set_pdata_float(iEntm_flWaitg_flMinButtonDelayXO_BUTTON)
        }
    }

__________________
- tired and retired -

- my plugins -
ConnorMcLeod is offline
sb123
Senior Member
Join Date: Jan 2007
Old 09-24-2011 , 09:36   Re: need small plugins for func_button
Reply With Quote #5

yes i try Buttons Delay Editor and Use Button Once
but not work fine for me

i tested you plugins,very great!

thanks
__________________
sb123 is offline
Send a message via ICQ to sb123 Send a message via MSN to sb123 Send a message via Yahoo to sb123
xPaw
Retired AMX Mod X Moderator
Join Date: Jul 2008
Old 09-24-2011 , 09:47   Re: need small plugins for func_button
Reply With Quote #6

Quote:
Originally Posted by sb123 View Post
yes i try Buttons Delay Editor and Use Button Once
You're doing it wrong then. I have been using Buttons Delay Editor on my deathrun server, and it works just fine.
__________________
xPaw is offline
sb123
Senior Member
Join Date: Jan 2007
Old 09-25-2011 , 05:33   Re: need small plugins for func_button
Reply With Quote #7

Quote:
Originally Posted by xPaw View Post
You're doing it wrong then. I have been using Buttons Delay Editor on my deathrun server, and it works just fine.
Buttons Delay Editor need edit Buttons one by one
but i have so many maps
that is so tired
__________________
sb123 is offline
Send a message via ICQ to sb123 Send a message via MSN to sb123 Send a message via Yahoo to sb123
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 08:08.


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