This site is a testing version, but all data is shared with the live forum.


Raised This Month: $ Target: $400
 0% 

[CS:GO] Solid Entity for Everything


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
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
 



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 00:09.


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