aintaro Posted April 6, 2014 Share Posted April 6, 2014 Hello mta people, How do I check if an event is already running? Thanks, Aintaro Link to comment
Castillo Posted April 6, 2014 Share Posted April 6, 2014 You mean if an event handler is already handled? Link to comment
JR10 Posted April 6, 2014 Share Posted April 6, 2014 What do you mean running? Do you mean handled? If so, check this out: https://wiki.multitheftauto.com/wiki/GetEventHandlers But note that it's from version 1.4. Link to comment
Castillo Posted April 6, 2014 Share Posted April 6, 2014 No, that function already exist in MTA 1.3.5. Link to comment
aintaro Posted April 6, 2014 Author Share Posted April 6, 2014 @solidsnake: yes @jr10 : Oh to bad, i'll have to wait until 1.4 then, is there no cheap fix for it? cuz I hate when the server keeps saying event already running Link to comment
aintaro Posted April 6, 2014 Author Share Posted April 6, 2014 No, that function already exist in MTA 1.3.5. ohh, I think i'm running 1.3 Link to comment
Gallardo9944 Posted April 8, 2014 Share Posted April 8, 2014 You can simply remove the hander and add it again. Or add a variable which specifies if it's handled or not Link to comment
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now