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

[L4D2]Knife Shoot


Post New Thread Reply   
 
Thread Tools Display Modes
Author
AK978
Senior Member
Join Date: Jun 2018
Plugin ID:
6155
Plugin Version:
1.4
Plugin Category:
Fun Stuff
Plugin Game:
Left 4 Dead
Plugin Dependencies:
    Servers with this Plugin:
     
    Plugin Description:
    [L4D2]Knife Shoot
    Old 06-07-2018 , 13:09   [L4D2]Knife Shoot
    Reply With Quote #1

    Google translation.

    Use this plugin to modify
    https://forums.alliedmods.net/showthread.php?p=2260980

    you must have knife plugins.
    https://forums.alliedmods.net/showthread.php?p=1709049



    Description:
    You need have a cs knife. After performing the pushing action, a laser beam and target point will explode and then re-given the new knife.


    ConVar:
    sm_knife_give_time "2.0" //knife give time.

    version:
    1.0 new plugins
    1.1 Code optimization
    1.2 Code optimization
    1.3 Code optimization
    1.4 add ConVar
    1.5 Invalid entity fix


    My plugins

    贊助網址 Donation URL
    https://pay.ecpay.com.tw/CreditPayme...=3050613&Enn=e
    Attached Files
    File Type: sp Get Plugin or Get Source (knifeshoot.sp - 813 views - 4.9 KB)

    Last edited by AK978; 03-24-2019 at 03:20.
    AK978 is offline
    BlackSabbarh
    Senior Member
    Join Date: Sep 2018
    Old 03-03-2019 , 13:57   Re: [l4d2]knife shoot
    Reply With Quote #2

    could add a cvars to remove the friend damage that causes
    BlackSabbarh is offline
    AK978
    Senior Member
    Join Date: Jun 2018
    Old 03-03-2019 , 17:09   Re: [l4d2]knife shoot
    Reply With Quote #3

    you need test.

    sm_friendly_enable 0/1

    Last edited by AK978; 03-23-2019 at 23:52.
    AK978 is offline
    BlackSabbarh
    Senior Member
    Join Date: Sep 2018
    Old 03-03-2019 , 22:32   Re: [l4d2]knife shoot
    Reply With Quote #4

    If you are working, I only throw 3 errors when compiling

    knifeshoot2.sp(55) : warning 213: tag mismatch
    knifeshoot2.sp(7 : warning 213: tag mismatch
    knifeshoot2.sp(125) : warning 213: tag mismatch
    Code size: 10432 bytes
    Data size: 3500 bytes
    Stack/heap size: 16384 bytes
    Total requirements: 30316 bytes

    3 Warnings.
    BlackSabbarh is offline
    AK978
    Senior Member
    Join Date: Jun 2018
    Old 03-03-2019 , 22:44   Re: [l4d2]knife shoot
    Reply With Quote #5

    The reason for the decimal point.

    Last edited by AK978; 03-23-2019 at 23:52.
    AK978 is offline
    Marttt
    Veteran Member
    Join Date: Jan 2019
    Location: Brazil
    Old 03-04-2019 , 10:22   Re: [l4d2]knife shoot
    Reply With Quote #6

    Nice plugin,

    Some suggestons:

    1) You should post the ".smx" file as well, since the "Get Plugin" will give this error:
    Plugin failed to compile! Please try contacting the author.

    2) Mention in the main post that it uses the #include <colors> (colors.inc) as a prereq to compile.

    3) Ajust the CreateTimer(0.0...) code, since according to the wiki:
    Quote:
    The smallest possible interval is 0.1 seconds.
    4) Create a convar to control the second timer.

    5) I didn't need the first link on main post to modify.

    Last edited by Marttt; 03-04-2019 at 10:24.
    Marttt is offline
    AK978
    Senior Member
    Join Date: Jun 2018
    Old 03-04-2019 , 10:39   Re: [l4d2]knife shoot
    Reply With Quote #7

    5???

    tks~
    change ok.
    version 1.4.

    Last edited by AK978; 03-04-2019 at 10:40.
    AK978 is offline
    Marttt
    Veteran Member
    Join Date: Jan 2019
    Location: Brazil
    Old 03-04-2019 , 11:07   Re: [l4d2]knife shoot
    Reply With Quote #8

    Yes, this link does not appear to be useful

    Main post:
    Marttt is offline
    AK978
    Senior Member
    Join Date: Jun 2018
    Old 03-04-2019 , 11:14   Re: [l4d2]knife shoot
    Reply With Quote #9

    [L4D2] ACE Inspire

    My link is valid.
    AK978 is offline
    BlackSabbarh
    Senior Member
    Join Date: Sep 2018
    Old 03-05-2019 , 00:46   Re: [l4d2]knife shoot
    Reply With Quote #10

    Working without errors thanks. the plugin l4d2_ammo_light.smx you are the creator?
    BlackSabbarh 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 08:20.


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