mirror of
https://github.com/Jackzmc/sourcemod-plugins.git
synced 2025-05-05 23:03:20 +00:00
Ignore players
This commit is contained in:
parent
48343610e0
commit
693e0761e7
2 changed files with 1 additions and 1 deletions
Binary file not shown.
|
@ -797,7 +797,7 @@ stock bool Filter_NoPlayers(int entity, int mask, int data) {
|
|||
}
|
||||
|
||||
stock bool Filter_IgnorePlayerAndWall(int entity, int mask, int data) {
|
||||
return entity > 0 && entity != data && EntRefToEntIndex(WallBuilder[data].entity) != entity;
|
||||
return entity > MaxClients && entity != data && EntRefToEntIndex(WallBuilder[data].entity) != entity;
|
||||
}
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue