IsPointInDynamicArea
#1

Hi,

If i have create polygon it don't have z coordinate, so IsPointInDynamicArea z coordinate i can write any number?
Reply
#2

It depends on what values you've put in CreateDynamicPolygon.

Код:
CreateDynamicPolygon(Float:points[], Float:minz = -FLOAT_INFINITY, Float:maxz = FLOAT_INFINITY, maxpoints = sizeof points, worldid = -1, interiorid = -1, playerid = -1);
Your 'minz' and 'maxz' are respectively your minimum and maximum Z coordinate. If your z coordinate falls out of range of those two values, IsPointInDynamicArea will return false.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)