Find random coordinates in area
#2

Use this you need

PHP код:
GetRandomPointInCircle(Float:x,Float:y,Float:radius,&Float:tx,&Float:ty);
GetRandomPointInCylinderEx(Float:x,Float:y,Float:minz,Float:maxz,Float:radius,&Float:tx,&Float:ty,&Float:tz);
GetRandomPointInSphere(Float:x,Float:y,Float:z,Float:radius,&Float:tx,&Float:ty,&Float:tz);
GetRandomPointInRectangle(Float:minx,Float:miny,Float:maxx,Float:maxy,&Float:tx,&Float:ty);
GetRandomPointInCube(Float:minx,Float:miny,Float:minz,Float:maxx,Float:maxy,Float:maxz,&Float:tx,&Float:ty,&Float:tz); 
3DTryg:
https://sampforum.blast.hk/showthread.php?tid=591010
Reply


Messages In This Thread
Find random coordinates in area - by MerryDeer - 01.09.2016, 18:32
Re: Find random coordinates in area - by AbyssMorgan - 01.09.2016, 18:43
Re: Find random coordinates in area - by IFilip - 01.09.2016, 18:43

Forum Jump:


Users browsing this thread: 2 Guest(s)