Raised This Month: $ Target: $400
 0% 

[CS:GO] Spawning a working grenade (smoke/he/molotov/inc)


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Deathknife
Senior Member
Join Date: Aug 2014
Old 11-05-2016 , 13:03   Re: [CS:GO] Spawning a working grenade (smoke/he/molotov/inc)
Reply With Quote #16

Quote:
Originally Posted by ImACow View Post
That seems to work, but I cannot make it do any damage ?
PHP Code:
SetEntPropEnt(entityProp_Data"m_hThrower"client);
SetEntProp(entityProp_Data"m_iTeamNum"GetClientTeam(client));
SetEntPropFloat(entityProp_Data"m_flDamage"99.0);
SetEntPropFloat(entityProp_Data"m_DmgRadius"350.0); 
The damage & radius are the default ones(it seems atleast) for HE grenade. If you don't set Thrower and team(dont know which one exactly is responsible) it will do dmg to both teams.
__________________
Deathknife 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 13:14.


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