Quote:
Originally Posted by ImACow
That seems to work, but I cannot make it do any damage ?
|
PHP Code:
SetEntPropEnt(entity, Prop_Data, "m_hThrower", client);
SetEntProp(entity, Prop_Data, "m_iTeamNum", GetClientTeam(client));
SetEntPropFloat(entity, Prop_Data, "m_flDamage", 99.0);
SetEntPropFloat(entity, Prop_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.
__________________