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

DeathRun Lock Buttons


Post New Thread Reply   
 
Thread Tools Display Modes
Plugin Info:     Modification:   Counter-Strike        Category:   Server Management        Approver:   Exolent[jNr] (178)
ConnorMcLeod
Veteran Member
Join Date: Jul 2006
Location: France (95)
Old 03-08-2009 , 12:20   DeathRun Lock Buttons
Reply With Quote #1

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 has locked a button, he is the only one who can use
this button, unless a certain time has passed, or he has locked another button,
or he has 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.


Attached Files
File Type: txt drbuttons.txt (2.9 KB, 7261 views)
File Type: sma Get Plugin or Get Source (dr_lock_buttons.sma - 10863 views - 6.5 KB)
__________________
- tired and retired -

- my plugins -

Last edited by ConnorMcLeod; 06-03-2013 at 16:53.
ConnorMcLeod is offline
BOYSplayCS
BANNED
Join Date: Apr 2008
Location: Gainesville, FL
Old 03-08-2009 , 12:21   Re: DeathRun Lock Buttons
Reply With Quote #2

This is very nice! You should provide the default numbers for the cvars.
BOYSplayCS is offline
shadow.hk
Senior Member
Join Date: Dec 2008
Location: WA, Australia
Old 03-08-2009 , 12:22   Re: DeathRun Lock Buttons
Reply With Quote #3

Hope I helped

+karma, great plugin.
shadow.hk is offline
Send a message via MSN to shadow.hk
SnoW
Veteran Member
Join Date: Oct 2008
Location: Finland WisdomNuggets: 8
Old 03-08-2009 , 12:25   Re: DeathRun Lock Buttons
Reply With Quote #4

Code:
[fin]
DR_LOCKED = "Nappi lukittu %d sekuntiksi, älä mene liian kauas siitä!!"
DR_RESERVED = "Tämä nappi on jo varattu."
DR_UNLOCKED = "Nappi avattu!!"
DR_AR_LOCKED = "Tämä nappi on jo lukittu."
and a
SnoW is offline
Send a message via MSN to SnoW
ConnorMcLeod
Veteran Member
Join Date: Jul 2006
Location: France (95)
Old 03-08-2009 , 12:25   Re: DeathRun Lock Buttons
Reply With Quote #5

Quote:
Originally Posted by BOYSplayCS View Post
You should provide the default numbers for the cvars.
Done.
__________________
- tired and retired -

- my plugins -
ConnorMcLeod is offline
crazyeffect
Veteran Member
Join Date: Jul 2008
Location: Belgium
Old 03-08-2009 , 12:37   Re: DeathRun Lock Buttons
Reply With Quote #6

Dutch translation:

Quote:
[nl]
DR_LOCKED = "Knop op slot voor %d seconden, ga er niet ver weg van!!"
DR_RESERVED = "Sorry, deze knop is gerezerveerd"
DR_UNLOCKED = "Knop losgemaakt!"
DR_AR_LOCKED = "Deze knop is reeds op slot!"
__________________
crazyeffect is offline
Send a message via MSN to crazyeffect
joaquimandrade
Veteran Member
Join Date: Dec 2008
Location: Portugal
Old 03-08-2009 , 12:41   Re: DeathRun Lock Buttons
Reply With Quote #7

Code:
[bp]
DR_LOCKED = Botao Bloqueado por %d segundos, nao te afastes muito dele !!
DR_RESERVED = Desculpa, este botao esta reservado.
DR_UNLOCKED = Botao Desbloqueado !!
DR_AR_LOCKED = Este botao ja se encontra bloqueado
__________________
joaquimandrade is offline
xPaw
Retired AMX Mod X Moderator
Join Date: Jul 2008
Old 03-08-2009 , 12:42   Re: DeathRun Lock Buttons
Reply With Quote #8

hehe
Code:
[ru]
DR_LOCKED = Knopki zablokirovana na %d sekund, neuhodi ot nejo daleko !!
DR_RESERVED = Izvinite, no jeta knopka zablokirovana.
DR_UNLOCKED = Knopka razblokirovana !!
DR_AR_LOCKED = Jeta knopka uzhe zablokirovana
__________________

Last edited by xPaw; 03-08-2009 at 14:41.
xPaw is offline
master4life
Senior Member
Join Date: Mar 2006
Location: Germany
Old 03-08-2009 , 12:44   Re: DeathRun Lock Buttons
Reply With Quote #9

German Translate ;)

Code:
[de]
DR_LOCKED = "Knopf wurde für %d Sekunden gesperrt, geh nicht zu weit weg !!"
DR_RESERVED = "Tut mir leid, dieser Knopf ist reserviert"
DR_UNLOCKED = "Knopf Entsperrt !!"
DR_AR_LOCKED = "Dieser Knopf ist schon gesperrt"
master4life is offline
Send a message via ICQ to master4life Send a message via MSN to master4life Send a message via Skype™ to master4life
ConnorMcLeod
Veteran Member
Join Date: Jul 2006
Location: France (95)
Old 03-08-2009 , 12:45   Re: DeathRun Lock Buttons
Reply With Quote #10

Thanks to joaquimandrade i've just noticed that i forgot to remove quotes in translations.
Thanks to Arkshine i made an errors in translations, puting LANG_PLAYER instead of id, soon update to v0.1.1
__________________
- tired and retired -

- my plugins -

Last edited by ConnorMcLeod; 03-08-2009 at 12:48.
ConnorMcLeod 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 00:57.


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