'LinKin Posted August 14, 2014 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. Need a clanwar script? Click here! Do you want some free scripts for your DD server? Visit my website.
Bonsai Posted August 14, 2014 Posted August 14, 2014 Isn't it faster to try? https://wiki.multitheftauto.com/index.ph ... ource:Race
'LinKin Posted August 14, 2014 Author 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? Need a clanwar script? Click here! Do you want some free scripts for your DD server? Visit my website.
Max+ Posted August 14, 2014 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 - New , Kill System - New, GameMode Intro - Leve / Exp System - New nametag showing style - New , Hud For Players - Skin Selection from SA-MP - Money System / Buy Weapons - Drop Weapons - New, Flood System - New , Group Assign - Gun license For Weapons - Random Rule System For Money
'LinKin Posted August 14, 2014 Author 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. Need a clanwar script? Click here! Do you want some free scripts for your DD server? Visit my website.
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