Posts: 723
Threads: 366
Joined: Jun 2016
Hi,
I have area and i need random coordinate in that area. But i have points where i don't want object will spawn, how to check?
Posts: 723
Threads: 366
Joined: Jun 2016
How to get distancebetweenpoints in 2d?
Posts: 723
Threads: 366
Joined: Jun 2016
I found myself. I create area, i need minx,miny,maxx,maxy, but i make perfect foursquare minx, two coordinates same, so what i need to do? i can use still?
Posts: 723
Threads: 366
Joined: Jun 2016
And if i use while in stock or in function, it will wait until while found, when while end and then return &values?
Posts: 1,208
Threads: 36
Joined: Apr 2015
PHP код:
GetRandomPointInRectangle(Float:minx,Float:miny,Float:maxx,Float:maxy,&Float:tx,&Float:ty);
3DTryg:
https://sampforum.blast.hk/showthread.php?tid=591010
Posts: 723
Threads: 366
Joined: Jun 2016
Yes now i take this. So i can use in this function while?