Guest Posted May 23, 2008 Posted May 23, 2008 Hello, Im planning on making a roleplay gamemode for MTA:DM I need to exchange some variables between resources (scripts), is this possible or will i have to put everything in one file ?
Guest Posted May 23, 2008 Posted May 23, 2008 Hello, Im planning on making a roleplay gamemode for MTA:DM I need to exchange some variables between resources (scripts), is this possible or will i have to put everything in one file ?
50p Posted May 23, 2008 Posted May 23, 2008 You can use call function to call a function from different resource and send a variable to different resource using it as an argument..
50p Posted May 23, 2008 Posted May 23, 2008 You can use call function to call a function from different resource and send a variable to different resource using it as an argument..
Guest Posted May 23, 2008 Posted May 23, 2008 And the variable that is returned by the function will also be returned to the resource ?
Guest Posted May 23, 2008 Posted May 23, 2008 And the variable that is returned by the function will also be returned to the resource ?
Ace_Gambit Posted May 23, 2008 Posted May 23, 2008 And the variable that is returned by the function will also be returned to the resource ? Yes, it does.
Ace_Gambit Posted May 23, 2008 Posted May 23, 2008 And the variable that is returned by the function will also be returned to the resource ? Yes, it does.
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