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

[CS:S] Arrest [For JailBreak Servers]


Post New Thread Reply   
 
Thread Tools Display Modes
Author
Franc1sco
Veteran Member
Join Date: Oct 2010
Location: Spain (Madrid)
Plugin ID:
3361
Plugin Version:
1.1
Plugin Category:
Fun Stuff
Plugin Game:
Counter-Strike: Source
Plugin Dependencies:
    Servers with this Plugin:
     
    Plugin Description:
    When the round start, the guards receive handcuffs for use for arrest prisioners and they are back to jail
    Old 11-10-2012 , 11:03   [CS:S] Arrest [For JailBreak Servers]
    Reply With Quote #1

    Description:

    When the round start, the guards receive handcuffs for use for arrest prisioners and they are back to jail

    Use example: bind "key" "sm_arrest" or bind "key" "sm_stop"


    Commands:

    Point a prisonner and say /arrest or /stop if you have a handcuffs.


    Cvars:

    Put in server.cfg
    Code:
    jail_max_handcuffs 1 // Turn max hancuffs per round.
    jail_distance_handcuffs 150.0 // Turn distance between prisonner and guard
    jail_delay_respawn 4.0 // Delay for respawn terrorist into jail
    sm_arrest_close 1 // Close doors when a prisioner back to jail. 1 = Enable, 0 = Disable
    sm_arrest_adminflag 0 // Admin flag required to use Arrest. 0 = No flag needed. Can use a b c ....

    Credits:

    Based on http://forums.alliedmods.net/showthread.php?t=127579
    Request of https://forums.alliedmods.net/showthread.php?t=200512


    Donations (optional):

    If you apreciate my work, you can donate me via paypal or with a trade offer


    Download:

    Main repository
    Direct download
    Code changes
    __________________
    Veteran Coder -> Activity channel
    Coding on CS2 and taking paid and free jobs.

    Contact: Steam, Telegram or discord ( franug ).

    You like my work? +Rep in my steam profile comments or donate.


    Last edited by Franc1sco; 12-20-2015 at 09:28.
    Franc1sco is offline
    Send a message via MSN to Franc1sco
    teol
    Veteran Member
    Join Date: Oct 2009
    Location: Marbella
    Old 11-10-2012 , 11:07   Re: [CS:S] Arrest [For JailBreak Servers]
    Reply With Quote #2

    Nice job, thanks
    teol is offline
    Groger
    Veteran Member
    Join Date: Oct 2009
    Location: Belgium
    Old 11-12-2012 , 03:07   Re: [CS:S] Arrest [For JailBreak Servers]
    Reply With Quote #3

    Great, could you add a feature to restrict the usage to a certain flag.
    Groger is offline
    shavit
    AlliedModders Donor
    Join Date: Dec 2011
    Location: Israel
    Old 11-12-2012 , 09:30   Re: [CS:S] Arrest [For JailBreak Servers]
    Reply With Quote #4

    Amazing!
    Just point the closest func_door(_moving) and func_movelinear and close them 1 second after respawn, because then he may be able to escape..
    __________________
    retired
    shavit is offline
    Franc1sco
    Veteran Member
    Join Date: Oct 2010
    Location: Spain (Madrid)
    Old 11-12-2012 , 12:47   Re: [CS:S] Arrest [For JailBreak Servers]
    Reply With Quote #5

    Quote:
    Originally Posted by Groger View Post
    Great, could you add a feature to restrict the usage to a certain flag.
    Done (You always ask me that XD).

    Quote:
    Originally Posted by shavit View Post
    Amazing!
    Just point the closest func_door(_moving) and func_movelinear and close them 1 second after respawn, because then he may be able to escape..
    Thanks, Done.


    New version 1.1

    -Added optional flag for use the command
    -Added autoclose jail doors
    -New cvars for it
    Code:
    sm_arrest_close 1 // Close doors when a prisioner back to jail. 1 = Enable, 0 = Disable
    sm_arrest_adminflag 0 // Admin flag required to use Arrest. 0 = No flag needed. Can use a b c ....
    __________________
    Veteran Coder -> Activity channel
    Coding on CS2 and taking paid and free jobs.

    Contact: Steam, Telegram or discord ( franug ).

    You like my work? +Rep in my steam profile comments or donate.


    Last edited by Franc1sco; 11-12-2012 at 12:53.
    Franc1sco is offline
    Send a message via MSN to Franc1sco
    Groger
    Veteran Member
    Join Date: Oct 2009
    Location: Belgium
    Old 11-12-2012 , 13:21   Re: [CS:S] Arrest [For JailBreak Servers]
    Reply With Quote #6

    Quote:
    Originally Posted by Franc1sco View Post
    Done (You always ask me that XD).
    Haha yeah because if everyone would take in account that lots of community servers depend on there donaters it's important to introduce new features once in a while. So thanks for helping us out! You rock
    Groger is offline
    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 07:00.


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