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

[CS: Source] Give C4 [Weapon C4 Explosive]


Post New Thread Reply   
 
Thread Tools Display Modes
Author
Enkore
Junior Member
Join Date: Dec 2011
Plugin ID:
2971
Plugin Version:
1.0
Plugin Category:
Fun Stuff
Plugin Game:
Counter-Strike: Source
Plugin Dependencies:
    Servers with this Plugin:
     
    Plugin Description:
    Giving A Player C4
    Old 05-26-2012 , 16:13   [CS: Source] Give C4 [Weapon C4 Explosive]
    Reply With Quote #1

    Dear AlliedModders,

    Today im Gonna Release The Plague : [ Give C4 ]
    Actually, this mod just giving a C4 Bomb.
    It's Necessary For Fun Games, Hosities, and a lot of fun stuff
    This Plague Works Only Fore : Alive Counter-Terroriests
    So they only who can controll the c4 for the terroriest.

    Changelog :
    26/05/2012 - First Release

    Source :
    PHP Code:
    /* Plugin Template generated by Pawn Studio */

    #include <sourcemod>
    #include <sdktools>

    #pragma semicolon 1

    #define CS_TEAM_CT 3

    public Plugin:myinfo 
    {
        
    name "Get C4",
        
    author "Enkore",
        
    description "Give User C4",
        
    version "1.0",
        
    url ""
    }

    public 
    OnPluginStart()
    {
        
    RegConsoleCmd("sm_c4"Command_C4"Giving C4");
    }

    public 
    Action:Command_C4(clientargs)
    {
        if(
    GetClientTeam(client) != CS_TEAM_CT && !IsPlayerAlive(client)) {
            
    PrintToChat(client"\x04[SM]\x01 You Don't Have Access To This Command");
        } else {
            
    GivePlayerItem(client"weapon_c4");
            
    PrintToChat(client"\x04[SM]\x01 You Successfully Gained C4");
        }
        return 
    Plugin_Handled;

    Enjoy, Enkore.

    Attached Files
    File Type: sp Get Plugin or Get Source (GiveWeaponC4.sp - 1135 views - 699 Bytes)

    Last edited by Enkore; 05-26-2012 at 16:20.
    Enkore is offline
    Deathrow Bo Dean
    Senior Member
    Join Date: Sep 2010
    Old 09-13-2015 , 17:22   Re: [CS: Source] Give C4 [Weapon C4 Explosive]
    Reply With Quote #2

    !Enkore, I just installed and tested this Get-C4 plugin. When I say "!sm_c4" the c4 (or bomb) is dropped on the ground in front of me. Now can I as a CT pick it and plant it? I tried to do just that with no luck.
    However, I've been looking everywhere for a plugin that will do just what Your plugin almost does. The only thing that seems to be missing is the ability for a CT to detonate the C-4. But I can say that Your plugin works just as you claim it will. Good Work...DBD

    P.s If You can make the C-4 explode, Your plugin will be a big favorite on many CSS servers.
    Deathrow Bo Dean is offline
    Darkness_
    Veteran Member
    Join Date: Nov 2014
    Old 09-13-2015 , 17:24   Re: [CS: Source] Give C4 [Weapon C4 Explosive]
    Reply With Quote #3

    Quote:
    Originally Posted by Deathrow Bo Dean View Post
    !Enkore, I just installed and tested this Get-C4 plugin. When I say "!sm_c4" the c4 (or bomb) is dropped on the ground in front of me. Now can I as a CT pick it and plant it? I tried to do just that with no luck.
    However, I've been looking everywhere for a plugin that will do just what Your plugin almost does. The only thing that seems to be missing is the ability for a CT to detonate the C-4. But I can say that Your plugin works just as you claim it will. Good Work...DBD

    P.s If You can make the C-4 explode, Your plugin will be a big favorite on many CSS servers.
    He posted this plugin over 3 years ago. I doubt he will see your request.
    Darkness_ is offline
    Deathrow Bo Dean
    Senior Member
    Join Date: Sep 2010
    Old 09-13-2015 , 17:35   Re: [CS: Source] Give C4 [Weapon C4 Explosive]
    Reply With Quote #4

    Yes I'm aware of that. But I hope someone out there who can program, may take a look at the code and create or with the correct permissions make the c-4 in this plugin explode or create a plugin that will do what i wish. It seems that I have 1/2 of what i'd like. There must be a command to detonate a bomb that's gets dropped on a map by a player.
    Thank's for Your quick reply Darkness.. DBD
    "Never Give Up Never Surrender"
    Deathrow Bo Dean 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 19:46.


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