AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Scripting Help (https://forums.alliedmods.net/forumdisplay.php?f=11)
-   -   Help stop c4 go through custom entity (https://forums.alliedmods.net/showthread.php?t=314153)

TudorLaLeagane 02-05-2019 16:34

Help stop c4 go through custom entity
 
I have a plugin that stops people going through a certain area, that area is blocked by an entity, but guns and c4's still go trought.

CODE:
PHP Code:

engfunc(EngFunc_SetOriginiEntflCenter)

        
set_pev(iEntpev_classnameg_szClassname)

        
dllfunc(DLLFunc_SpawniEnt)

        
set_pev(iEntpev_movetypeMOVETYPE_NONE)

        
set_pev(iEntpev_solidSOLID_BBOX)

        
engfunc(EngFunc_SetSizeiEntflMinsflMaxs



All times are GMT -4. The time now is 07:36.

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