murilo2929 Posted June 29, 2019 Share Posted June 29, 2019 how can I make a resource function work in my other resource, one of the resource is money for the player and the other is a mission, then I would add the function of money in the mission. Link to comment
Moderators Patrick Posted June 29, 2019 Moderators Share Posted June 29, 2019 I don't fully understand what you want, but maybe you're looking for it. https://wiki.multitheftauto.com/wiki/Call Link to comment
murilo2929 Posted June 29, 2019 Author Share Posted June 29, 2019 (edited) On 29/06/2019 at 15:29, stPatrick said: I don't fully understand what you want, but maybe you're looking for it. https://wiki.multitheftauto.com/wiki/Call I want this givemoney function of this resource Code removed i want to put here in this resource, Code removed You can help with that? Edited June 30, 2019 by DNL291 code removed, leaked gm/resource Link to comment
SycroX Posted June 30, 2019 Share Posted June 30, 2019 <export function="giveMoney" type="server" /> add this to the first resource's meta.xml file and then when you want to call it from another resource use exports [ ResourceName ] : giveMoney ( ... ) Link to comment
keymetaphore Posted June 30, 2019 Share Posted June 30, 2019 Hey there folks. This is part of leaked code from the Owlgaming script and no support for it is provided. Cheers. Link to comment
Recommended Posts