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

[CSGO] prop_physics_override flashbang


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
Indarello
Senior Member
Join Date: Nov 2015
Location: Russia
Old 08-14-2017 , 02:15   [CSGO] prop_physics_override flashbang
Reply With Quote #1

Code:
int entity = CreateEntityByName("prop_physics_override");
if (IsValidEntity(entity)) 
{
	SetEntityModel(entity, "models/props/de_train/vending/vending_machine_old.mdl");
	SetEntPropEnt(entity, Prop_Send, "m_hOwnerEntity", client);
	SetEntProp(entity, Prop_Data, "m_CollisionGroup", 1);
	SetVariantString("!activator");
	AcceptEntityInput(entity, "SetParent", client);
	DispatchSpawn(entity);
	SetEntityMoveType(entity, MOVETYPE_NONE);
	SetEntPropEnt(entity, Prop_Data, "m_hLastAttacker", client);
	SetEntityRenderMode(entity, RENDER_TRANSCOLOR);
how to make this entity dont protect players from flash?
Indarello 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 10:09.


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