Jump to content

[HELP] I Need help to write a gamemode


Recommended Posts

  • Scripting Moderators

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.

  • Thanks 1
Link to comment

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...