Raised This Month: $51 Target: $400
 12% 

[CS:GO] Solid Entity for Everything


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
Pavelas
Junior Member
Join Date: Oct 2016
Old 11-06-2017 , 17:36   [CS:GO] Solid Entity for Everything
Reply With Quote #1

Hello guys,

I have a problem with creating entities and make them solid for everything (Players, Guns, C4, etc...)

PHP Code:
#define MODEL_PATH "models/props_wasteland/exterior_fence002e.mdl"

int entity CreateEntityByName("prop_dynamic");

SetEntityModel(entityMODEL_PATH);
SetEntProp(entityProp_Send"m_nSolidType"6);

TeleportEntity(entityoriginangleNULL_VECTOR);
Entity_SetGlobalName(entityname); 
Using this code I have a solid wall - players are not able to move through it. However, players still able to drop weapons and C4 through it.

Is it possible to fix it somehow?
Pavelas is offline
Facksy
Senior Member
Join Date: Apr 2017
Location: +2+2
Old 11-06-2017 , 18:40   Re: [CS:GO] Solid Entity for Everything
Reply With Quote #2

Try this:

DispatchKeyValue(entity, "solid", 6);
Facksy is offline
Pavelas
Junior Member
Join Date: Oct 2016
Old 11-06-2017 , 21:10   Re: [CS:GO] Solid Entity for Everything
Reply With Quote #3

Tried with this function. Same problem.
Pavelas is offline
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 03:15.


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