Thread
: [Solved]
[L4D2] How to remove melee weapons at the start of the map and safe room
View Single Post
caphao1101
Member
Join Date: Aug 2023
04-12-2024 , 09:36 Re: [L4D2] How to remove melee weapons at the start of the map and safe room
#
4
Quote:
Originally Posted by
Silvers
You should add pos[2] += 5.0 or 10.0 before calling the natives because the updated natives L4D_IsPositionIn* in Left4DHooks require line of sight to the nearest NavArea which on certain maps are blocked by a table etc.
You also need to reset entity to -1 before doing the next while loop in plugin start.
Maybe RemoveEntity is safer to use in these instances.
I don't know what you mentioned but it works fine in my server
caphao1101
View Public Profile
Send a private message to caphao1101
Find More Posts by caphao1101