Posts: 107
Threads: 50
Joined: Dec 2016
Reputation:
0
Is it possible to do pickup weaps that appear in random places in my minigame?
Posts: 1,092
Threads: 4
Joined: Jun 2012
Reputation:
0
You can not generate them completly random, because u dont know the Z-coordinate.
Sure with Map Andreas you could find it, but still then you need a border + check if it is on a roof or in water...etc
So it is easier to go to random places, get the coords, pack it in an array and get with the random function some coords out of the array (but be aware, that r doesnt come twice, you have to check it).
So its not that easy, but possible in both ways.