Get Nearest (Z coordinate) object
#1

Hi,

Player can edit object. I want that object go down to the nearest object or on ground, for ex if player edit object and makes him coordinate in air.
Reply
#2

I think it's exactly what you're looking for: https://sampwiki.blast.hk/wiki/SetPlayerPosFindZ
Reply
#3

It's for player i need for object.
Reply
#4

https://sampforum.blast.hk/showthread.php?tid=275492
Reply
#5

Can show me how it look there?
Reply
#6

Quote:

native MapAndreas_FindZ_For2DCoord(Float:X, Float:Y, &Float:Z); // return highest Z point (ground level) for the provided X,Y co-ordinate.

https://sampforum.blast.hk/showthread.php?tid=120013

Just read it.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)