Raised This Month: $ Target: $400
 0% 

[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:
1798
Plugin Version:
2
Plugin Category:
Fun Stuff
Plugin Game:
Left 4 Dead
Plugin Dependencies:
    Servers with this Plugin:
     
    Plugin Description:
    Funny fun sayer thing i made
    Unapprover:
    Reason for Unapproving:
    public cvar reported (sm_cvar), but none exists; author not responding
    Old 07-13-2010 , 11:41   [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!)
    convars:
    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!
    version history:
    1.0:
    -release
    1.1:
    - fixed the whole thing
    - works perfect
    - cleaned up code!
    notes:
    - i tested it and it worked so if it doesnt for you please contact me!
    bugs:
    - at times it may like say the letter one at a time and i tried fixing it but i cant i will later though, but most of the time it works!
    Attached Files
    File Type: sp Get Plugin or Get Source (funsayer.sp - 355 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; 10-01-2010 at 13:09.
    gamemann is offline
    Send a message via Skype™ to gamemann
    sirphr
    Member
    Join Date: Jun 2010
    Location: Florida, USA
    Old 07-19-2010 , 06:58   Re: [l4d2]fun sayer(version = 1)
    Reply With Quote #2

    Your plugin works but the text does not show. I gives me a little Hint box but its blank.
    __________________
    sirphr is offline
    Rincewind
    BANNED
    Join Date: Jun 2010
    Location: Switzerland
    Old 07-19-2010 , 07:33   Re: [l4d2]fun sayer(version = 1)
    Reply With Quote #3

    Quote:
    Originally Posted by gamemann View Post
    what txt u get for being pauked on by the boomer
    I'm pretty sure a boomer doesn't pauk on you.
    He rather pukes.
    Rincewind is offline
    ZackWarren
    New Member
    Join Date: Jul 2010
    Old 07-29-2010 , 23:01   Re: [l4d2]fun sayer(version = 1)
    Reply With Quote #4

    Where is the server.cfg?
    ZackWarren is offline
    honorcode23
    BANNED
    Join Date: Mar 2010
    Location: Chile
    Old 07-29-2010 , 23:13   Re: [l4d2]fun sayer(version = 1)
    Reply With Quote #5

    This:
    Code:
    PrintHintText(i, "%s", Ride);
    				decl String:wow[128];
    				GetConVarString(Ride, wow, 128);
    You are printing the hint text without storing the data first, thats why people get blank messages.
    honorcode23 is offline
    sirphr
    Member
    Join Date: Jun 2010
    Location: Florida, USA
    Old 08-07-2010 , 00:38   Re: [l4d2]fun sayer(version = 1)
    Reply With Quote #6

    No update on the blank Hint Messages?
    __________________
    sirphr is offline
    gamemann
    Veteran Member
    Join Date: Sep 2009
    Location: Mullica Hill, New Jersey
    Old 08-07-2010 , 00:44   Re: [l4d2]fun sayer(version = 1)
    Reply With Quote #7

    Quote:
    Originally Posted by Surf3rDud3 View Post
    No update on the blank Hint Messages?
    sorry i have been really busy lately i will get worken on it tomarrow!
    __________________
    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
    Afronanny
    Veteran Member
    Join Date: Aug 2009
    Old 08-23-2010 , 23:11   Re: [l4d2]fun sayer(version = 1)
    Reply With Quote #8

    Use MaxClients, not GetMaxClients()
    Afronanny is offline
    gamemann
    Veteran Member
    Join Date: Sep 2009
    Location: Mullica Hill, New Jersey
    Old 10-01-2010 , 11:04   Re: [l4d2]fun sayer(version = 1)
    Reply With Quote #9

    Quote:
    Originally Posted by honorcode23 View Post
    This:
    Code:
    PrintHintText(i, "%s", Ride);
    				decl String:wow[128];
    				GetConVarString(Ride, wow, 128);
    You are printing the hint text without storing the data first, thats why people get blank messages.
    ok sorry i havent been on so long but now i see what i did wrong, will be fixing that in the next update!
    __________________
    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
    gamemann
    Veteran Member
    Join Date: Sep 2009
    Location: Mullica Hill, New Jersey
    Old 10-01-2010 , 11:33   Re: [l4d2]fun sayer(version = 1)
    Reply With Quote #10

    ok i tried loading the plugin ingame but it doesnt create the cfg and its not working... so i type in the console
    Code:
    sm plugins load funsayer
    so that loaded it but still doesnt work heres what it said:
    Code:
    L 10/01/2010 - 11:28:07: [SM] Displaying call stack trace for plugin "funsayer.smx":
    L 10/01/2010 - 11:28:07: [SM]   [0]  Line 27, B:\Steam\steamapps\common\left 4 dead 2\left4dead2\addons\sourcemod\scripting\funsayer.sp::OnPluginStart()
    [SM] Loaded plugin funsayer.smx successfully.
    What does this mean?



    EDIT:
    fixed now everything is working well not everything new problem...
    Ok it prints the text out but it prints 1 letter at a time like u(20 seconds later) r(20 seconds later) i! Yea its anooying!
    __________________
    Software/network engineer. I often work on a neat project called The Modding Community.

    Check out my GitHub here!

    Last edited by gamemann; 10-01-2010 at 11:47.
    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 13:38.


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