• STOOL Spawn limit?
    1 replies, posted
In the lua file, how do I limit the spawner to only spawn 1 entity?
When something is spawned, set a variable to the entity spawned. Before spawning, check the variable to see if anything was spawned before, and also if the entity is still valid/exists (might have been deleted by something else). If something was spawned, don't do anything, else spawn.
Sorry, you need to Log In to post a reply to this thread.