Results 1 to 4 of 4

Thread: New Function: onObjectSpawned

  1. #1

    New Function: onObjectSpawned

    Please add in an API function for:

    onObjectSpawned (string object)
    When an item gets spawned in, I want to attach buttons to it via global, and I don't want to set up a looping timer checking for every item on the table.
    Last edited by Knil; 02-03-2017 at 07:45 PM.

  2. #2
    Thread Moved

  3. #3
    Join Date
    May 2016
    You can do this with the callback function of spawnObject. If you're just pulling objects out of a bag or whatnot, you can also just put an onload() function on them which will trigger when they exit the bag.

    Or am I miss-understanding?

  4. #4
    Thanks for adding this in

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts