[HELP] Distance from land
#1

Is there any way to check player distance from land ?
Reply
#2

do you mean the map boundaries from -3000,-3000 to 3000,3000 ? or do you want to detect the distance to the closest beach on a river/sea?
its possible to detect a player on land by checking the animation/height (and save that position on a timer/update/command/keypress), and restore the players' position if hes too far away while hes swimming/on z-ccordinates close to 0.0
Reply
#3

I would like to have Z coords of neares solid ground under the position..
https://sampwiki.blast.hk/wiki/SetPlayerPosFindZ - this is the function to port nearest solid ground...

Can I get this coords without port player with this function .. (sry for bad eng)
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)