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

[l4d2]Fun Sayer(version 2)


Post New Thread Reply   
 
Thread Tools Display Modes
Author
gamemann
Veteran Member
Join Date: Sep 2009
Location: Mullica Hill, New Jersey
Plugin ID:
1978
Plugin Version:
2
Plugin Category:
Fun Stuff
Plugin Game:
Left 4 Dead
Plugin Dependencies:
    Servers with this Plugin:
     
    Plugin Description:
    Let's you say stuff!
    Old 10-01-2010 , 15:31   [l4d2]Fun Sayer(version 2)
    Reply With Quote #1

    description:
    A funny sayer thing i made so when you get killed, pounced on, vomitted on, smoked.etc there fun sayer will say something but u can edit it in the server.cfg(this is for fun remember!)

    Code:
    // This file was auto-generated by SourceMod (v1.4.0-dev)
    // ConVars for plugin "funsayer.smx"
    
    
    // This file was auto-generated by SourceMod (v1.4.0-dev)
    // ConVars for plugin "funsayer.smx"
    
    
    // what txt comes up when a charger charges you! HINT TEXT!
    // -
    // Default: "You Are flyen in the air hahahahah"
    player_charged_ht "You Are flyen in the air hahahahah"
    
    // what txt comes up when a charger charges you! PRINT TEXT!
    // -
    // Default: "You Are flyen in the air hahahahah"
    player_charged_pt "You Are flyen in the air hahahahah"
    
    // what it says when the client dies HINT TEXT
    // -
    // Default: "you just got owned!"
    player_death_ht "you just got owned!"
    
    // what it says when the client dies PRINT TEXT!
    // -
    // Default: "you just got owned!"
    player_death_pt "you just got owned!"
    
    // what txt u get for being pauked on by the boomer HINT TEXT!
    // -
    // Default: "eww nobody likes you, pauk person!"
    player_pauked_on_ht "eww nobody likes you, pauk person!"
    
    // what txt u get for being pauked on by the boomer PRINT TEXT!
    // -
    // Default: "eww nobody likes you, pauk person!"
    player_pauked_on_pt "eww nobody likes you, pauk person!"
    
    // what it says when a player gets pounced by a hunter HINT TEXT!
    // -
    // Default: "you just got pounced!"
    player_pounced_ht "you just got pounced!"
    
    // what it says when a player gets pounced by a hunter PRINT TEXT!
    // -
    // Default: "you just got pounced!"
    player_pounced_pt "you just got pounced!"
    
    // what it says for a jockey ride HINT TEXT
    // -
    // Default: " you are gettin killed by a jockey ride!"
    player_rided_ht " you are gettin killed by a jockey ride!"
    
    // what it says for a jockey ride PRINT TEXT!
    // -
    // Default: " you are gettin killed by a jockey ride!"
    player_rided_pt " you are gettin killed by a jockey ride!"
    
    // what it says when a player gets smoked! HINT TEXT!
    // -
    // Default: "you just got smoked!"
    player_smoked_ht "You are getting PWNED by the smoker!"
    
    // what it says when a player gets smoked! PRINT TEXT!
    // -
    // Default: "you just got smoked!"
    player_smoked_pt "you just got smoked!"
    
    // what it says when a spitted is spitten! HINT TEXT!
    // -
    // Default: "you are in a guey place and getting owned!"
    player_spitted_ht "you are in a guey place and getting owned!"
    
    // what it says when a spitted is spitten! PRINT TEXT!
    // -
    // Default: "you are in a guey place and getting owned!"
    player_spitted_pt "you are in a guey place and getting owned!"
    
    // allow the words to be in hint txt
    // -
    // Default: "1"
    say_in_hint_txt "1"
    
    // allow the words to be in print txt
    // -
    // Default: "1"
    say_in_print_txt "0"
    
    // the plugins version
    // -
    // Default: "1.1"
    sm_cvar_version "1.1"
    also:
    - i tested it and it worked fine for me!

    [SIZE="4"]notes:[/code]
    - i tested it and it worked so if it doesnt for you please contact me!


    Update:
    http://gflclan.com/showthread.php?28...yer(version-2)
    theres the updated thread of it
    Attached Files
    File Type: sp Get Plugin or Get Source (funsayer.sp - 2350 views - 8.1 KB)
    __________________
    Software/network engineer. I often work on a neat project called The Modding Community.

    Check out my GitHub here!

    Last edited by gamemann; 04-21-2012 at 18:48.
    gamemann is offline
    Send a message via Skype™ to gamemann
    CrazzyMonkey
    Junior Member
    Join Date: Aug 2010
    Old 10-01-2010 , 20:58   Re: [l4d2]Fun Sayer(version 2)
    Reply With Quote #2

    Nice
    CrazzyMonkey is offline
    corsi
    Member
    Join Date: Mar 2010
    Old 10-02-2010 , 05:25   Re: [l4d2]Fun Sayer(version 2)
    Reply With Quote #3

    well its not working i tried to change in cfg file the messages but it wont work!!! pls try to fix this!!! u cant edit anything because it doesnt work!!!
    corsi is offline
    corsi
    Member
    Join Date: Mar 2010
    Old 10-02-2010 , 05:28   Re: [l4d2]Fun Sayer(version 2)
    Reply With Quote #4

    well its not working i tried to change in cfg file the messages but it wont work!!! pls try to fix this!!! u cant edit anything because it doesnt work!!!
    corsi is offline
    gamemann
    Veteran Member
    Join Date: Sep 2009
    Location: Mullica Hill, New Jersey
    Old 10-02-2010 , 08:56   Re: [l4d2]Fun Sayer(version 2)
    Reply With Quote #5

    Quote:
    Originally Posted by corsi View Post
    well its not working i tried to change in cfg file the messages but it wont work!!! pls try to fix this!!! u cant edit anything because it doesnt work!!!
    Well it works perfect for me i even tested it and changed the config... so it must be somethin on your side :\
    __________________
    Software/network engineer. I often work on a neat project called The Modding Community.

    Check out my GitHub here!
    gamemann is offline
    Send a message via Skype™ to gamemann
    DieTeetasse
    Senior Member
    Join Date: Jul 2009
    Old 10-02-2010 , 10:33   Re: [l4d2]Fun Sayer(version 2)
    Reply With Quote #6

    PHP Code:
    public PlayerDeath(Handle:event, const String:name[], bool:dontBroadcast)
    {
        for (new 
    1<= MaxClientsi++)
        if (
    IsClientInGame(i))
        {

            new 
    userid GetEventInt(event"victim")
            if (
    userid)
            {
                if (
    PT)
                {
                    
    decl String:wow[128];
                    
    GetConVarString(PlayerDPwow128);
                    
    PrintToChat(i" %s "wow);
                }
                else
                {
                    
    //return
                
    }
                if (
    HT)
                {
                    
    decl String:wow[128];
                    
    GetConVarString(PlayerDHwow128);
                    
    PrintHintText(i" %s "wow);
                }
                else
                {
                    
    //return
                
    }
            }
            else
            {
                
    //return
            
    }
        }

    Why you are looping through all clients?
    This code can be simplified too much less.
    PHP Code:
    public PlayerDeath(Handle:event, const String:name[], bool:dontBroadcast)
    {
        new 
    client GetClientOfUserId(GetEventInt(event"victim"));
        if (!
    IsClientInGame(client)) return;
        
    decl String:text[128];
        if (
    PT)
        {
            
    GetConVarString(PlayerDPtext128);
            
    PrintToChat(client" %s "text);    
        }
        if (
    PT)
        {
            
    GetConVarString(PlayerDHtext128);
            
    PrintHintText(client" %s "text);    
        }    

    __________________
    DieTeetasse is offline
    gamemann
    Veteran Member
    Join Date: Sep 2009
    Location: Mullica Hill, New Jersey
    Old 10-02-2010 , 10:56   Re: [l4d2]Fun Sayer(version 2)
    Reply With Quote #7

    Quote:
    Originally Posted by DieTeetasse View Post
    PHP Code:
    public PlayerDeath(Handle:event, const String:name[], bool:dontBroadcast)
    {
        for (new 
    1<= MaxClientsi++)
        if (
    IsClientInGame(i))
        {

            new 
    userid GetEventInt(event"victim")
            if (
    userid)
            {
                if (
    PT)
                {
                    
    decl String:wow[128];
                    
    GetConVarString(PlayerDPwow128);
                    
    PrintToChat(i" %s "wow);
                }
                else
                {
                    
    //return
                
    }
                if (
    HT)
                {
                    
    decl String:wow[128];
                    
    GetConVarString(PlayerDHwow128);
                    
    PrintHintText(i" %s "wow);
                }
                else
                {
                    
    //return
                
    }
            }
            else
            {
                
    //return
            
    }
        }

    Why you are looping through all clients?
    This code can be simplified too much less.
    PHP Code:
    public PlayerDeath(Handle:event, const String:name[], bool:dontBroadcast)
    {
        new 
    client GetClientOfUserId(GetEventInt(event"victim"));
        if (!
    IsClientInGame(client)) return;
        
    decl String:text[128];
        if (
    PT)
        {
            
    GetConVarString(PlayerDPtext128);
            
    PrintToChat(client" %s "text);    
        }
        if (
    PT)
        {
            
    GetConVarString(PlayerDHtext128);
            
    PrintHintText(client" %s "text);    
        }    

    oh ok thanks i will use it!
    __________________
    Software/network engineer. I often work on a neat project called The Modding Community.

    Check out my GitHub here!
    gamemann is offline
    Send a message via Skype™ to gamemann
    Zbeer
    SourceMod Donor
    Join Date: Aug 2010
    Old 09-13-2011 , 15:33   Re: [l4d2]Fun Sayer(version 2)
    Reply With Quote #8

    All the players see the message when a special infected catch me.
    Can just I see the text?
    Zbeer is offline
    gamemann
    Veteran Member
    Join Date: Sep 2009
    Location: Mullica Hill, New Jersey
    Old 10-02-2011 , 12:49   Re: [l4d2]Fun Sayer(version 2)
    Reply With Quote #9

    okay...
    Heres new update:
    http://gflclan.com/showthread.php?tid=150
    thats the updated thread of it... Fixed the whole plugin please downlaod from link above...
    __________________
    Software/network engineer. I often work on a neat project called The Modding Community.

    Check out my GitHub here!

    Last edited by gamemann; 02-26-2012 at 13:36.
    gamemann is offline
    Send a message via Skype™ to gamemann
    gamemann
    Veteran Member
    Join Date: Sep 2009
    Location: Mullica Hill, New Jersey
    Old 02-26-2012 , 13:37   Re: [l4d2]Fun Sayer(version 2)
    Reply With Quote #10

    K the other website forum went down.
    Here is the new topic: http://gflclan.com/showthread.php?28...yer(version-2)
    That's the updated topic.
    Enjoy!
    __________________
    Software/network engineer. I often work on a neat project called The Modding Community.

    Check out my GitHub here!

    Last edited by gamemann; 04-21-2012 at 18:49.
    gamemann is offline
    Send a message via Skype™ to gamemann
    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 19:55.


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