View Single Post
Silvers
SourceMod Plugin Approver
Join Date: Aug 2010
Location: SpaceX
Old 11-13-2023 , 11:20   Re: [L4D & L4D2] Left 4 DHooks Direct (1.139) [25-Oct-2023]
Reply With Quote #1010

Quote:
Originally Posted by ReCreator View Post
Something weird happend,
Code:
Address area = view_as<Address>(L4D_GetNearestNavArea(vOrigin, 10.0, false, false, true, 2));
This code was working fine for a long time, but now it almost always returns Address_Null.
Probably it's my fault, I made a lot of changes on servers recently. Maybe some one have any ideas?
10.0 is a very small distance to find a nearby NavArea. If someone jumps they'll be too far from a NavArea.
__________________

Last edited by Silvers; 11-13-2023 at 11:20.
Silvers is offline