Raised This Month: $39 Target: $400
 9% 

[ANY] Colored Flashbang effect


Post New Thread Reply   
 
Thread Tools Display Modes
Author
Franc1sco
Veteran Member
Join Date: Oct 2010
Location: Spain (Madrid)
Plugin ID:
5081
Plugin Version:
1.0
Plugin Category:
Fun Stuff
Plugin Game:
Any
Plugin Dependencies:
    Servers with this Plugin:
    1 
    Plugin Description:
    Colored Flashbang effect
    Old 03-07-2016 , 14:03   [ANY] Colored Flashbang effect
    Reply With Quote #1

    Description:

    Set a colored flashbang effect instead the white effect (default) for flashbangs.


    Screenshot:

    http://steamcommunity.com/sharedfile.../?id=640494003


    Cvars:
    Put in server.cfg
    Code:
    sm_cf_enabled "1" // Enable colored flash 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; 03-07-2016 at 14:04.
    Franc1sco is offline
    Send a message via MSN to Franc1sco
    penalte
    Member
    Join Date: Jan 2016
    Old 03-07-2016 , 14:36   Re: [ANY] Colored Flashbang effect
    Reply With Quote #2

    nice Franc1sco, love it ;)
    penalte is offline
    Mitchell
    ~lick~
    Join Date: Mar 2010
    Old 03-07-2016 , 15:25   Re: [ANY] Colored Flashbang effect
    Reply With Quote #3

    Should you be using viewas<int> or using RoundToFloor/RoundToNearest? I never played with viewas so im not so sure.
    Mitchell is offline
    kossolax
    AlliedModders Donor
    Join Date: Jan 2008
    Location: Belgium
    Old 03-07-2016 , 15:39   Re: [ANY] Colored Flashbang effect
    Reply With Quote #4

    Quote:
    Originally Posted by Mitchell View Post
    Should you be using viewas<int> or using RoundToFloor/RoundToNearest? I never played with viewas so im not so sure.
    Well, not the best topic to talk about thats but from my last test it was something like this:
    PHP Code:
    view_as<int>(12.3) == 123 
    kossolax is offline
    ImACow
    AlliedModders Donor
    Join Date: Feb 2015
    Old 03-08-2016 , 09:32   Re: [ANY] Colored Flashbang effect
    Reply With Quote #5

    Thanks! this could be fun.

    How hard would it be to detect if a player turned his back to the flashbang? and like send him a message:

    Nice reaction!

    Cow.
    __________________
    ImACow is offline
    shtspk
    Junior Member
    Join Date: Dec 2015
    Old 03-28-2016 , 06:02   Re: [ANY] Colored Flashbang effect
    Reply With Quote #6

    Hi, any chance of doing this:

    If ct flash color blue
    else red

    ?
    shtspk is offline
    interactive
    Junior Member
    Join Date: Jan 2016
    Old 03-28-2016 , 15:25   Re: [ANY] Colored Flashbang effect
    Reply With Quote #7

    hi can you make the Colored Flashbang effect fade out like it normal dos for the white effect ?
    interactive is offline
    HelloBaBeS
    Junior Member
    Join Date: Dec 2018
    Old 05-18-2019 , 17:10   Re: [ANY] Colored Flashbang effect
    Reply With Quote #8

    You can make a command for the player to enable or disable the Colored Flashbang effect?
    HelloBaBeS 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 14:40.


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