Salam_Dadash Posted March 18, 2021 Posted March 18, 2021 Hi. I Want to make a gamemode but I Don't know exactly whether to use Exports or TriggerEvent , which is better ? I Mean to transfer Data or functions within a script to another script.
Hydra Posted March 18, 2021 Posted March 18, 2021 Imo you can use both. Social Media: Discord: Gabriel45#6859 Instagram: https://www.instagram.com/_gabriel_455/ YouTube: Hydra45 (https://www.youtube.com/c/Hydra45/)
Salam_Dadash Posted March 18, 2021 Author Posted March 18, 2021 Carefree man I Mean which one is better ? which one can prevent memory leak ? can u understand this ?
Moderators xLive Posted March 18, 2021 Moderators Posted March 18, 2021 Exports and events are different things - Exports to call a function from a specific resource - TriggerEvent to trigger an event and any resource can add this event to use it 1 hour ago, Salam_Dadash said: which one can prevent memory leak ? None of them, the only way to avoid memory leaks to release things when you no longer need it. 1 [REL] Vehicle Cannon [SHOW] Piano - Max Payne 3 GitHub
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