Jump to content

create multiple objects


arielnmz

Recommended Posts

Hello everyone, well, I need help, when I press a [KEY] and object appears and if i am near that object, it disappears... but I cant create more objects until the one that is created disappears (Until the loop ends)... but what I want to do is to create as many objects as I want when I press [KEY], and "control" them individually... like, if I copy-pasted the script 10 times into the cleo folder, but i also need to pass some parameters to the new script...

 

I tried using 004f but it ain't working... and I cant count on arrays (Im short on local vars) Thanks!!!!!

Link to comment
Share on other sites

Use 0A92 instead.

 

Refer to this topic for more info on multiple threads in cleo. wink.gif

 

EDIT

 

A little late but: you're welcome! smile.gif

Edited by Adler
23088_s.gif

Link to comment
Share on other sites

Use the following. I am not able to understand properly what you are trying to say. Maybe you can post the script.

 

Just as Adler said use 0A92.

 

 

0A92: create_custom_thread "ShowTextBox.s"

 

Link to comment
Share on other sites

thanks!! i didnt know that you can pass params to the opcode and that an "s" file is just a cleo with another extension haha thanks!!!!

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • 1 User Currently Viewing
    0 members, 0 Anonymous, 1 Guest

×
×
  • Create New...

Important Information

By using GTAForums.com, you agree to our Terms of Use and Privacy Policy.