'LinKin Posted August 14, 2014 Share Posted August 14, 2014 Hello, When using these two events server-side, do I need to add them like this? addEventHandler(evName, true) ? Or simply addEventHandler(evName) Also, a small off-topic note: They changed luac.multitheftauto.com Encryption option to Extra Obfuscation; Why? Thanks. Link to comment
Bonsai Posted August 14, 2014 Share Posted August 14, 2014 Isn't it faster to try? https://wiki.multitheftauto.com/index.ph ... ource:Race Link to comment
'LinKin Posted August 14, 2014 Author Share Posted August 14, 2014 I tried, it worked adding the 2nd argument to true, But why? Isn't that argument for enabling the event being triggered from client to server and viceversa? Link to comment
Max+ Posted August 14, 2014 Share Posted August 14, 2014 Hello,When using these two events server-side, do I need to add them like this? addEventHandler(evName, true) ? Or simply addEventHandler(evName) Also, a small off-topic note: They changed luac.multitheftauto.com Encryption option to Extra Obfuscation; Why? Thanks. Hello , if it's a custom event you need to do it like this , addEvent('Linkin', true) addEventHandler('Linkin', root, function ( ) ---- if it's an mta function like onPlayerChat, onPlayerJoin ... etc no need , about the Encryption they added Extra because Obfuscation it's hard to decompile Link to comment
'LinKin Posted August 14, 2014 Author Share Posted August 14, 2014 Yeah Max, I know that, but look at the post that I made before yours. addEvent from Wiki: allowRemoteTrigger: A boolean specifying whether this event can be called remotely using triggerClientEvent / triggerServerEvent or not. So onMapStarting would be being triggered from client?.. Kinda wierd. 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