Raised This Month: $32 Target: $400
 8% 

[ANY] Days in Jail - Jailed Reasons


Post New Thread Reply   
 
Thread Tools Display Modes
Author
Franc1sco
Veteran Member
Join Date: Oct 2010
Location: Spain (Madrid)
Plugin ID:
3145
Plugin Version:
v1.0
Plugin Category:
Fun Stuff
Plugin Game:
Any
Plugin Dependencies:
    Servers with this Plugin:
    3 
    Plugin Description:
    Shows the reasons of incarceration and counts the days in jail to terrorists in round start, for jail servers.
    Old 08-10-2012 , 13:15   [ANY] Days in Jail - Jailed Reasons
    Reply With Quote #1

    Description:

    Shows the reasons of incarceration and counts the days in jail to terrorists in round start, for jail servers.

    Example: Day 3 Imprisoned for stealing a car


    Configuration:

    Edit the franug_days_jail.ini for add your customs reasons

    Install:

    Put the .smx file in addons/sourcemod/plugins
    Put franug_days_jail.ini in addons/sourcemod/configs


    Credits:

    Original idea of CS 1.6 jail servers


    btw, If you have a good customs reasons, you can tell me and I will add to the plugin


    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:40.
    Franc1sco is offline
    Send a message via MSN to Franc1sco
    Emaster
    Junior Member
    Join Date: May 2012
    Location: USA
    Old 08-10-2012 , 13:36   Re: [CS:S] Days in Jail - Jailed Reasons
    Reply With Quote #2

    Seems like a fun plugin.

    Here are some other reasons I added, in case you want to add them as well:

    Quote:
    Imprisoned for public urination
    Imprisoned for inciting a riot
    Imprisoned for skipping bail
    Imprisoned for terrible driving
    Imprisoned for disturbing the peace
    Imprisoned for trespassing
    Imprisoned for credit card fraud
    Imprisoned for prostitution
    Imprisoned for construction without a permit
    Imprisoned for drug trafficking
    Imprisoned for trying to seduce a police officer
    Imprisoned for driving under the influence
    __________________

    Last edited by Emaster; 08-10-2012 at 15:09.
    Emaster is offline
    Franc1sco
    Veteran Member
    Join Date: Oct 2010
    Location: Spain (Madrid)
    Old 08-10-2012 , 13:39   Re: [CS:S] Days in Jail - Jailed Reasons
    Reply With Quote #3

    Quote:
    Originally Posted by Emaster View Post
    Seems like a fun plugin.

    Here are some other reasons I added, in case you want to add them as well:
    Thanks, I have added to the file
    __________________
    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.

    Franc1sco is offline
    Send a message via MSN to Franc1sco
    Mitchell
    ~lick~
    Join Date: Mar 2010
    Old 08-10-2012 , 15:42   Re: [CS:S] Days in Jail - Jailed Reasons
    Reply With Quote #4

    would be cool for a user to set their own reason, from a list of crimes, then use the game time function, like in my plugin to track their gameplay, and show it on command or what ever.
    Mitchell is offline
    eGames
    Junior Member
    Join Date: Jan 2012
    Old 01-22-2013 , 04:36   Re: [CS:S] Days in Jail - Jailed Reasons
    Reply With Quote #5

    Why don't works ?
    Code:
                     PrintCenterText(client, "Day %i %s", g_Dias[client],frase);
                     PrintHintText(client, "Day %i %s", g_Dias[client],frase);
    It only works
    Code:
                     PrintToChat(client, "Day %i %s", g_Dias[client],frase);
    eGames is offline
    Franc1sco
    Veteran Member
    Join Date: Oct 2010
    Location: Spain (Madrid)
    Old 01-22-2013 , 04:47   Re: [CS:S] Days in Jail - Jailed Reasons
    Reply With Quote #6

    Quote:
    Originally Posted by eGames View Post
    Why don't works ?
    Code:
                     PrintCenterText(client, "Day %i %s", g_Dias[client],frase);
                     PrintHintText(client, "Day %i %s", g_Dias[client],frase);
    It only works
    Code:
                     PrintToChat(client, "Day %i %s", g_Dias[client],frase);
    Game? this works perfectly in CS:S
    __________________
    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; 01-22-2013 at 05:07.
    Franc1sco is offline
    Send a message via MSN to Franc1sco
    eGames
    Junior Member
    Join Date: Jan 2012
    Old 01-22-2013 , 05:08   Re: [CS:S] Days in Jail - Jailed Reasons
    Reply With Quote #7

    Problem solved.
    Just on my test server was a lot of plug-ins that were not given the correct display of text.
    eGames is offline
    DantedaN
    Junior Member
    Join Date: May 2011
    Old 02-10-2013 , 13:18   Re: [CS:S] Days in Jail - Jailed Reasons
    Reply With Quote #8

    Why you don't put "3 years in jail for something", "10 month in jail for.." instead of "Day 1" "Day 2".

    I think it's more funny than the day, isn't it ?
    DantedaN is offline
    Franc1sco
    Veteran Member
    Join Date: Oct 2010
    Location: Spain (Madrid)
    Old 02-10-2013 , 13:24   Re: [CS:S] Days in Jail - Jailed Reasons
    Reply With Quote #9

    Quote:
    Originally Posted by DantedaN View Post
    Why you don't put "3 years in jail for something", "10 month in jail for.." instead of "Day 1" "Day 2".

    I think it's more funny than the day, isn't it ?

    and as would be measured? the days are not random, are the rounds you have played
    __________________
    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.

    Franc1sco is offline
    Send a message via MSN to Franc1sco
    DantedaN
    Junior Member
    Join Date: May 2011
    Old 02-10-2013 , 15:47   Re: [CS:S] Days in Jail - Jailed Reasons
    Reply With Quote #10

    Yes, but I don't understand the report between the rounds you have played and the reasons ?

    Or maybe you can put for exemple "3 years in jail for something (Day 1)" It's just a proposition !

    And for my idea, randomly?

    Last edited by DantedaN; 02-10-2013 at 15:50.
    DantedaN 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 10:21.


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