Jump to content

thekoyax123

Members
  • Posts

    9
  • Joined

  • Last visited

Everything posted by thekoyax123

  1. Doesn't matter, I figured out that it's impossible to work the way I want it to. Thanks for the original problem solution anyway
  2. I got this working but now I have another problem. Why isn't the onClientResourceStart event getting triggered when I start one resource from another?
  3. So I want to start a resource from a script but I keep getting the Access denied @ 'startResource' message. I've searched for this all over and haven't found the answer. Some said that I needed to add into the Admin group of acl but as soon as I add anything to acl it gets removed by itself. Any ideas?
  4. Found the problem elsewhere. Seems like I had to use resourceRoot instead of getRootElement() for onClientResourceStart event. Thanks anyway
  5. Thanks, I've got this figured out but now I have a new problem. When I restart one resource the other one gets restarted as well, is there any way to prevent that? Like, I want one resource to keep going while I restart the other one. I don't if it has to do something with the event connection between the two (resource 1 triggers an event from resource 2 at some point). Any ideas? And yeah, I've read the Server Manual on mta wiki, didn't help
  6. So it doesn't matter that the .lua files are at the completely separate folders (resources), the event is added as long as the resource is running and I can trigger it from where ever I want?
  7. Hey, so I need someone to explain me if there is a way to connect one resource with another as in being able to call its functions or trigger its events. On some other thread someone said that I can normally do it with triggerServerEvent or triggerClientEvent but obviously I can't. So is this even possible? If not, how do other servers deal with multiple resources? I mean I'm pretty sure it can be done somehow but I just don't know how. Thanks in advance
×
×
  • Create New...