From b89e739a114c56ffbc5ebc1815d276ca7b1c5eb7 Mon Sep 17 00:00:00 2001 From: gsd Date: Wed, 6 Mar 2024 18:21:31 +0300 Subject: [PATCH] all pipes to delete --- PipeRemover/pipe_remover.sp | 6 +++--- plugins/pipe_remover.smx | Bin 3214 -> 3223 bytes 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/PipeRemover/pipe_remover.sp b/PipeRemover/pipe_remover.sp index da31d6b..d795403 100644 --- a/PipeRemover/pipe_remover.sp +++ b/PipeRemover/pipe_remover.sp @@ -2,7 +2,7 @@ #include #include -#define nigga_bomb "tf_projectile_pipe_remote" +#define nigga_bomb "tf_projectile" public Plugin:myinfo = { @@ -14,9 +14,9 @@ public Plugin:myinfo = } public OnEntityCreated (entity, const String:classname[]) { - if(StrEqual(classname, nigga_bomb)) + if(StrContains(classname, nigga_bomb) != -1) { - //PrintToChatAll("%d place pipe", GetEntPropEnt(entity, Prop_Data, "m_hOwnerEntity")); + //PrintToChatAll("%d place %s", GetEntPropEnt(entity, Prop_Data, "m_hOwnerEntity"), classname); SDKHook(entity, SDKHook_Touch, OnPipeTouch); } } diff --git a/plugins/pipe_remover.smx b/plugins/pipe_remover.smx index 1fc1d952536b8717ac038b56b4bf4221ac7f2d78..bf081a745bb84df8d195354ef52f36e73ea5a9b4 100644 GIT binary patch delta 3048 zcmXYt2{=@HAIFbj5@kzcmui$PRLE{Bp=gq9MV3_7P+5jy=G?j5bl)sVHCe{qSRxgM z!i*L~GJ`DHW)#_OW-tw-G4r1LyzhCQ&-r|x-}yfO-~Tz8szg=L(eb=HOiYZp69919 z0H7!U0N|q-^!mT$WdL9slt*O&;Gq-%Kt14w3IObdjDSdovIXQl5Fend0a*uv1?6cN z02o2}tvUcGLudZm8-)sIAv-{5YXTr}3JMn>LNx)v2C^SSIh1!pj(})}av)?ZgbK7J z6Y?DhGL)emKsE#w$`%p;Pyl7#egKgF_dCQkB(wx_J%m1#iy*f{bVIoTveDISVIK(I z^zcS>vBy)15)@O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