PHP Code:
new ent = create_entity("info_target")
entity_set_origin(ent, origin)
...
my question is that if spawn 5 or more ents when round start,how to make sure the distance between two ents is more than 500,if distance<500,then make a loop to find another origin to spawn till find a proper one.
thanks in advance.