Jump to content

[HELP]Function


Recommended Posts

Posted

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.

Posted
<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 ( ... )

 

Chillin' with some demons, satans and vamps

Guest
This topic is now closed to further replies.
  • Recently Browsing   0 members

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