Raised This Month: $ Target: $400
 0% 

Players to receive a HE grenade and clip refiling when make a headshot


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
GlobalPlague
Senior Member
Join Date: Feb 2016
Location: Pluto
Old 09-23-2023 , 17:25   Re: Players to receive a HE grenade and clip refiling when make a headshot
Reply With Quote #3

Quote:
Originally Posted by mlibre View Post
  • there is a cvar to give the grenade automatically to T or CT
  • to get it when shooting the head, you can hook this

    PHP Code:
    public client_death(idvictimweaponhitplace)    //->id=attacker
    {
        if( !
    id || victim == id || !is_user_connected(id) ) 
            return
        
        if(
    hitplace == HIT_HEAD
            
    give_item(id"weapon_hegrenade")

What is this game.cfg file? I don't see it in the directory of the CSDM mod i use.
GlobalPlague is offline
 



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 10:24.


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