Raised This Month: $ Target: $400
 0% 

[REQ] Block starting Pistols


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
RhAxor
Member
Join Date: Jan 2014
Old 10-09-2014 , 15:20   [REQ] Block starting Pistols
Reply With Quote #1

I need block starting USP - Glock 18 removed Knife start.
__________________
- 88 -
RhAxor is offline
BaD CopY
Senior Member
Join Date: Oct 2014
Location: Home
Old 10-09-2014 , 15:27   Re: [REQ] Block starting Pistols
Reply With Quote #2

https://forums.alliedmods.net/showthread.php?t=67877
BaD CopY is offline
Send a message via Yahoo to BaD CopY Send a message via Skype™ to BaD CopY
RhAxor
Member
Join Date: Jan 2014
Old 10-09-2014 , 23:33   Re: [REQ] Block starting Pistols
Reply With Quote #3

Quote:
Originally Posted by BaD CopY View Post
I need all round not first round..
__________________
- 88 -
RhAxor is offline
BaD CopY
Senior Member
Join Date: Oct 2014
Location: Home
Old 10-10-2014 , 04:43   Re: [REQ] Block starting Pistols
Reply With Quote #4

PHP Code:
#include <amxmodx>  
#include <hamsandwich>   
#include <fun>   
#include <cstrike>

#define PLUGIN "Block Guns"  
#define VERSION "1.0"  
#define AUTHOR "[BaD CopY" 

public plugin_init() {  
    
register_plugin(PLUGINVERSIONAUTHOR)  
    
RegisterHamHam_Spawn"player""fw_Spawn"true ); 
}

public 
fw_Spawn(id)  

    if( 
is_user_aliveid ) )  
    {
        if(
cs_get_user_team(id) == CS_TEAM_CT)  
        { 
            
strip_user_weaponsid )
            
give_itemid"weapon_knife" )
        }
        else
        {
            
strip_user_weaponsid )  
            
give_item(id"weapon_c4")
            
cs_set_user_plant(id11
            
give_itemid"weapon_knife" 
        }
    }

Not Tested!
BaD CopY is offline
Send a message via Yahoo to BaD CopY Send a message via Skype™ to BaD CopY
BaD CopY
Senior Member
Join Date: Oct 2014
Location: Home
Old 10-10-2014 , 04:48   Re: [REQ] Block starting Pistols
Reply With Quote #5

If you want to remove C4 from the game, remove this:
PHP Code:
give_item(id"weapon_c4")
cs_set_user_plant(id11
BaD CopY is offline
Send a message via Yahoo to BaD CopY Send a message via Skype™ to BaD CopY
wickedd
Veteran Member
Join Date: Nov 2009
Old 10-10-2014 , 07:32   Re: [REQ] Block starting Pistols
Reply With Quote #6

@Bad Copy
Your code is wrong. The plugin will give ALL Terrorist a bomb on every map.
__________________
Just buy the fucking game!!!!
I hate No-Steamers and lazy ass people.
wickedd is offline
NikKOo31
Senior Member
Join Date: May 2013
Location: Home
Old 10-10-2014 , 11:49   Re: [REQ] Block starting Pistols
Reply With Quote #7

PHP Code:
public fw_Spawn(id)  

    if(
is_user_alive(id))
    {
        if(
pev(idpev_weapons) & CSW_C4)
            
engclient_cmd(id"drop""weapon_c4")

        
strip_user_weapons(id)
        
give_item(id"weapon_knife")
    }

*Requires fakemeta
__________________
Hey ^_^
NikKOo31 is offline
RhAxor
Member
Join Date: Jan 2014
Old 10-11-2014 , 05:02   Re: [REQ] Block starting Pistols
Reply With Quote #8

Quote:
Originally Posted by BaD CopY View Post
PHP Code:
#include <amxmodx>  
#include <hamsandwich>   
#include <fun>   
#include <cstrike>

#define PLUGIN "Block Guns"  
#define VERSION "1.0"  
#define AUTHOR "[BaD CopY" 

public plugin_init() {  
    
register_plugin(PLUGINVERSIONAUTHOR)  
    
RegisterHamHam_Spawn"player""fw_Spawn"true ); 
}

public 
fw_Spawn(id)  

    if( 
is_user_aliveid ) )  
    {
        if(
cs_get_user_team(id) == CS_TEAM_CT)  
        { 
            
strip_user_weaponsid )
            
give_itemid"weapon_knife" )
        }
        else
        {
            
strip_user_weaponsid )  
            
give_item(id"weapon_c4")
            
cs_set_user_plant(id11
            
give_itemid"weapon_knife" 
        }
    }

Not Tested!
Thank you mean good work , and ı removed weapon_c4 .
__________________
- 88 -
RhAxor is offline
BaD CopY
Senior Member
Join Date: Oct 2014
Location: Home
Old 10-11-2014 , 05:19   Re: [REQ] Block starting Pistols
Reply With Quote #9

Np
BaD CopY is offline
Send a message via Yahoo to BaD CopY Send a message via Skype™ to BaD CopY
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 17:56.


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