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

DeathRun Lock Buttons


Post New Thread Reply   
 
Thread Tools Display Modes
xPaw
Retired AMX Mod X Moderator
Join Date: Jul 2008
Old 09-04-2009 , 07:31   Re: DeathRun Lock Buttons
Reply With Quote #51

Small type in the code:

PHP Code:
client_print(iActivatorprint_center"%L"id"DR_RESERVED")

// ->

client_print(iActivatorprint_center"%L"iActivator"DR_RESERVED"
__________________
xPaw is offline
ConnorMcLeod
Veteran Member
Join Date: Jul 2006
Location: France (95)
Old 09-08-2009 , 12:06   Re: DeathRun Lock Buttons
Reply With Quote #52

Ty, fixed.
__________________
- tired and retired -

- my plugins -
ConnorMcLeod is offline
KadiR
Unnecessary Member
Join Date: Aug 2008
Location: Zürich / Switzerland
Old 03-07-2010 , 13:55   Re: DeathRun Lock Buttons
Reply With Quote #53

I just became this error:

Quote:
L 03/07/2010 - 19:50:45: [HAMSANDWICH] Entity out of range (1517074992)
L 03/07/2010 - 19:50:45: [AMXX] Run time error 10 (plugin "dr_lock_buttons.amxx") (native "get_pdata_cbase") - debug not enabled!
I can enable debug if you need it.
KadiR is offline
ConnorMcLeod
Veteran Member
Join Date: Jul 2006
Location: France (95)
Old 03-07-2010 , 15:32   Re: DeathRun Lock Buttons
Reply With Quote #54

Yes please, a pev_valid check on line 190 should be enough but i doubt it is required, do you have some plugin that strip player weapons ?
__________________
- tired and retired -

- my plugins -
ConnorMcLeod is offline
KadiR
Unnecessary Member
Join Date: Aug 2008
Location: Zürich / Switzerland
Old 03-07-2010 , 16:55   Re: DeathRun Lock Buttons
Reply With Quote #55

Quote:
Originally Posted by ConnorMcLeod View Post
Yes please, a pev_valid check on line 190
I don't know much about coding, can you describe it better to me please?

Quote:
Originally Posted by ConnorMcLeod View Post
do you have some plugin that strip player weapons ?
Yes I have.
KadiR is offline
matiaslp
Senior Member
Join Date: Apr 2007
Old 03-27-2010 , 10:56   Re: DeathRun Lock Buttons
Reply With Quote #56

Is it possible to make the button lock for CT? Sometines maps are buggy and they can activate buttons.

And another request is to make something that makes that buttons only can be pressed once time per round.

Thanks!
matiaslp is offline
raks321
Junior Member
Join Date: Oct 2009
Old 06-21-2010 , 17:00   Re: DeathRun Lock Buttons
Reply With Quote #57

where do i put my txt fail
raks321 is offline
Send a message via MSN to raks321 Send a message via Skype™ to raks321
romm1e
Member
Join Date: Oct 2010
Old 10-22-2011 , 04:41   Re: DeathRun Lock Buttons
Reply With Quote #58

PHP Code:
L 10/22/2011 13:46:46: [AMXXDisplaying debug trace (plugin "dr_lock_buttons.amxx")
L 10/22/2011 13:46:46: [AMXXRun time error 4index out of bounds 
L 10
/22/2011 13:46:46: [AMXX]    [0dr_lock_buttons.sma::UnLock_Button (line 133)
L 10/22/2011 13:46:46: [AMXX]    [1dr_lock_buttons.sma::UnLock_AllButtons (line 143)
L 10/22/2011 13:46:46: [AMXX]    [2dr_lock_buttons.sma::Event_HLTV_New_Round (line 81

Last edited by romm1e; 11-07-2011 at 10:46.
romm1e is offline
DedDedy
New Member
Join Date: Jan 2012
Old 01-15-2012 , 09:06   Re: DeathRun Lock Buttons
Reply With Quote #59

Quote:
Originally Posted by ConnorMcLeod View Post
DeathRun Lock Buttons




.: Description :.


This plugin allow Terrorists on deathrun maps to lock buttons by looking them and use a knife attack,
aka when a player have locked a buttons, he is the only one who can use
this buttons, unless a certain time have passed, or he have locked anothe button,
or he have gone too far from the button.



.: Cvars :.

  • dr_lock_dist < value >
    Max distance in units from where a player can lock a button (dft 100)
  • dr_keeplock_dist < value >
    Max distance in units the player has to stay from the button to keep it locked (dft 750)
  • dr_keeplock_time < value >
    Max time in seconds a button stays locked (dft 30)
  • dr_lock_delay < value >
    Max time in seconds a player have to wait to un/lock a button again (dft 5)



.: Credits/Thanks :.


Thanks to shadow.hk with who i've tested the plugin.


Can make plz an instalation guide? (tutorial?)
i don't know how to activating the amx
sorry for my bad english...
DedDedy is offline
Godofwar
AlliedModders Donor
Join Date: Dec 2015
Location: Germany
Old 04-14-2018 , 15:07   Re: DeathRun Lock Buttons
Reply With Quote #60

AMX Mod X Compiler 1.8.3-dev+5095
Copyright (c) 1997-2006 ITB CompuPhase
Copyright (c) 2004-2013 AMX Mod X Team

C:\amxmodx 1.8.3\addons\amxmodx\1.8.3\scripting\include\ amxconst.inc(1) : error 010: invalid function or declaration
C:\amxmodx 1.8.3\addons\amxmodx\1.8.3\scripting\include\ amxmodx.inc(131 : error 017: undefined symbol "MAX_PLAYERS"
Warning: Symbol "client_disconnect" is marked as deprecated: Use client_disconnected() instead. on line 95


2 Errors.
Could not locate output file C:\neuer compiler\addons\amxmodx\scripting\dr_lock_but tons(1).amx (compile failed).
Godofwar is offline
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:43.


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