View Single Post
Kailo
Senior Member
Join Date: Sep 2014
Location: Moscow, Russia
Old 04-25-2019 , 16:33   Re: Teleporting Player Check "Non-Stuck"
Reply With Quote #2

Quick answer for this. Use Hull Trace for this. Unfortunately, there is no wiki page for this. But you can easly to search it. https://sm.alliedmods.net/new-api/sdktools_trace
Players mins {-16.0, -16.0, 0.0} maxs {16.0, 16.0, 72.0}.
Tip: if your coordinate is a floor - add +1.0 for Z axis (for sure, that player does not stuck at ground)
Kailo is offline