• There is NO official Otland's Discord server and NO official Otland's server list. The Otland's Staff does not manage any Discord server or server list. Moderators or administrator of any Discord server or server lists have NO connection to the Otland's Staff. Do not get scammed!
  • 2026 staff recruitment is open! Check it out and consider applying!

Lua Having a problem with my code

Adraxium

New Member
Joined
Jun 18, 2014
Messages
77
Reaction score
2
I wrote a code for slots its works perfectly on my 10.77 ot sever I have it randomize the items in selected area but once someone goes plays another slot the slot im at stops and the other one starts twice as fast, my addevents are stacking on top of each other canceling one out and run the other. Im trying to get both my slots to work at the exact same time with out one getting cancled out for the other one .

Any help is appreciated thank you.
 
Last edited:
Change the function names. Or post the script. Or post your tfs. Or post your console errors. Give us more. Please!
I tryed to changed the functions name and they are still over lapping :(

Any other thoughts on why they are still over lapping ??

Any thoughts would really help out :)
I can't figure this out for the life of me :(
 
Last edited by a moderator:
My TFS is 1.1
Edit:
The code is an onuse action script using
addEvent (Row1, 10000)
It returns no console errors
So the addEvent from the first use is still active while the second onuse is pressed (since there's two levers with different actionid's) and when pressing it the second time resets all variables to the actionid of the new one
 
Last edited:
Back
Top